Changeset 3130098
- Timestamp:
- 08/02/2024 02:52:34 PM (20 months ago)
- Location:
- jmitch-tinylytics
- Files:
-
- 8 edited
- 15 copied
-
assets/banner-1544x500.png (modified) (previous)
-
assets/banner-772x250.png (modified) (previous)
-
assets/icon-128x128.png (modified) (previous)
-
assets/icon-256x256.png (modified) (previous)
-
assets/screenshot-1.png (modified) (previous)
-
assets/screenshot-2.png (modified) (previous)
-
tags/1.1.2 (copied) (copied from jmitch-tinylytics/trunk)
-
tags/1.1.2/css (copied) (copied from jmitch-tinylytics/trunk/css)
-
tags/1.1.2/css/style.css (copied) (copied from jmitch-tinylytics/trunk/css/style.css)
-
tags/1.1.2/inc (copied) (copied from jmitch-tinylytics/trunk/inc)
-
tags/1.1.2/inc/admin-settings.php (copied) (copied from jmitch-tinylytics/trunk/inc/admin-settings.php)
-
tags/1.1.2/inc/admin-shortcodes.php (copied) (copied from jmitch-tinylytics/trunk/inc/admin-shortcodes.php)
-
tags/1.1.2/inc/admin-support.php (copied) (copied from jmitch-tinylytics/trunk/inc/admin-support.php)
-
tags/1.1.2/inc/user-shortcodes.php (copied) (copied from jmitch-tinylytics/trunk/inc/user-shortcodes.php)
-
tags/1.1.2/index.php (copied) (copied from jmitch-tinylytics/trunk/index.php)
-
tags/1.1.2/jmitch-tinylytics.php (copied) (copied from jmitch-tinylytics/trunk/jmitch-tinylytics.php) (6 diffs)
-
tags/1.1.2/languages (copied) (copied from jmitch-tinylytics/trunk/languages)
-
tags/1.1.2/languages/jmitch-tinylytics.pot (copied) (copied from jmitch-tinylytics/trunk/languages/jmitch-tinylytics.pot)
-
tags/1.1.2/license.txt (copied) (copied from jmitch-tinylytics/trunk/license.txt)
-
tags/1.1.2/readme.txt (copied) (copied from jmitch-tinylytics/trunk/readme.txt) (3 diffs)
-
tags/1.1.2/uninstall.php (copied) (copied from jmitch-tinylytics/trunk/uninstall.php)
-
trunk/jmitch-tinylytics.php (modified) (6 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
jmitch-tinylytics/tags/1.1.2/jmitch-tinylytics.php
r3066072 r3130098 7 7 * Author: Jim Mitchell 8 8 * Author URI: https://jimmitchell.org 9 * Don tate link: https://donate.stripe.com/9AQ8Ab6Yr8Y67cYdQR9 * Donate link: https://donate.stripe.com/9AQ8Ab6Yr8Y67cYdQR 10 10 * Requires at least: 4.6 11 * Test up to: 6. 512 * Version: 1.1. 111 * Test up to: 6.6.1 12 * Version: 1.1.2 13 13 * Requires PHP: 5.6.20 14 14 * Text Domain: jmitch-tinylytics … … 36 36 if ( ! defined( 'ABSPATH' )) die(); 37 37 38 define( 'TINYLYTICS__VERSION', '1.1. 1' );38 define( 'TINYLYTICS__VERSION', '1.1.2' ); 39 39 40 40 // 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' );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' ); 47 47 48 48 // Register the settings … … 215 215 function jmitch_tinylytics_add_menu_page() { 216 216 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 ); 218 218 219 219 } … … 358 358 return $loaded; 359 359 } 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/' ); 361 361 } 362 362 } … … 367 367 // *** Session management 368 368 function jmitch_tinylytics_start_session() { 369 if(!session_id()) { 369 370 if( !session_id() ) { 370 371 session_start( ['read_and_close' => true,] ); 371 372 } … … 373 374 $_SESSION[ 'isAdmin' ] = true; 374 375 } 376 375 377 } 376 378 function 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 382 386 include plugin_dir_path( __FILE__ ) . '/inc/user-shortcodes.php'; -
jmitch-tinylytics/tags/1.1.2/readme.txt
r3066072 r3130098 9 9 Donate link: https://donate.stripe.com/9AQ8Ab6Yr8Y67cYdQR 10 10 Requires at least: 4.6 11 Tested up to: 6. 512 Stable tag: 1.1. 113 Version: 1.1. 111 Tested up to: 6.6.1 12 Stable tag: 1.1.2 13 Version: 1.1.2 14 14 Requires PHP: 5.6.20 15 15 Text Domain: jmitch-tinylytics … … 128 128 == Upgrade Notice == 129 129 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/). 130 To 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/). 135 131 136 132 … … 141 137 142 138 If 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. 143 144 144 145 **Version 1.1.1 (04-06-2024)** -
jmitch-tinylytics/trunk/jmitch-tinylytics.php
r3066072 r3130098 7 7 * Author: Jim Mitchell 8 8 * Author URI: https://jimmitchell.org 9 * Don tate link: https://donate.stripe.com/9AQ8Ab6Yr8Y67cYdQR9 * Donate link: https://donate.stripe.com/9AQ8Ab6Yr8Y67cYdQR 10 10 * Requires at least: 4.6 11 * Test up to: 6. 512 * Version: 1.1. 111 * Test up to: 6.6.1 12 * Version: 1.1.2 13 13 * Requires PHP: 5.6.20 14 14 * Text Domain: jmitch-tinylytics … … 36 36 if ( ! defined( 'ABSPATH' )) die(); 37 37 38 define( 'TINYLYTICS__VERSION', '1.1. 1' );38 define( 'TINYLYTICS__VERSION', '1.1.2' ); 39 39 40 40 // 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' );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' ); 47 47 48 48 // Register the settings … … 215 215 function jmitch_tinylytics_add_menu_page() { 216 216 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 ); 218 218 219 219 } … … 358 358 return $loaded; 359 359 } 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/' ); 361 361 } 362 362 } … … 367 367 // *** Session management 368 368 function jmitch_tinylytics_start_session() { 369 if(!session_id()) { 369 370 if( !session_id() ) { 370 371 session_start( ['read_and_close' => true,] ); 371 372 } … … 373 374 $_SESSION[ 'isAdmin' ] = true; 374 375 } 376 375 377 } 376 378 function 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 382 386 include plugin_dir_path( __FILE__ ) . '/inc/user-shortcodes.php'; -
jmitch-tinylytics/trunk/readme.txt
r3066072 r3130098 9 9 Donate link: https://donate.stripe.com/9AQ8Ab6Yr8Y67cYdQR 10 10 Requires at least: 4.6 11 Tested up to: 6. 512 Stable tag: 1.1. 113 Version: 1.1. 111 Tested up to: 6.6.1 12 Stable tag: 1.1.2 13 Version: 1.1.2 14 14 Requires PHP: 5.6.20 15 15 Text Domain: jmitch-tinylytics … … 128 128 == Upgrade Notice == 129 129 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/). 130 To 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/). 135 131 136 132 … … 141 137 142 138 If 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. 143 144 144 145 **Version 1.1.1 (04-06-2024)**
Note: See TracChangeset
for help on using the changeset viewer.