Changeset 3274417
- Timestamp:
- 04/16/2025 09:20:03 AM (10 months ago)
- Location:
- hreflang-manager-lite
- Files:
-
- 8 edited
- 1 copied
-
tags/1.12 (copied) (copied from hreflang-manager-lite/trunk)
-
tags/1.12/admin/class-daexthrmal-admin.php (modified) (2 diffs)
-
tags/1.12/init.php (modified) (1 diff)
-
tags/1.12/readme.txt (modified) (2 diffs)
-
tags/1.12/shared/class-daexthrmal-shared.php (modified) (1 diff)
-
trunk/admin/class-daexthrmal-admin.php (modified) (2 diffs)
-
trunk/init.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/shared/class-daexthrmal-shared.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
hreflang-manager-lite/tags/1.12/admin/class-daexthrmal-admin.php
r3091392 r3274417 77 77 add_action( 'wp_trash_post', array( $this, 'delete_post_connection' ) ); 78 78 79 // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Nonce non-necessary for menu selection. 79 // Require and instantiate the related classes used to handle the menus. 80 add_action( 'init', array( $this, 'handle_menus' ) ); 81 } 82 83 /** 84 * Return an instance of this class. 85 * 86 * @return self|null 87 */ 88 public static function get_instance() { 89 90 if ( null === self::$instance ) { 91 self::$instance = new self(); 92 } 93 94 return self::$instance; 95 } 96 97 /** 98 * If we are in one of the plugin back-end menus require and instantiate the related class used to handle the menu. 99 * 100 * @return void 101 */ 102 public function handle_menus() { 103 104 // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Nonce non-necessary for menu selection. 80 105 $page_query_param = isset( $_GET['page'] ) ? sanitize_key( wp_unslash( $_GET['page'] ) ) : null; 81 106 82 // Require and instantiate the class used to register the menu options.107 // Require and instantiate the class used to handle the current menu. 83 108 if ( null !== $page_query_param ) { 84 109 … … 157 182 } 158 183 } 159 } 160 161 /** 162 * Return an instance of this class. 163 * 164 * @return self|null 165 */ 166 public static function get_instance() { 167 168 if ( null === self::$instance ) { 169 self::$instance = new self(); 170 } 171 172 return self::$instance; 184 173 185 } 174 186 -
hreflang-manager-lite/tags/1.12/init.php
r3199299 r3274417 3 3 * Plugin Name: Hreflang Manager 4 4 * Description: Set language and regional URL for better SEO performance. (Lite Version) 5 * Version: 1.1 15 * Version: 1.12 6 6 * Author: DAEXT 7 7 * Author URI: https://daext.com -
hreflang-manager-lite/tags/1.12/readme.txt
r3199299 r3274417 4 4 Donate link: https://daext.com 5 5 Requires at least: 4.0 6 Tested up to: 6. 7.16 Tested up to: 6.8 7 7 Requires PHP: 5.2 8 Stable tag: 1.1 18 Stable tag: 1.12 9 9 License: GPLv3 10 10 … … 64 64 65 65 == Changelog == 66 67 = 1.12 = 68 69 *April 16, 2025* 70 71 * Fixed PHP notice caused by early use of translation functions. 66 72 67 73 = 1.11 = -
hreflang-manager-lite/tags/1.12/shared/class-daexthrmal-shared.php
r3199299 r3274417 41 41 42 42 $this->data['slug'] = 'daexthrmal'; 43 $this->data['ver'] = '1.1 1';43 $this->data['ver'] = '1.12'; 44 44 $this->data['dir'] = substr( plugin_dir_path( __FILE__ ), 0, -7 ); 45 45 $this->data['url'] = substr( plugin_dir_url( __FILE__ ), 0, -7 ); -
hreflang-manager-lite/trunk/admin/class-daexthrmal-admin.php
r3091392 r3274417 77 77 add_action( 'wp_trash_post', array( $this, 'delete_post_connection' ) ); 78 78 79 // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Nonce non-necessary for menu selection. 79 // Require and instantiate the related classes used to handle the menus. 80 add_action( 'init', array( $this, 'handle_menus' ) ); 81 } 82 83 /** 84 * Return an instance of this class. 85 * 86 * @return self|null 87 */ 88 public static function get_instance() { 89 90 if ( null === self::$instance ) { 91 self::$instance = new self(); 92 } 93 94 return self::$instance; 95 } 96 97 /** 98 * If we are in one of the plugin back-end menus require and instantiate the related class used to handle the menu. 99 * 100 * @return void 101 */ 102 public function handle_menus() { 103 104 // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Nonce non-necessary for menu selection. 80 105 $page_query_param = isset( $_GET['page'] ) ? sanitize_key( wp_unslash( $_GET['page'] ) ) : null; 81 106 82 // Require and instantiate the class used to register the menu options.107 // Require and instantiate the class used to handle the current menu. 83 108 if ( null !== $page_query_param ) { 84 109 … … 157 182 } 158 183 } 159 } 160 161 /** 162 * Return an instance of this class. 163 * 164 * @return self|null 165 */ 166 public static function get_instance() { 167 168 if ( null === self::$instance ) { 169 self::$instance = new self(); 170 } 171 172 return self::$instance; 184 173 185 } 174 186 -
hreflang-manager-lite/trunk/init.php
r3199299 r3274417 3 3 * Plugin Name: Hreflang Manager 4 4 * Description: Set language and regional URL for better SEO performance. (Lite Version) 5 * Version: 1.1 15 * Version: 1.12 6 6 * Author: DAEXT 7 7 * Author URI: https://daext.com -
hreflang-manager-lite/trunk/readme.txt
r3199299 r3274417 4 4 Donate link: https://daext.com 5 5 Requires at least: 4.0 6 Tested up to: 6. 7.16 Tested up to: 6.8 7 7 Requires PHP: 5.2 8 Stable tag: 1.1 18 Stable tag: 1.12 9 9 License: GPLv3 10 10 … … 64 64 65 65 == Changelog == 66 67 = 1.12 = 68 69 *April 16, 2025* 70 71 * Fixed PHP notice caused by early use of translation functions. 66 72 67 73 = 1.11 = -
hreflang-manager-lite/trunk/shared/class-daexthrmal-shared.php
r3199299 r3274417 41 41 42 42 $this->data['slug'] = 'daexthrmal'; 43 $this->data['ver'] = '1.1 1';43 $this->data['ver'] = '1.12'; 44 44 $this->data['dir'] = substr( plugin_dir_path( __FILE__ ), 0, -7 ); 45 45 $this->data['url'] = substr( plugin_dir_url( __FILE__ ), 0, -7 );
Note: See TracChangeset
for help on using the changeset viewer.