Changeset 3374955
- Timestamp:
- 10/08/2025 09:54:40 AM (2 months ago)
- Location:
- seo-by-rank-math
- Files:
-
- 26 edited
- 1 copied
-
tags/1.0.255 (copied) (copied from seo-by-rank-math/trunk)
-
tags/1.0.255/includes/admin/class-admin-menu.php (modified) (1 diff)
-
tags/1.0.255/includes/admin/class-admin.php (modified) (1 diff)
-
tags/1.0.255/includes/admin/class-assets.php (modified) (1 diff)
-
tags/1.0.255/includes/admin/class-notices.php (modified) (1 diff)
-
tags/1.0.255/languages/rank-math.pot (modified) (4 diffs)
-
tags/1.0.255/rank-math.php (modified) (2 diffs)
-
tags/1.0.255/readme.txt (modified) (2 diffs)
-
tags/1.0.255/vendor/autoload.php (modified) (1 diff)
-
tags/1.0.255/vendor/composer/autoload_real.php (modified) (3 diffs)
-
tags/1.0.255/vendor/composer/autoload_static.php (modified) (2 diffs)
-
tags/1.0.255/vendor/composer/installed.json (modified) (3 diffs)
-
tags/1.0.255/vendor/composer/installed.php (modified) (3 diffs)
-
tags/1.0.255/vendor/wp-media/wp-mixpanel/src/Tracking.php (modified) (2 diffs)
-
trunk/includes/admin/class-admin-menu.php (modified) (1 diff)
-
trunk/includes/admin/class-admin.php (modified) (1 diff)
-
trunk/includes/admin/class-assets.php (modified) (1 diff)
-
trunk/includes/admin/class-notices.php (modified) (1 diff)
-
trunk/languages/rank-math.pot (modified) (4 diffs)
-
trunk/rank-math.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/vendor/autoload.php (modified) (1 diff)
-
trunk/vendor/composer/autoload_real.php (modified) (3 diffs)
-
trunk/vendor/composer/autoload_static.php (modified) (2 diffs)
-
trunk/vendor/composer/installed.json (modified) (3 diffs)
-
trunk/vendor/composer/installed.php (modified) (3 diffs)
-
trunk/vendor/wp-media/wp-mixpanel/src/Tracking.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
seo-by-rank-math/tags/1.0.255/includes/admin/class-admin-menu.php
r3363126 r3374955 261 261 $current_date = new \DateTime( 'now', $timezone ); 262 262 $dates = [ 263 'halloween' => [ 264 'start' => '2025-10-29', 265 'end' => '2025-11-05', 266 'text' => esc_html__( 'Halloween Sale', 'rank-math' ), 267 ], 268 'anniversary' => [ 269 'start' => '2025-11-05', 270 'end' => '2025-11-12', 271 'text' => esc_html__( 'Anniversary Sale', 'rank-math' ), 272 ], 273 'black-friday' => [ 274 'start' => '2025-11-12', 275 'end' => '2025-11-29', 276 'text' => esc_html__( 'Black Friday Sale', 'rank-math' ), 277 ], 278 'cyber-monday' => [ 279 'start' => '2025-11-29', 280 'end' => '2025-12-03', 281 'text' => esc_html__( 'Cyber Monday Sale', 'rank-math' ), 282 ], 263 283 'christmas' => [ 264 'start' => '202 3-12-17',265 'end' => '202 3-12-26',284 'start' => '2025-12-24', 285 'end' => '2025-12-31', 266 286 'text' => esc_html__( 'Christmas Sale', 'rank-math' ), 267 287 ], 268 288 'new-year' => [ 269 'start' => '202 3-12-31',270 'end' => '202 4-01-05',289 'start' => '2025-12-31', 290 'end' => '2026-01-07', 271 291 'text' => esc_html__( 'New Year Sale', 'rank-math' ), 272 ],273 'anniversary' => [274 'start' => '2024-11-06',275 'end' => '2024-11-13',276 'text' => esc_html__( 'Anniversary Sale', 'rank-math' ),277 ],278 'black-friday' => [279 'start' => '2024-11-27',280 'end' => '2024-12-01',281 'text' => esc_html__( 'Black Friday Sale', 'rank-math' ),282 ],283 'cyber-monday' => [284 'start' => '2024-12-02',285 'end' => '2024-12-04',286 'text' => esc_html__( 'Cyber Monday Sale', 'rank-math' ),287 292 ], 288 293 ]; -
seo-by-rank-math/tags/1.0.255/includes/admin/class-admin.php
r3349482 r3374955 489 489 // Holiday Season related variables. 490 490 $time = time(); 491 $current_year = 202 2;492 $anniversary_start_time = gmmktime( 17, 00, 00, 10, 30, $current_year ); // 30Oct.493 $anniversary_end_time = gmmktime( 17, 00, 00, 1 1, 30, $current_year ); // 30 Nov.494 $holiday_start_time = gmmktime( 17, 00, 00, 12, 2 0, $current_year ); // 20 Dec.495 $holiday_end_time = gmmktime( 17, 00, 00, 01, 07, 202 3); // 07 Jan.491 $current_year = 2025; 492 $anniversary_start_time = gmmktime( 17, 00, 00, 10, 29, $current_year ); // 29 Oct. 493 $anniversary_end_time = gmmktime( 17, 00, 00, 12, 03, $current_year ); // 30 Nov. 494 $holiday_start_time = gmmktime( 17, 00, 00, 12, 24, $current_year ); // 20 Dec. 495 $holiday_end_time = gmmktime( 17, 00, 00, 01, 07, 2026 ); // 07 Jan. 496 496 497 497 ob_start(); -
seo-by-rank-math/tags/1.0.255/includes/admin/class-assets.php
r3338914 r3374955 293 293 } );"; 294 294 } 295 296 /**297 * Check if there is an Anniversary offer.298 */299 private function has_offer() {300 if ( ! current_user_can( 'manage_options' ) || defined( 'RANK_MATH_PRO_FILE' ) ) {301 return false;302 }303 304 // Holiday Season related variables.305 $time = time();306 $current_year = 2022;307 $anniversary_start_time = gmmktime( 17, 00, 00, 05, 05, $current_year ); // 30 Oct.308 $anniversary_end_time = gmmktime( 17, 00, 00, 11, 30, $current_year ); // 30 Nov.309 $holiday_start_time = gmmktime( 17, 00, 00, 12, 20, $current_year ); // 20 Dec.310 $holiday_end_time = gmmktime( 17, 00, 00, 01, 07, 2023 ); // 07 Jan.311 312 return ( $time > $anniversary_start_time && $time < $anniversary_end_time ) ||313 ( $time > $holiday_start_time && $time < $holiday_end_time );314 }315 295 } -
seo-by-rank-math/tags/1.0.255/includes/admin/class-notices.php
r3338914 r3374955 44 44 $this->convert_wpml_settings(); 45 45 $this->permalink_changes_warning(); 46 $this->react_settings_ui_notice(); 47 } 48 49 /** 50 * Show a persistent admin notice when the React Settings UI is disabled. 51 * 52 * Adds a dismissible, persistent error when the temporary option to 53 * disable the React-based Settings UI is turned off. The notice is removed 54 * when the React Settings UI is enabled again. 55 * 56 * @since 1.0.255 57 * @return void 58 */ 59 private function react_settings_ui_notice() { 60 // Only relevant for admins in the dashboard context. 61 if ( ! current_user_can( 'manage_options' ) ) { 62 return; 63 } 64 65 $notice_id = 'rank_math_react_settings_ui_disabled'; 66 67 if ( ! Helper::is_react_enabled() ) { 68 $message = sprintf( 69 // Translators: 1: opening anchor tag, 2: closing anchor tag. 70 __( 'The React Settings UI is currently disabled, and the classic settings interface is active. Note: The PHP-based settings interface will be removed in an upcoming release. %1$sEnable the React Settings UI%2$s to switch back.', 'rank-math' ), 71 '<a href="' . esc_url( Helper::get_dashboard_url() ) . '">', 72 '</a>' 73 ); 74 75 Helper::add_notification( 76 $message, 77 [ 78 'type' => 'error', 79 'id' => $notice_id, 80 ] 81 ); 82 return; 83 } 84 85 // React UI is enabled; ensure any prior notice is removed. 86 Helper::remove_notification( $notice_id ); 46 87 } 47 88 -
seo-by-rank-math/tags/1.0.255/languages/rank-math.pot
r3372168 r3374955 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Rank Math SEO 1.0.255 -beta\n"5 "Project-Id-Version: Rank Math SEO 1.0.255\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/seo-by-rank-math\n" 7 7 "Last-Translator: Rank Math <[email protected]>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2025-10-0 3T06:36:24+00:00\n"12 "POT-Creation-Date: 2025-10-08T05:21:11+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.12.0\n" … … 200 200 msgstr "" 201 201 202 msgid "Halloween Sale" 203 msgstr "" 204 205 msgid "Anniversary Sale" 206 msgstr "" 207 208 msgid "Black Friday Sale" 209 msgstr "" 210 211 msgid "Cyber Monday Sale" 212 msgstr "" 213 202 214 msgid "Christmas Sale" 203 215 msgstr "" 204 216 205 217 msgid "New Year Sale" 206 msgstr ""207 208 msgid "Anniversary Sale"209 msgstr ""210 211 msgid "Black Friday Sale"212 msgstr ""213 214 msgid "Cyber Monday Sale"215 218 msgstr "" 216 219 … … 433 436 434 437 msgid "No items found." 438 msgstr "" 439 440 #. Translators: 1: opening anchor tag, 2: closing anchor tag. 441 msgid "The React Settings UI is currently disabled, and the classic settings interface is active. Note: The PHP-based settings interface will be removed in an upcoming release. %1$sEnable the React Settings UI%2$s to switch back." 435 442 msgstr "" 436 443 -
seo-by-rank-math/tags/1.0.255/rank-math.php
r3372168 r3374955 10 10 * @wordpress-plugin 11 11 * Plugin Name: Rank Math SEO 12 * Version: 1.0.255 -beta12 * Version: 1.0.255 13 13 * Plugin URI: https://rankmath.com/ 14 14 * Description: Rank Math SEO is the Best WordPress SEO plugin with the features of many SEO and AI SEO tools in a single package to help multiply your SEO traffic. … … 35 35 * @var string 36 36 */ 37 public $version = '1.0.255 -beta';37 public $version = '1.0.255'; 38 38 39 39 /** -
seo-by-rank-math/tags/1.0.255/readme.txt
r3368205 r3374955 6 6 Requires at least: 6.3 7 7 Requires PHP: 7.4 8 Stable tag: 1.0.25 48 Stable tag: 1.0.255 9 9 License: GPLv3 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.txt … … 340 340 == Changelog == 341 341 342 = 1.0.25 4 [Sept 26, 2025] =343 - Fixed: [Update SEO Score tool](https://rankmath.com/kb/seo-score-not-available/#update-seo-scores) was not considering the Product's short description when calculating the SEO score344 - Fixed: PHP warning when using [Focus Keyword variable](https://rankmath.com/kb/variables-in-seo-title-description/#focus-keyword) with keywords containing special characters345 - Fixed: Deprecated capability used in the plugin to access Rank Math Dashboard346 - Fixed: [Fallback behaviour](https://rankmath.com/kb/general-settings/#fallback-behaviour) was not working when URL contained query parameters of page IDs347 - Fixed: Updating the [Sitemap settings](https://rankmath.com/kb/configure-sitemaps/) was not clearing the Sitemap cache342 = 1.0.255 [Oct 08, 2025] = 343 - Added: Option to view and edit SEO Title & Description columns on [Taxonomy Terms lists](https://rankmath.com/kb/titles-and-meta/#bulk-editing-categories) page 344 - Fixed: [Keyboard shortcut `//` for opening the Content AI command box](https://rankmath.com/kb/using-content-ai-in-block-editor/#shortcut) was not working 345 - Fixed: [Removing the Open Graph Thumbnail from Titles & Meta settings](https://rankmath.com/kb/titles-and-meta/#open-graph-thumbnail) was not working 346 - Fixed: PHP warning related to the missing [Phone number type](https://rankmath.com/kb/local-seo/#phone) 347 - Fixed: Missing Preview in the [Content AI Prompts library modal](https://rankmath.com/kb/using-content-ai-in-block-editor/#shortcut) 348 348 349 349 Full changelog can be found here - **[Rank Math changelog](https://rankmath.com/changelog/?utm_source=Plugin&utm_medium=Changelog&utm_campaign=WP)** -
seo-by-rank-math/tags/1.0.255/vendor/autoload.php
r3372168 r3374955 23 23 require_once __DIR__ . '/composer/autoload_real.php'; 24 24 25 return ComposerAutoloaderInit 69ae87371197cf8fddc46ac50510d2dd::getLoader();25 return ComposerAutoloaderInitad56d15a6f1be570a576fe433b6f3316::getLoader(); -
seo-by-rank-math/tags/1.0.255/vendor/composer/autoload_real.php
r3372168 r3374955 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 69ae87371197cf8fddc46ac50510d2dd5 class ComposerAutoloaderInitad56d15a6f1be570a576fe433b6f3316 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit 69ae87371197cf8fddc46ac50510d2dd', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInitad56d15a6f1be570a576fe433b6f3316', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 29 spl_autoload_unregister(array('ComposerAutoloaderInit 69ae87371197cf8fddc46ac50510d2dd', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInitad56d15a6f1be570a576fe433b6f3316', 'loadClassLoader')); 30 30 31 31 require __DIR__ . '/autoload_static.php'; 32 call_user_func(\Composer\Autoload\ComposerStaticInit 69ae87371197cf8fddc46ac50510d2dd::getInitializer($loader));32 call_user_func(\Composer\Autoload\ComposerStaticInitad56d15a6f1be570a576fe433b6f3316::getInitializer($loader)); 33 33 34 34 $loader->register(true); 35 35 36 $includeFiles = \Composer\Autoload\ComposerStaticInit 69ae87371197cf8fddc46ac50510d2dd::$files;36 $includeFiles = \Composer\Autoload\ComposerStaticInitad56d15a6f1be570a576fe433b6f3316::$files; 37 37 foreach ($includeFiles as $fileIdentifier => $file) { 38 composerRequire 69ae87371197cf8fddc46ac50510d2dd($fileIdentifier, $file);38 composerRequiread56d15a6f1be570a576fe433b6f3316($fileIdentifier, $file); 39 39 } 40 40 … … 48 48 * @return void 49 49 */ 50 function composerRequire 69ae87371197cf8fddc46ac50510d2dd($fileIdentifier, $file)50 function composerRequiread56d15a6f1be570a576fe433b6f3316($fileIdentifier, $file) 51 51 { 52 52 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
seo-by-rank-math/tags/1.0.255/vendor/composer/autoload_static.php
r3372168 r3374955 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 69ae87371197cf8fddc46ac50510d2dd7 class ComposerStaticInitad56d15a6f1be570a576fe433b6f3316 8 8 { 9 9 public static $files = array ( … … 424 424 { 425 425 return \Closure::bind(function () use ($loader) { 426 $loader->prefixLengthsPsr4 = ComposerStaticInit 69ae87371197cf8fddc46ac50510d2dd::$prefixLengthsPsr4;427 $loader->prefixDirsPsr4 = ComposerStaticInit 69ae87371197cf8fddc46ac50510d2dd::$prefixDirsPsr4;428 $loader->classMap = ComposerStaticInit 69ae87371197cf8fddc46ac50510d2dd::$classMap;426 $loader->prefixLengthsPsr4 = ComposerStaticInitad56d15a6f1be570a576fe433b6f3316::$prefixLengthsPsr4; 427 $loader->prefixDirsPsr4 = ComposerStaticInitad56d15a6f1be570a576fe433b6f3316::$prefixDirsPsr4; 428 $loader->classMap = ComposerStaticInitad56d15a6f1be570a576fe433b6f3316::$classMap; 429 429 430 430 }, null, ClassLoader::class); -
seo-by-rank-math/tags/1.0.255/vendor/composer/installed.json
r3359063 r3374955 287 287 { 288 288 "name": "wp-media/wp-mixpanel", 289 "version": "v1. 2.0",290 "version_normalized": "1. 2.0.0",289 "version": "v1.3.0", 290 "version_normalized": "1.3.0.0", 291 291 "source": { 292 292 "type": "git", 293 293 "url": "https://github.com/wp-media/wp-mixpanel.git", 294 "reference": " b73de3558313642298a0ffaf32afbe8b555622ac"295 }, 296 "dist": { 297 "type": "zip", 298 "url": "https://api.github.com/repos/wp-media/wp-mixpanel/zipball/ b73de3558313642298a0ffaf32afbe8b555622ac",299 "reference": " b73de3558313642298a0ffaf32afbe8b555622ac",294 "reference": "402d47230c2118c0cd40e64b0aa8d936b30d4e4f" 295 }, 296 "dist": { 297 "type": "zip", 298 "url": "https://api.github.com/repos/wp-media/wp-mixpanel/zipball/402d47230c2118c0cd40e64b0aa8d936b30d4e4f", 299 "reference": "402d47230c2118c0cd40e64b0aa8d936b30d4e4f", 300 300 "shasum": "" 301 301 }, … … 314 314 "wp-media/phpunit": "^3" 315 315 }, 316 "time": "2025- 09-08T14:54:11+00:00",316 "time": "2025-10-06T10:12:28+00:00", 317 317 "type": "library", 318 318 "installation-source": "dist", … … 339 339 "support": { 340 340 "issues": "https://github.com/wp-media/wp-mixpanel/issues", 341 "source": "https://github.com/wp-media/wp-mixpanel/tree/v1. 2.0"341 "source": "https://github.com/wp-media/wp-mixpanel/tree/v1.3.0" 342 342 }, 343 343 "install-path": "../wp-media/wp-mixpanel" -
seo-by-rank-math/tags/1.0.255/vendor/composer/installed.php
r3372168 r3374955 2 2 'root' => array( 3 3 'name' => 'rankmath/seo-by-rank-math', 4 'pretty_version' => 'v1.0.255 -beta',5 'version' => '1.0.255.0 -beta',6 'reference' => ' 6ecb5853982b22b595eb66dd943497fcd51cf59b',4 'pretty_version' => 'v1.0.255', 5 'version' => '1.0.255.0', 6 'reference' => 'b92e47f1fadb00a269c4840666d47766e2932afd', 7 7 'type' => 'wordpress-plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 48 48 ), 49 49 'rankmath/seo-by-rank-math' => array( 50 'pretty_version' => 'v1.0.255 -beta',51 'version' => '1.0.255.0 -beta',52 'reference' => ' 6ecb5853982b22b595eb66dd943497fcd51cf59b',50 'pretty_version' => 'v1.0.255', 51 'version' => '1.0.255.0', 52 'reference' => 'b92e47f1fadb00a269c4840666d47766e2932afd', 53 53 'type' => 'wordpress-plugin', 54 54 'install_path' => __DIR__ . '/../../', … … 66 66 ), 67 67 'wp-media/wp-mixpanel' => array( 68 'pretty_version' => 'v1. 2.0',69 'version' => '1. 2.0.0',70 'reference' => ' b73de3558313642298a0ffaf32afbe8b555622ac',68 'pretty_version' => 'v1.3.0', 69 'version' => '1.3.0.0', 70 'reference' => '402d47230c2118c0cd40e64b0aa8d936b30d4e4f', 71 71 'type' => 'library', 72 72 'install_path' => __DIR__ . '/../wp-media/wp-mixpanel', -
seo-by-rank-math/tags/1.0.255/vendor/wp-media/wp-mixpanel/src/Tracking.php
r3349482 r3374955 46 46 47 47 /** 48 * Track an event in Mixpanel 48 * Check if debug mode is enabled 49 * 50 * @return bool 51 */ 52 private function is_debug(): bool { 53 $debug = ( defined( 'WP_DEBUG' ) ? constant( 'WP_DEBUG' ) : false ) 54 && ( defined( 'WP_DEBUG_LOG' ) ? constant( 'WP_DEBUG_LOG' ) : false ); 55 56 /** 57 * Filters whether Mixpanel debug mode is enabled. 58 * 59 * @param bool $debug Debug mode value. 60 */ 61 return apply_filters( 'wp_media_mixpanel_debug', $debug ); 62 } 63 64 /** 65 * Log event to error log if debug mode is enabled 49 66 * 50 67 * @param string $event Event name. 51 68 * @param mixed[] $properties Event properties. 52 69 */ 70 private function log_event( string $event, array $properties ): void { 71 if ( ! $this->is_debug() ) { 72 return; 73 } 74 75 error_log( 'Mixpanel event: ' . $event . ' ' . var_export( $properties, true ) ); // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_error_log, WordPress.PHP.DevelopmentFunctions.error_log_var_export 76 } 77 78 /** 79 * Track an event in Mixpanel 80 * 81 * @param string $event Event name. 82 * @param mixed[] $properties Event properties. 83 */ 53 84 public function track( string $event, array $properties ): void { 85 $this->log_event( $event, $properties ); 86 54 87 $this->mixpanel->track( $event, $properties ); 55 88 } … … 146 179 147 180 foreach ( $active_plugins as $plugin_path ) { 181 if ( ! is_string( $plugin_path ) ) { 182 continue; 183 } 184 148 185 if ( ! isset( $all_plugins[ $plugin_path ] ) ) { 149 186 continue; -
seo-by-rank-math/trunk/includes/admin/class-admin-menu.php
r3363126 r3374955 261 261 $current_date = new \DateTime( 'now', $timezone ); 262 262 $dates = [ 263 'halloween' => [ 264 'start' => '2025-10-29', 265 'end' => '2025-11-05', 266 'text' => esc_html__( 'Halloween Sale', 'rank-math' ), 267 ], 268 'anniversary' => [ 269 'start' => '2025-11-05', 270 'end' => '2025-11-12', 271 'text' => esc_html__( 'Anniversary Sale', 'rank-math' ), 272 ], 273 'black-friday' => [ 274 'start' => '2025-11-12', 275 'end' => '2025-11-29', 276 'text' => esc_html__( 'Black Friday Sale', 'rank-math' ), 277 ], 278 'cyber-monday' => [ 279 'start' => '2025-11-29', 280 'end' => '2025-12-03', 281 'text' => esc_html__( 'Cyber Monday Sale', 'rank-math' ), 282 ], 263 283 'christmas' => [ 264 'start' => '202 3-12-17',265 'end' => '202 3-12-26',284 'start' => '2025-12-24', 285 'end' => '2025-12-31', 266 286 'text' => esc_html__( 'Christmas Sale', 'rank-math' ), 267 287 ], 268 288 'new-year' => [ 269 'start' => '202 3-12-31',270 'end' => '202 4-01-05',289 'start' => '2025-12-31', 290 'end' => '2026-01-07', 271 291 'text' => esc_html__( 'New Year Sale', 'rank-math' ), 272 ],273 'anniversary' => [274 'start' => '2024-11-06',275 'end' => '2024-11-13',276 'text' => esc_html__( 'Anniversary Sale', 'rank-math' ),277 ],278 'black-friday' => [279 'start' => '2024-11-27',280 'end' => '2024-12-01',281 'text' => esc_html__( 'Black Friday Sale', 'rank-math' ),282 ],283 'cyber-monday' => [284 'start' => '2024-12-02',285 'end' => '2024-12-04',286 'text' => esc_html__( 'Cyber Monday Sale', 'rank-math' ),287 292 ], 288 293 ]; -
seo-by-rank-math/trunk/includes/admin/class-admin.php
r3349482 r3374955 489 489 // Holiday Season related variables. 490 490 $time = time(); 491 $current_year = 202 2;492 $anniversary_start_time = gmmktime( 17, 00, 00, 10, 30, $current_year ); // 30Oct.493 $anniversary_end_time = gmmktime( 17, 00, 00, 1 1, 30, $current_year ); // 30 Nov.494 $holiday_start_time = gmmktime( 17, 00, 00, 12, 2 0, $current_year ); // 20 Dec.495 $holiday_end_time = gmmktime( 17, 00, 00, 01, 07, 202 3); // 07 Jan.491 $current_year = 2025; 492 $anniversary_start_time = gmmktime( 17, 00, 00, 10, 29, $current_year ); // 29 Oct. 493 $anniversary_end_time = gmmktime( 17, 00, 00, 12, 03, $current_year ); // 30 Nov. 494 $holiday_start_time = gmmktime( 17, 00, 00, 12, 24, $current_year ); // 20 Dec. 495 $holiday_end_time = gmmktime( 17, 00, 00, 01, 07, 2026 ); // 07 Jan. 496 496 497 497 ob_start(); -
seo-by-rank-math/trunk/includes/admin/class-assets.php
r3338914 r3374955 293 293 } );"; 294 294 } 295 296 /**297 * Check if there is an Anniversary offer.298 */299 private function has_offer() {300 if ( ! current_user_can( 'manage_options' ) || defined( 'RANK_MATH_PRO_FILE' ) ) {301 return false;302 }303 304 // Holiday Season related variables.305 $time = time();306 $current_year = 2022;307 $anniversary_start_time = gmmktime( 17, 00, 00, 05, 05, $current_year ); // 30 Oct.308 $anniversary_end_time = gmmktime( 17, 00, 00, 11, 30, $current_year ); // 30 Nov.309 $holiday_start_time = gmmktime( 17, 00, 00, 12, 20, $current_year ); // 20 Dec.310 $holiday_end_time = gmmktime( 17, 00, 00, 01, 07, 2023 ); // 07 Jan.311 312 return ( $time > $anniversary_start_time && $time < $anniversary_end_time ) ||313 ( $time > $holiday_start_time && $time < $holiday_end_time );314 }315 295 } -
seo-by-rank-math/trunk/includes/admin/class-notices.php
r3338914 r3374955 44 44 $this->convert_wpml_settings(); 45 45 $this->permalink_changes_warning(); 46 $this->react_settings_ui_notice(); 47 } 48 49 /** 50 * Show a persistent admin notice when the React Settings UI is disabled. 51 * 52 * Adds a dismissible, persistent error when the temporary option to 53 * disable the React-based Settings UI is turned off. The notice is removed 54 * when the React Settings UI is enabled again. 55 * 56 * @since 1.0.255 57 * @return void 58 */ 59 private function react_settings_ui_notice() { 60 // Only relevant for admins in the dashboard context. 61 if ( ! current_user_can( 'manage_options' ) ) { 62 return; 63 } 64 65 $notice_id = 'rank_math_react_settings_ui_disabled'; 66 67 if ( ! Helper::is_react_enabled() ) { 68 $message = sprintf( 69 // Translators: 1: opening anchor tag, 2: closing anchor tag. 70 __( 'The React Settings UI is currently disabled, and the classic settings interface is active. Note: The PHP-based settings interface will be removed in an upcoming release. %1$sEnable the React Settings UI%2$s to switch back.', 'rank-math' ), 71 '<a href="' . esc_url( Helper::get_dashboard_url() ) . '">', 72 '</a>' 73 ); 74 75 Helper::add_notification( 76 $message, 77 [ 78 'type' => 'error', 79 'id' => $notice_id, 80 ] 81 ); 82 return; 83 } 84 85 // React UI is enabled; ensure any prior notice is removed. 86 Helper::remove_notification( $notice_id ); 46 87 } 47 88 -
seo-by-rank-math/trunk/languages/rank-math.pot
r3372168 r3374955 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Rank Math SEO 1.0.255 -beta\n"5 "Project-Id-Version: Rank Math SEO 1.0.255\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/seo-by-rank-math\n" 7 7 "Last-Translator: Rank Math <[email protected]>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2025-10-0 3T06:36:24+00:00\n"12 "POT-Creation-Date: 2025-10-08T05:21:11+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.12.0\n" … … 200 200 msgstr "" 201 201 202 msgid "Halloween Sale" 203 msgstr "" 204 205 msgid "Anniversary Sale" 206 msgstr "" 207 208 msgid "Black Friday Sale" 209 msgstr "" 210 211 msgid "Cyber Monday Sale" 212 msgstr "" 213 202 214 msgid "Christmas Sale" 203 215 msgstr "" 204 216 205 217 msgid "New Year Sale" 206 msgstr ""207 208 msgid "Anniversary Sale"209 msgstr ""210 211 msgid "Black Friday Sale"212 msgstr ""213 214 msgid "Cyber Monday Sale"215 218 msgstr "" 216 219 … … 433 436 434 437 msgid "No items found." 438 msgstr "" 439 440 #. Translators: 1: opening anchor tag, 2: closing anchor tag. 441 msgid "The React Settings UI is currently disabled, and the classic settings interface is active. Note: The PHP-based settings interface will be removed in an upcoming release. %1$sEnable the React Settings UI%2$s to switch back." 435 442 msgstr "" 436 443 -
seo-by-rank-math/trunk/rank-math.php
r3372168 r3374955 10 10 * @wordpress-plugin 11 11 * Plugin Name: Rank Math SEO 12 * Version: 1.0.255 -beta12 * Version: 1.0.255 13 13 * Plugin URI: https://rankmath.com/ 14 14 * Description: Rank Math SEO is the Best WordPress SEO plugin with the features of many SEO and AI SEO tools in a single package to help multiply your SEO traffic. … … 35 35 * @var string 36 36 */ 37 public $version = '1.0.255 -beta';37 public $version = '1.0.255'; 38 38 39 39 /** -
seo-by-rank-math/trunk/readme.txt
r3368205 r3374955 6 6 Requires at least: 6.3 7 7 Requires PHP: 7.4 8 Stable tag: 1.0.25 48 Stable tag: 1.0.255 9 9 License: GPLv3 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.txt … … 340 340 == Changelog == 341 341 342 = 1.0.25 4 [Sept 26, 2025] =343 - Fixed: [Update SEO Score tool](https://rankmath.com/kb/seo-score-not-available/#update-seo-scores) was not considering the Product's short description when calculating the SEO score344 - Fixed: PHP warning when using [Focus Keyword variable](https://rankmath.com/kb/variables-in-seo-title-description/#focus-keyword) with keywords containing special characters345 - Fixed: Deprecated capability used in the plugin to access Rank Math Dashboard346 - Fixed: [Fallback behaviour](https://rankmath.com/kb/general-settings/#fallback-behaviour) was not working when URL contained query parameters of page IDs347 - Fixed: Updating the [Sitemap settings](https://rankmath.com/kb/configure-sitemaps/) was not clearing the Sitemap cache342 = 1.0.255 [Oct 08, 2025] = 343 - Added: Option to view and edit SEO Title & Description columns on [Taxonomy Terms lists](https://rankmath.com/kb/titles-and-meta/#bulk-editing-categories) page 344 - Fixed: [Keyboard shortcut `//` for opening the Content AI command box](https://rankmath.com/kb/using-content-ai-in-block-editor/#shortcut) was not working 345 - Fixed: [Removing the Open Graph Thumbnail from Titles & Meta settings](https://rankmath.com/kb/titles-and-meta/#open-graph-thumbnail) was not working 346 - Fixed: PHP warning related to the missing [Phone number type](https://rankmath.com/kb/local-seo/#phone) 347 - Fixed: Missing Preview in the [Content AI Prompts library modal](https://rankmath.com/kb/using-content-ai-in-block-editor/#shortcut) 348 348 349 349 Full changelog can be found here - **[Rank Math changelog](https://rankmath.com/changelog/?utm_source=Plugin&utm_medium=Changelog&utm_campaign=WP)** -
seo-by-rank-math/trunk/vendor/autoload.php
r3372168 r3374955 23 23 require_once __DIR__ . '/composer/autoload_real.php'; 24 24 25 return ComposerAutoloaderInit 69ae87371197cf8fddc46ac50510d2dd::getLoader();25 return ComposerAutoloaderInitad56d15a6f1be570a576fe433b6f3316::getLoader(); -
seo-by-rank-math/trunk/vendor/composer/autoload_real.php
r3372168 r3374955 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 69ae87371197cf8fddc46ac50510d2dd5 class ComposerAutoloaderInitad56d15a6f1be570a576fe433b6f3316 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit 69ae87371197cf8fddc46ac50510d2dd', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInitad56d15a6f1be570a576fe433b6f3316', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 29 spl_autoload_unregister(array('ComposerAutoloaderInit 69ae87371197cf8fddc46ac50510d2dd', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInitad56d15a6f1be570a576fe433b6f3316', 'loadClassLoader')); 30 30 31 31 require __DIR__ . '/autoload_static.php'; 32 call_user_func(\Composer\Autoload\ComposerStaticInit 69ae87371197cf8fddc46ac50510d2dd::getInitializer($loader));32 call_user_func(\Composer\Autoload\ComposerStaticInitad56d15a6f1be570a576fe433b6f3316::getInitializer($loader)); 33 33 34 34 $loader->register(true); 35 35 36 $includeFiles = \Composer\Autoload\ComposerStaticInit 69ae87371197cf8fddc46ac50510d2dd::$files;36 $includeFiles = \Composer\Autoload\ComposerStaticInitad56d15a6f1be570a576fe433b6f3316::$files; 37 37 foreach ($includeFiles as $fileIdentifier => $file) { 38 composerRequire 69ae87371197cf8fddc46ac50510d2dd($fileIdentifier, $file);38 composerRequiread56d15a6f1be570a576fe433b6f3316($fileIdentifier, $file); 39 39 } 40 40 … … 48 48 * @return void 49 49 */ 50 function composerRequire 69ae87371197cf8fddc46ac50510d2dd($fileIdentifier, $file)50 function composerRequiread56d15a6f1be570a576fe433b6f3316($fileIdentifier, $file) 51 51 { 52 52 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
seo-by-rank-math/trunk/vendor/composer/autoload_static.php
r3372168 r3374955 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 69ae87371197cf8fddc46ac50510d2dd7 class ComposerStaticInitad56d15a6f1be570a576fe433b6f3316 8 8 { 9 9 public static $files = array ( … … 424 424 { 425 425 return \Closure::bind(function () use ($loader) { 426 $loader->prefixLengthsPsr4 = ComposerStaticInit 69ae87371197cf8fddc46ac50510d2dd::$prefixLengthsPsr4;427 $loader->prefixDirsPsr4 = ComposerStaticInit 69ae87371197cf8fddc46ac50510d2dd::$prefixDirsPsr4;428 $loader->classMap = ComposerStaticInit 69ae87371197cf8fddc46ac50510d2dd::$classMap;426 $loader->prefixLengthsPsr4 = ComposerStaticInitad56d15a6f1be570a576fe433b6f3316::$prefixLengthsPsr4; 427 $loader->prefixDirsPsr4 = ComposerStaticInitad56d15a6f1be570a576fe433b6f3316::$prefixDirsPsr4; 428 $loader->classMap = ComposerStaticInitad56d15a6f1be570a576fe433b6f3316::$classMap; 429 429 430 430 }, null, ClassLoader::class); -
seo-by-rank-math/trunk/vendor/composer/installed.json
r3359063 r3374955 287 287 { 288 288 "name": "wp-media/wp-mixpanel", 289 "version": "v1. 2.0",290 "version_normalized": "1. 2.0.0",289 "version": "v1.3.0", 290 "version_normalized": "1.3.0.0", 291 291 "source": { 292 292 "type": "git", 293 293 "url": "https://github.com/wp-media/wp-mixpanel.git", 294 "reference": " b73de3558313642298a0ffaf32afbe8b555622ac"295 }, 296 "dist": { 297 "type": "zip", 298 "url": "https://api.github.com/repos/wp-media/wp-mixpanel/zipball/ b73de3558313642298a0ffaf32afbe8b555622ac",299 "reference": " b73de3558313642298a0ffaf32afbe8b555622ac",294 "reference": "402d47230c2118c0cd40e64b0aa8d936b30d4e4f" 295 }, 296 "dist": { 297 "type": "zip", 298 "url": "https://api.github.com/repos/wp-media/wp-mixpanel/zipball/402d47230c2118c0cd40e64b0aa8d936b30d4e4f", 299 "reference": "402d47230c2118c0cd40e64b0aa8d936b30d4e4f", 300 300 "shasum": "" 301 301 }, … … 314 314 "wp-media/phpunit": "^3" 315 315 }, 316 "time": "2025- 09-08T14:54:11+00:00",316 "time": "2025-10-06T10:12:28+00:00", 317 317 "type": "library", 318 318 "installation-source": "dist", … … 339 339 "support": { 340 340 "issues": "https://github.com/wp-media/wp-mixpanel/issues", 341 "source": "https://github.com/wp-media/wp-mixpanel/tree/v1. 2.0"341 "source": "https://github.com/wp-media/wp-mixpanel/tree/v1.3.0" 342 342 }, 343 343 "install-path": "../wp-media/wp-mixpanel" -
seo-by-rank-math/trunk/vendor/composer/installed.php
r3372168 r3374955 2 2 'root' => array( 3 3 'name' => 'rankmath/seo-by-rank-math', 4 'pretty_version' => 'v1.0.255 -beta',5 'version' => '1.0.255.0 -beta',6 'reference' => ' 6ecb5853982b22b595eb66dd943497fcd51cf59b',4 'pretty_version' => 'v1.0.255', 5 'version' => '1.0.255.0', 6 'reference' => 'b92e47f1fadb00a269c4840666d47766e2932afd', 7 7 'type' => 'wordpress-plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 48 48 ), 49 49 'rankmath/seo-by-rank-math' => array( 50 'pretty_version' => 'v1.0.255 -beta',51 'version' => '1.0.255.0 -beta',52 'reference' => ' 6ecb5853982b22b595eb66dd943497fcd51cf59b',50 'pretty_version' => 'v1.0.255', 51 'version' => '1.0.255.0', 52 'reference' => 'b92e47f1fadb00a269c4840666d47766e2932afd', 53 53 'type' => 'wordpress-plugin', 54 54 'install_path' => __DIR__ . '/../../', … … 66 66 ), 67 67 'wp-media/wp-mixpanel' => array( 68 'pretty_version' => 'v1. 2.0',69 'version' => '1. 2.0.0',70 'reference' => ' b73de3558313642298a0ffaf32afbe8b555622ac',68 'pretty_version' => 'v1.3.0', 69 'version' => '1.3.0.0', 70 'reference' => '402d47230c2118c0cd40e64b0aa8d936b30d4e4f', 71 71 'type' => 'library', 72 72 'install_path' => __DIR__ . '/../wp-media/wp-mixpanel', -
seo-by-rank-math/trunk/vendor/wp-media/wp-mixpanel/src/Tracking.php
r3349482 r3374955 46 46 47 47 /** 48 * Track an event in Mixpanel 48 * Check if debug mode is enabled 49 * 50 * @return bool 51 */ 52 private function is_debug(): bool { 53 $debug = ( defined( 'WP_DEBUG' ) ? constant( 'WP_DEBUG' ) : false ) 54 && ( defined( 'WP_DEBUG_LOG' ) ? constant( 'WP_DEBUG_LOG' ) : false ); 55 56 /** 57 * Filters whether Mixpanel debug mode is enabled. 58 * 59 * @param bool $debug Debug mode value. 60 */ 61 return apply_filters( 'wp_media_mixpanel_debug', $debug ); 62 } 63 64 /** 65 * Log event to error log if debug mode is enabled 49 66 * 50 67 * @param string $event Event name. 51 68 * @param mixed[] $properties Event properties. 52 69 */ 70 private function log_event( string $event, array $properties ): void { 71 if ( ! $this->is_debug() ) { 72 return; 73 } 74 75 error_log( 'Mixpanel event: ' . $event . ' ' . var_export( $properties, true ) ); // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_error_log, WordPress.PHP.DevelopmentFunctions.error_log_var_export 76 } 77 78 /** 79 * Track an event in Mixpanel 80 * 81 * @param string $event Event name. 82 * @param mixed[] $properties Event properties. 83 */ 53 84 public function track( string $event, array $properties ): void { 85 $this->log_event( $event, $properties ); 86 54 87 $this->mixpanel->track( $event, $properties ); 55 88 } … … 146 179 147 180 foreach ( $active_plugins as $plugin_path ) { 181 if ( ! is_string( $plugin_path ) ) { 182 continue; 183 } 184 148 185 if ( ! isset( $all_plugins[ $plugin_path ] ) ) { 149 186 continue;
Note: See TracChangeset
for help on using the changeset viewer.