Changeset 2334674
- Timestamp:
- 07/03/2020 07:48:19 AM (6 years ago)
- Location:
- wha-wordsearch/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
wha-wordsearch.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wha-wordsearch/trunk/readme.txt
r2333957 r2334674 1 1 === Word Search Puzzles game === 2 2 Contributors: webhelpagency 3 Version: 1.1.93 Version: 2.0.0 4 4 Donate link: http://webhelpagency.com/ 5 5 Tags: wordsearch, search, game, crossword, puzzles -
wha-wordsearch/trunk/wha-wordsearch.php
r2333957 r2334674 4 4 * Plugin Name: WHA Wordsearch 5 5 * Description: This is a short description of what the plugin does. It's displayed in the WordPress admin area. 6 * Version: 1.1.96 * Version: 2.0.0 7 7 * Author: WHA 8 8 * Author URI: http://webhelpagency.com/ … … 39 39 } 40 40 41 define('WHAWS_VERSION', ' 1.1.9');41 define('WHAWS_VERSION', '2.0.0'); 42 42 43 43 function whaws_activation() … … 79 79 wp_enqueue_media(); 80 80 81 if (is_a($post, 'WP_Post') && has_shortcode($post->post_content, 'game-wordsearch') || in_array("game-wordsearch", array_keys($shortcode_tags))) { //include scripts/style only on pages with shortcode81 if (is_a($post, 'WP_Post') && has_shortcode($post->post_content, 'game-wordsearch')) { //include scripts/style only on pages with shortcode 82 82 83 83 wp_enqueue_style('wha-wordsearch-style', plugins_url('res/wordsearch.css', __FILE__)); … … 165 165 function whaws_game_return($atts) // call wordsearch options on a plugin page 166 166 { 167 168 wp_enqueue_style('wha-wordsearch-style', plugins_url('res/wordsearch.css', __FILE__)); 169 wp_enqueue_script('wha-wordsearch-angular-js', plugins_url('res/libs/angular.min.js', __FILE__), true, true, true); 170 wp_enqueue_script('wha-wordsearch-underscore-js', plugins_url('res/libs/underscore-min.js', __FILE__), true, true, true); 171 wp_enqueue_script('wha-wordsearch-script', plugins_url('res/wordsearch.js', __FILE__), true, true, true); 167 172 168 173 if (!isset($atts['id'])) {
Note: See TracChangeset
for help on using the changeset viewer.