Plugin Directory

Changeset 3130098


Ignore:
Timestamp:
08/02/2024 02:52:34 PM (20 months ago)
Author:
jimmitchell
Message:

update tag to v1.1.2 (6.6.1 compatibility)

Location:
jmitch-tinylytics
Files:
8 edited
15 copied

Legend:

Unmodified
Added
Removed
  • jmitch-tinylytics/tags/1.1.2/jmitch-tinylytics.php

    r3066072 r3130098  
    77 * Author: Jim Mitchell
    88 * Author URI: https://jimmitchell.org
    9  * Dontate link: https://donate.stripe.com/9AQ8Ab6Yr8Y67cYdQR
     9 * Donate link: https://donate.stripe.com/9AQ8Ab6Yr8Y67cYdQR
    1010 * Requires at least: 4.6
    11  * Test up to: 6.5
    12  * Version: 1.1.1
     11 * Test up to: 6.6.1
     12 * Version: 1.1.2
    1313 * Requires PHP: 5.6.20
    1414 * Text Domain: jmitch-tinylytics
     
    3636if ( ! defined( 'ABSPATH' )) die();
    3737
    38 define( 'TINYLYTICS__VERSION', '1.1.1' );
     38define( 'TINYLYTICS__VERSION', '1.1.2' );
    3939
    4040// Hook functions into WordPress
    41 add_action( 'init', 'jmitch_tinylytics_start_session', 1 );
    42 add_action( 'init', 'jmitch_tinylytics_load_i18n' );
    43 add_action( 'admin_init', 'jmitch_tinylytics_register_settings' );
    44 add_action( 'admin_menu', 'jmitch_tinylytics_add_menu_page' );
    45 add_action( 'wp_logout', 'jmitch_tinylytics_end_session' );
    46 add_action( 'wp_login', 'jmitch_tinylytics_end_session' );
     41add_action( 'init',         'jmitch_tinylytics_start_session', 1 );
     42add_action( 'init',         'jmitch_tinylytics_load_i18n' );
     43add_action( 'admin_init',   'jmitch_tinylytics_register_settings' );
     44add_action( 'admin_menu',   'jmitch_tinylytics_add_menu_page' );
     45add_action( 'wp_logout',    'jmitch_tinylytics_end_session' );
     46add_action( 'wp_login',     'jmitch_tinylytics_end_session' );
    4747
    4848// Register the settings
     
    215215function jmitch_tinylytics_add_menu_page() {
    216216   
    217     add_menu_page( 'Tinylytics', 'Tinylytics', 'manage_options', 'jmitch-tinylytics', 'jmitch_tinylytics_settings_page', 'dashicons-chart-bar' );
     217    add_menu_page( 'Tinylytics', 'Tinylytics', 'manage_options', 'jmitch-tinylytics', 'jmitch_tinylytics_settings_page', 'dashicons-chart-bar', 89 );
    218218
    219219}
     
    358358            return $loaded;
    359359        } else {
    360             return load_plugin_textdomain( $domain, false, dirname( plugin_basename( __FILE__ ) ) . '/languages/');
     360            return load_plugin_textdomain( $domain, false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
    361361        }
    362362    }
     
    367367// *** Session management
    368368function jmitch_tinylytics_start_session() {
    369     if(!session_id()) {
     369   
     370    if( !session_id() ) {
    370371        session_start( ['read_and_close' => true,] );
    371372    }
     
    373374        $_SESSION[ 'isAdmin' ] = true;
    374375    }
     376   
    375377}
    376378function jmitch_tinylytics_end_session() {
    377     session_destroy ();
    378 }
    379 
    380 
    381 // *** Wordpress shortcodes to use in posts and pages
     379   
     380    session_destroy();
     381   
     382}
     383
     384
     385// *** WordPress shortcodes to use in posts and pages
    382386include plugin_dir_path( __FILE__ ) . '/inc/user-shortcodes.php';
  • jmitch-tinylytics/tags/1.1.2/readme.txt

    r3066072 r3130098  
    99Donate link: https://donate.stripe.com/9AQ8Ab6Yr8Y67cYdQR
    1010Requires at least: 4.6
    11 Tested up to: 6.5
    12 Stable tag: 1.1.1
    13 Version:    1.1.1
     11Tested up to: 6.6.1
     12Stable tag: 1.1.2
     13Version:    1.1.2
    1414Requires PHP: 5.6.20
    1515Text Domain: jmitch-tinylytics
     
    128128== Upgrade Notice ==
    129129
    130 To upgrade Tinylytics, remove the old version and replace with the new version. Or just click "Update" from the Plugins screen and let WordPress do it for you automatically.
    131 
    132 __Note:__ uninstalling the plugin from the WP Plugins screen results in the removal of all settings from the WP database.
    133 
    134 For more information, visit the [Tinylytics Plugin Homepage](https://jimmitchell.org/tinylytics-wp-plugin/).
     130To upgrade Tinylytics, just click "Update" from the Plugins screen and let WordPress do it for you automatically. For more information, visit the [Tinylytics Plugin Homepage](https://jimmitchell.org/tinylytics-wp-plugin/).
    135131
    136132
     
    141137
    142138If you like Tinylytics, please take a moment to [give a 5-star rating](https://wordpress.org/support/plugin/jmitch-tinylytics/reviews/?rate=5#new-post). It helps to keep development and support going strong. Thank you!
     139
     140**Version 1.1.2 (08-02-2024)**
     141
     142* Add menu position order to properly group with other settings menu items.
     143* Update WordPress tested version.
    143144
    144145**Version 1.1.1 (04-06-2024)**
  • jmitch-tinylytics/trunk/jmitch-tinylytics.php

    r3066072 r3130098  
    77 * Author: Jim Mitchell
    88 * Author URI: https://jimmitchell.org
    9  * Dontate link: https://donate.stripe.com/9AQ8Ab6Yr8Y67cYdQR
     9 * Donate link: https://donate.stripe.com/9AQ8Ab6Yr8Y67cYdQR
    1010 * Requires at least: 4.6
    11  * Test up to: 6.5
    12  * Version: 1.1.1
     11 * Test up to: 6.6.1
     12 * Version: 1.1.2
    1313 * Requires PHP: 5.6.20
    1414 * Text Domain: jmitch-tinylytics
     
    3636if ( ! defined( 'ABSPATH' )) die();
    3737
    38 define( 'TINYLYTICS__VERSION', '1.1.1' );
     38define( 'TINYLYTICS__VERSION', '1.1.2' );
    3939
    4040// Hook functions into WordPress
    41 add_action( 'init', 'jmitch_tinylytics_start_session', 1 );
    42 add_action( 'init', 'jmitch_tinylytics_load_i18n' );
    43 add_action( 'admin_init', 'jmitch_tinylytics_register_settings' );
    44 add_action( 'admin_menu', 'jmitch_tinylytics_add_menu_page' );
    45 add_action( 'wp_logout', 'jmitch_tinylytics_end_session' );
    46 add_action( 'wp_login', 'jmitch_tinylytics_end_session' );
     41add_action( 'init',         'jmitch_tinylytics_start_session', 1 );
     42add_action( 'init',         'jmitch_tinylytics_load_i18n' );
     43add_action( 'admin_init',   'jmitch_tinylytics_register_settings' );
     44add_action( 'admin_menu',   'jmitch_tinylytics_add_menu_page' );
     45add_action( 'wp_logout',    'jmitch_tinylytics_end_session' );
     46add_action( 'wp_login',     'jmitch_tinylytics_end_session' );
    4747
    4848// Register the settings
     
    215215function jmitch_tinylytics_add_menu_page() {
    216216   
    217     add_menu_page( 'Tinylytics', 'Tinylytics', 'manage_options', 'jmitch-tinylytics', 'jmitch_tinylytics_settings_page', 'dashicons-chart-bar' );
     217    add_menu_page( 'Tinylytics', 'Tinylytics', 'manage_options', 'jmitch-tinylytics', 'jmitch_tinylytics_settings_page', 'dashicons-chart-bar', 89 );
    218218
    219219}
     
    358358            return $loaded;
    359359        } else {
    360             return load_plugin_textdomain( $domain, false, dirname( plugin_basename( __FILE__ ) ) . '/languages/');
     360            return load_plugin_textdomain( $domain, false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
    361361        }
    362362    }
     
    367367// *** Session management
    368368function jmitch_tinylytics_start_session() {
    369     if(!session_id()) {
     369   
     370    if( !session_id() ) {
    370371        session_start( ['read_and_close' => true,] );
    371372    }
     
    373374        $_SESSION[ 'isAdmin' ] = true;
    374375    }
     376   
    375377}
    376378function jmitch_tinylytics_end_session() {
    377     session_destroy ();
    378 }
    379 
    380 
    381 // *** Wordpress shortcodes to use in posts and pages
     379   
     380    session_destroy();
     381   
     382}
     383
     384
     385// *** WordPress shortcodes to use in posts and pages
    382386include plugin_dir_path( __FILE__ ) . '/inc/user-shortcodes.php';
  • jmitch-tinylytics/trunk/readme.txt

    r3066072 r3130098  
    99Donate link: https://donate.stripe.com/9AQ8Ab6Yr8Y67cYdQR
    1010Requires at least: 4.6
    11 Tested up to: 6.5
    12 Stable tag: 1.1.1
    13 Version:    1.1.1
     11Tested up to: 6.6.1
     12Stable tag: 1.1.2
     13Version:    1.1.2
    1414Requires PHP: 5.6.20
    1515Text Domain: jmitch-tinylytics
     
    128128== Upgrade Notice ==
    129129
    130 To upgrade Tinylytics, remove the old version and replace with the new version. Or just click "Update" from the Plugins screen and let WordPress do it for you automatically.
    131 
    132 __Note:__ uninstalling the plugin from the WP Plugins screen results in the removal of all settings from the WP database.
    133 
    134 For more information, visit the [Tinylytics Plugin Homepage](https://jimmitchell.org/tinylytics-wp-plugin/).
     130To upgrade Tinylytics, just click "Update" from the Plugins screen and let WordPress do it for you automatically. For more information, visit the [Tinylytics Plugin Homepage](https://jimmitchell.org/tinylytics-wp-plugin/).
    135131
    136132
     
    141137
    142138If you like Tinylytics, please take a moment to [give a 5-star rating](https://wordpress.org/support/plugin/jmitch-tinylytics/reviews/?rate=5#new-post). It helps to keep development and support going strong. Thank you!
     139
     140**Version 1.1.2 (08-02-2024)**
     141
     142* Add menu position order to properly group with other settings menu items.
     143* Update WordPress tested version.
    143144
    144145**Version 1.1.1 (04-06-2024)**
Note: See TracChangeset for help on using the changeset viewer.