Changeset 3349012
- Timestamp:
- 08/23/2025 03:22:54 PM (7 months ago)
- Location:
- golf-scores/trunk
- Files:
-
- 2 added
- 3 edited
-
assets/icon-128x128.jpg (added)
-
assets/icon-256x256.jpg (added)
-
functions.php (modified) (1 diff)
-
golfScores.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
golf-scores/trunk/functions.php
r3348999 r3349012 384 384 // bring in jquery for date picker 385 385 386 add_action('wp_enqueue_scripts', ' load_my_scripts');387 388 function load_my_scripts()386 add_action('wp_enqueue_scripts', 'golf_scores_load_scripts'); 387 388 function golf_scores_load_scripts() 389 389 { 390 390 //wp_enqueue_script( 'jquery-ui-datepicker' ); -
golf-scores/trunk/golfScores.php
r3348999 r3349012 5 5 Description: Golf tracker for Wordpress which tracks one selected WordPress user's golf rounds, dates, gross and net scores as well as comments on each round. Scores can be entered/edited in the WordPress admin as well as within a widget. Front end widget display is customizable via administrative settings. Widget may also be displayed in a WP page or post via shortcode, but it is not recommended to show the widget and shortcoded page/post at the same time. 6 6 Author: Tony Korologos 7 Version: 1.2 7 Version: 1.2.1 8 8 Author URI: http://www.hookedongolfblog.com 9 9 */ … … 52 52 // this section allows us to put the widget on a PAGE with a short code 53 53 54 function widget($atts)54 function golf_scores_widget($atts) 55 55 { 56 56 … … 89 89 90 90 } 91 add_shortcode('widget', ' widget');91 add_shortcode('widget', 'golf_scores_widget'); 92 92 93 93 // end of page insert stuff -
golf-scores/trunk/readme.txt
r3349005 r3349012 6 6 Tested up to: 6.8.2 7 7 Requires PHP: 7.4 8 Stable tag: 1.2 8 Stable tag: 1.2.1 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 36 36 37 37 == Changelog == 38 39 = 1.2.1 = 40 * Fixed function name conflicts with other plugins 41 * Renamed widget() function to golf_scores_widget() to prevent redeclaration errors 42 * Renamed load_my_scripts() function to golf_scores_load_scripts() to prevent conflicts 43 * Improved plugin compatibility with other WordPress plugins 38 44 39 45 = 1.2 = 2025
Note: See TracChangeset
for help on using the changeset viewer.