Plugin Directory

Changeset 3349012


Ignore:
Timestamp:
08/23/2025 03:22:54 PM (7 months ago)
Author:
TKServer
Message:

Update to 1.2.0

Location:
golf-scores/trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • golf-scores/trunk/functions.php

    r3348999 r3349012  
    384384// bring in jquery for date picker
    385385
    386 add_action('wp_enqueue_scripts', 'load_my_scripts');
    387 
    388 function load_my_scripts()
     386add_action('wp_enqueue_scripts', 'golf_scores_load_scripts');
     387
     388function golf_scores_load_scripts()
    389389{
    390390    //wp_enqueue_script( 'jquery-ui-datepicker' );   
  • golf-scores/trunk/golfScores.php

    r3348999 r3349012  
    55Description: 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.
    66Author: Tony Korologos
    7 Version: 1.2
     7Version: 1.2.1
    88Author URI: http://www.hookedongolfblog.com
    99*/
     
    5252// this section allows us to put the widget on a PAGE with a short code
    5353
    54 function widget($atts)
     54function golf_scores_widget($atts)
    5555{
    5656
     
    8989
    9090}
    91 add_shortcode('widget', 'widget');
     91add_shortcode('widget', 'golf_scores_widget');
    9292
    9393// end of page insert stuff
  • golf-scores/trunk/readme.txt

    r3349005 r3349012  
    66Tested up to: 6.8.2
    77Requires PHP: 7.4
    8 Stable tag: 1.2
     8Stable tag: 1.2.1
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3636
    3737== 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
    3844
    3945= 1.2 = 2025
Note: See TracChangeset for help on using the changeset viewer.