Changeset 3359063
- Timestamp:
- 09/10/2025 09:40:23 AM (7 months ago)
- Location:
- seo-by-rank-math
- Files:
-
- 22 edited
- 1 copied
-
tags/1.0.253 (copied) (copied from seo-by-rank-math/trunk)
-
tags/1.0.253/includes/class-tracking.php (modified) (1 diff)
-
tags/1.0.253/languages/rank-math.pot (modified) (2 diffs)
-
tags/1.0.253/rank-math.php (modified) (2 diffs)
-
tags/1.0.253/readme.txt (modified) (2 diffs)
-
tags/1.0.253/vendor/autoload.php (modified) (1 diff)
-
tags/1.0.253/vendor/composer/autoload_real.php (modified) (3 diffs)
-
tags/1.0.253/vendor/composer/autoload_static.php (modified) (2 diffs)
-
tags/1.0.253/vendor/composer/installed.json (modified) (3 diffs)
-
tags/1.0.253/vendor/composer/installed.php (modified) (3 diffs)
-
tags/1.0.253/vendor/wp-media/wp-mixpanel/src/Optin.php (modified) (1 diff)
-
tags/1.0.253/vendor/wp-media/wp-mixpanel/src/TrackingPlugin.php (modified) (2 diffs)
-
trunk/includes/class-tracking.php (modified) (1 diff)
-
trunk/languages/rank-math.pot (modified) (2 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/Optin.php (modified) (1 diff)
-
trunk/vendor/wp-media/wp-mixpanel/src/TrackingPlugin.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
seo-by-rank-math/tags/1.0.253/includes/class-tracking.php
r3351886 r3359063 208 208 209 209 // Only track Rank Math admin/configuration pages. 210 if ( ! Str::starts_with( Param::get( 'page' ), 'rank-math') ) {210 if ( ! Str::starts_with( 'rank-math', Param::get( 'page' ) ) ) { 211 211 return; 212 212 } -
seo-by-rank-math/tags/1.0.253/languages/rank-math.pot
r3357631 r3359063 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Rank Math SEO 1.0.253 -beta\n"5 "Project-Id-Version: Rank Math SEO 1.0.253\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/seo-by-rank-math\n" 7 7 "Last-Translator: Rank Math <support@rankmath.com>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2025-09- 08T07:03:13+00:00\n"12 "POT-Creation-Date: 2025-09-10T05:06:57+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" -
seo-by-rank-math/tags/1.0.253/rank-math.php
r3357631 r3359063 10 10 * @wordpress-plugin 11 11 * Plugin Name: Rank Math SEO 12 * Version: 1.0.253 -beta12 * Version: 1.0.253 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.253 -beta';37 public $version = '1.0.253'; 38 38 39 39 /** -
seo-by-rank-math/tags/1.0.253/readme.txt
r3352413 r3359063 6 6 Requires at least: 6.3 7 7 Requires PHP: 7.4 8 Stable tag: 1.0.25 2.18 Stable tag: 1.0.253 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.252 [Aug 28, 2025] = 343 - Added: Option to enable/disable [Usage Tracking](https://rankmath.com/kb/usage-tracking/) (disabled by default). Enabling this option would help us prioritize development of features that matter the most to you and to identify & resolve issues quickly. 344 - Improved: Updated the endpoint used for [Generating Image Alt Text with Content AI](https://rankmath.com/kb/generate-alt-text-with-content-ai/). Now, Content AI generates more accurate alt texts for your images. 345 - Improved: Security of the plugin's Bulk Update SEO Data feature and the endpoint for retrieving the featured image ID to prevent potential exploitation by users with edit-page access, thanks to Abu Hurayra & Patchstack for responsibly disclosing the issue 346 - Fixed: Extra space in [SERP Preview description](https://rankmath.com/kb/general-tab/#the-preview-section) when text ends with an HTML tag 347 - Fixed: [Post Titles Missing Focus Keywords test in SEO Analysis](https://rankmath.com/kb/seo-analysis/#post-titles-missing-focus-keywords-test) was not working correctly when `&` is included in the Focus Keyword 348 - Fixed: [Time to Read in Enhanced Slack Sharing](https://rankmath.com/kb/slack-enhanced-sharing/#enhanced-sharing) was not accounting for shortcodes in content 349 - Fixed: Untranslated strings on the Scheduled Actions page when the WooCommerce plugin is active 350 - Fixed: Localized data from the plugin was included in the REST output 351 - Fixed: [Rewrite Titles](https://rankmath.com/kb/titles-and-meta/#rewrite-titles) option was always showing in Block themes even when not needed 352 - Fixed: Incompatibility with LiteSpeed Cache plugin when Rewrite Titles option is enabled 353 354 = 1.0.252.1 [Aug 29, 2025] = 355 - Fixed: Incompatibility with the Inline CSS when the [Slack Enhanced Sharing option](https://rankmath.com/kb/titles-and-meta/#pages-slack-enhanced-sharing) is enabled 342 = 1.0.253 [Sept 10, 2025] = 343 - Fixed: Missing option to select [Primary term](https://rankmath.com/kb/how-to-choose-a-primary-category/#how-to-choose-a-primary-category) when [filter to disable Rank Math's Sidebar integration](https://rankmath.com/kb/filters-hooks-api-developer/#disable-gutenberg-sidebar) was used 344 - Fixed: [Custom Field variable](https://rankmath.com/kb/variables-in-seo-title-description/#custom-field-advanced) was not working in the [SERP fields](https://rankmath.com/kb/general-tab/#seo-title-permalink-description) 345 - Fixed: Duplicate entries were created in the Analytics objects table when updating a post after switching it from Elementor's Top Bar 346 - Fixed: Incompatibility with the AffiliateWP plugin when [Remove Base option](https://rankmath.com/kb/general-settings/?#remove-base) was enabled 356 347 357 348 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.253/vendor/autoload.php
r3357631 r3359063 23 23 require_once __DIR__ . '/composer/autoload_real.php'; 24 24 25 return ComposerAutoloaderInit5 2b3e30212eeb0076497402bfbe61e27::getLoader();25 return ComposerAutoloaderInit5f7baa3c88d3863c9cdff6c3f96a44d9::getLoader(); -
seo-by-rank-math/tags/1.0.253/vendor/composer/autoload_real.php
r3357631 r3359063 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit5 2b3e30212eeb0076497402bfbe61e275 class ComposerAutoloaderInit5f7baa3c88d3863c9cdff6c3f96a44d9 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit5 2b3e30212eeb0076497402bfbe61e27', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInit5f7baa3c88d3863c9cdff6c3f96a44d9', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 29 spl_autoload_unregister(array('ComposerAutoloaderInit5 2b3e30212eeb0076497402bfbe61e27', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInit5f7baa3c88d3863c9cdff6c3f96a44d9', 'loadClassLoader')); 30 30 31 31 require __DIR__ . '/autoload_static.php'; 32 call_user_func(\Composer\Autoload\ComposerStaticInit5 2b3e30212eeb0076497402bfbe61e27::getInitializer($loader));32 call_user_func(\Composer\Autoload\ComposerStaticInit5f7baa3c88d3863c9cdff6c3f96a44d9::getInitializer($loader)); 33 33 34 34 $loader->register(true); 35 35 36 $includeFiles = \Composer\Autoload\ComposerStaticInit5 2b3e30212eeb0076497402bfbe61e27::$files;36 $includeFiles = \Composer\Autoload\ComposerStaticInit5f7baa3c88d3863c9cdff6c3f96a44d9::$files; 37 37 foreach ($includeFiles as $fileIdentifier => $file) { 38 composerRequire5 2b3e30212eeb0076497402bfbe61e27($fileIdentifier, $file);38 composerRequire5f7baa3c88d3863c9cdff6c3f96a44d9($fileIdentifier, $file); 39 39 } 40 40 … … 48 48 * @return void 49 49 */ 50 function composerRequire5 2b3e30212eeb0076497402bfbe61e27($fileIdentifier, $file)50 function composerRequire5f7baa3c88d3863c9cdff6c3f96a44d9($fileIdentifier, $file) 51 51 { 52 52 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
seo-by-rank-math/tags/1.0.253/vendor/composer/autoload_static.php
r3357631 r3359063 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit5 2b3e30212eeb0076497402bfbe61e277 class ComposerStaticInit5f7baa3c88d3863c9cdff6c3f96a44d9 8 8 { 9 9 public static $files = array ( … … 424 424 { 425 425 return \Closure::bind(function () use ($loader) { 426 $loader->prefixLengthsPsr4 = ComposerStaticInit5 2b3e30212eeb0076497402bfbe61e27::$prefixLengthsPsr4;427 $loader->prefixDirsPsr4 = ComposerStaticInit5 2b3e30212eeb0076497402bfbe61e27::$prefixDirsPsr4;428 $loader->classMap = ComposerStaticInit5 2b3e30212eeb0076497402bfbe61e27::$classMap;426 $loader->prefixLengthsPsr4 = ComposerStaticInit5f7baa3c88d3863c9cdff6c3f96a44d9::$prefixLengthsPsr4; 427 $loader->prefixDirsPsr4 = ComposerStaticInit5f7baa3c88d3863c9cdff6c3f96a44d9::$prefixDirsPsr4; 428 $loader->classMap = ComposerStaticInit5f7baa3c88d3863c9cdff6c3f96a44d9::$classMap; 429 429 430 430 }, null, ClassLoader::class); -
seo-by-rank-math/tags/1.0.253/vendor/composer/installed.json
r3349482 r3359063 287 287 { 288 288 "name": "wp-media/wp-mixpanel", 289 "version": "v1. 1.2",290 "version_normalized": "1. 1.2.0",289 "version": "v1.2.0", 290 "version_normalized": "1.2.0.0", 291 291 "source": { 292 292 "type": "git", 293 293 "url": "https://github.com/wp-media/wp-mixpanel.git", 294 "reference": " 1eddae0d32f802ac14003c80c7ff096adf8e232f"295 }, 296 "dist": { 297 "type": "zip", 298 "url": "https://api.github.com/repos/wp-media/wp-mixpanel/zipball/ 1eddae0d32f802ac14003c80c7ff096adf8e232f",299 "reference": " 1eddae0d32f802ac14003c80c7ff096adf8e232f",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", 300 300 "shasum": "" 301 301 }, … … 314 314 "wp-media/phpunit": "^3" 315 315 }, 316 "time": "2025-0 8-20T18:28:16+00:00",316 "time": "2025-09-08T14:54:11+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. 1.2"341 "source": "https://github.com/wp-media/wp-mixpanel/tree/v1.2.0" 342 342 }, 343 343 "install-path": "../wp-media/wp-mixpanel" -
seo-by-rank-math/tags/1.0.253/vendor/composer/installed.php
r3357631 r3359063 2 2 'root' => array( 3 3 'name' => 'rankmath/seo-by-rank-math', 4 'pretty_version' => 'v1.0.253 -beta',5 'version' => '1.0.253.0 -beta',6 'reference' => ' d125003c966923df3c33eb7b2ba9ee70dc0b22d3',4 'pretty_version' => 'v1.0.253', 5 'version' => '1.0.253.0', 6 'reference' => '8cf7932d31a6fd23a6aff2c25ee8f999c890b0e9', 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.253 -beta',51 'version' => '1.0.253.0 -beta',52 'reference' => ' d125003c966923df3c33eb7b2ba9ee70dc0b22d3',50 'pretty_version' => 'v1.0.253', 51 'version' => '1.0.253.0', 52 'reference' => '8cf7932d31a6fd23a6aff2c25ee8f999c890b0e9', 53 53 'type' => 'wordpress-plugin', 54 54 'install_path' => __DIR__ . '/../../', … … 66 66 ), 67 67 'wp-media/wp-mixpanel' => array( 68 'pretty_version' => 'v1. 1.2',69 'version' => '1. 1.2.0',70 'reference' => ' 1eddae0d32f802ac14003c80c7ff096adf8e232f',68 'pretty_version' => 'v1.2.0', 69 'version' => '1.2.0.0', 70 'reference' => 'b73de3558313642298a0ffaf32afbe8b555622ac', 71 71 'type' => 'library', 72 72 'install_path' => __DIR__ . '/../wp-media/wp-mixpanel', -
seo-by-rank-math/tags/1.0.253/vendor/wp-media/wp-mixpanel/src/Optin.php
r3349482 r3359063 50 50 51 51 /** 52 * Check if tracking is allowed. 53 * 54 * @return bool 55 */ 56 public function can_track(): bool { 57 return (bool) get_option( $this->plugin_slug . '_mixpanel_optin', false ); 58 } 59 60 /** 52 61 * Enable the opt-in. 53 62 * -
seo-by-rank-math/tags/1.0.253/vendor/wp-media/wp-mixpanel/src/TrackingPlugin.php
r3349482 r3359063 54 54 * @param string $event Event name. 55 55 * @param mixed[] $properties Event properties. 56 * @param string $event_capability The capability required to track the event. 56 57 */ 57 public function track( string $event, array $properties ): void { 58 public function track( string $event, array $properties, string $event_capability = '' ): void { 59 /** 60 * Filter the default capability required to track a specific event. 61 * 62 * @param string $capability The capability required to track the event. 63 * @param string $event The event name. 64 * @param string $app The application name. 65 */ 66 $default = apply_filters( 'wp_mixpanel_event_capability', 'manage_options', $event, $this->app ); 67 68 if ( empty( $event_capability ) ) { 69 $event_capability = $default; 70 } 71 72 if ( ! current_user_can( $event_capability ) ) { 73 return; 74 } 75 58 76 $host = wp_parse_url( get_home_url(), PHP_URL_HOST ); 59 77 … … 91 109 ); 92 110 } 111 112 /** 113 * Add the Mixpanel script & initialize it 114 */ 115 public function add_script(): void { 116 /** 117 * Filter the default capability required to track with JS. 118 * 119 * @param string $capability The capability required to track the event. 120 * @param string $app The application name. 121 */ 122 $capability = apply_filters( 'wp_mixpanel_js_track_capability', 'manage_options', $this->app ); 123 124 if ( ! current_user_can( $capability ) ) { 125 return; 126 } 127 128 parent::add_script(); 129 } 93 130 } -
seo-by-rank-math/trunk/includes/class-tracking.php
r3351886 r3359063 208 208 209 209 // Only track Rank Math admin/configuration pages. 210 if ( ! Str::starts_with( Param::get( 'page' ), 'rank-math') ) {210 if ( ! Str::starts_with( 'rank-math', Param::get( 'page' ) ) ) { 211 211 return; 212 212 } -
seo-by-rank-math/trunk/languages/rank-math.pot
r3357631 r3359063 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Rank Math SEO 1.0.253 -beta\n"5 "Project-Id-Version: Rank Math SEO 1.0.253\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/seo-by-rank-math\n" 7 7 "Last-Translator: Rank Math <support@rankmath.com>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2025-09- 08T07:03:13+00:00\n"12 "POT-Creation-Date: 2025-09-10T05:06:57+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" -
seo-by-rank-math/trunk/rank-math.php
r3357631 r3359063 10 10 * @wordpress-plugin 11 11 * Plugin Name: Rank Math SEO 12 * Version: 1.0.253 -beta12 * Version: 1.0.253 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.253 -beta';37 public $version = '1.0.253'; 38 38 39 39 /** -
seo-by-rank-math/trunk/readme.txt
r3352413 r3359063 6 6 Requires at least: 6.3 7 7 Requires PHP: 7.4 8 Stable tag: 1.0.25 2.18 Stable tag: 1.0.253 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.252 [Aug 28, 2025] = 343 - Added: Option to enable/disable [Usage Tracking](https://rankmath.com/kb/usage-tracking/) (disabled by default). Enabling this option would help us prioritize development of features that matter the most to you and to identify & resolve issues quickly. 344 - Improved: Updated the endpoint used for [Generating Image Alt Text with Content AI](https://rankmath.com/kb/generate-alt-text-with-content-ai/). Now, Content AI generates more accurate alt texts for your images. 345 - Improved: Security of the plugin's Bulk Update SEO Data feature and the endpoint for retrieving the featured image ID to prevent potential exploitation by users with edit-page access, thanks to Abu Hurayra & Patchstack for responsibly disclosing the issue 346 - Fixed: Extra space in [SERP Preview description](https://rankmath.com/kb/general-tab/#the-preview-section) when text ends with an HTML tag 347 - Fixed: [Post Titles Missing Focus Keywords test in SEO Analysis](https://rankmath.com/kb/seo-analysis/#post-titles-missing-focus-keywords-test) was not working correctly when `&` is included in the Focus Keyword 348 - Fixed: [Time to Read in Enhanced Slack Sharing](https://rankmath.com/kb/slack-enhanced-sharing/#enhanced-sharing) was not accounting for shortcodes in content 349 - Fixed: Untranslated strings on the Scheduled Actions page when the WooCommerce plugin is active 350 - Fixed: Localized data from the plugin was included in the REST output 351 - Fixed: [Rewrite Titles](https://rankmath.com/kb/titles-and-meta/#rewrite-titles) option was always showing in Block themes even when not needed 352 - Fixed: Incompatibility with LiteSpeed Cache plugin when Rewrite Titles option is enabled 353 354 = 1.0.252.1 [Aug 29, 2025] = 355 - Fixed: Incompatibility with the Inline CSS when the [Slack Enhanced Sharing option](https://rankmath.com/kb/titles-and-meta/#pages-slack-enhanced-sharing) is enabled 342 = 1.0.253 [Sept 10, 2025] = 343 - Fixed: Missing option to select [Primary term](https://rankmath.com/kb/how-to-choose-a-primary-category/#how-to-choose-a-primary-category) when [filter to disable Rank Math's Sidebar integration](https://rankmath.com/kb/filters-hooks-api-developer/#disable-gutenberg-sidebar) was used 344 - Fixed: [Custom Field variable](https://rankmath.com/kb/variables-in-seo-title-description/#custom-field-advanced) was not working in the [SERP fields](https://rankmath.com/kb/general-tab/#seo-title-permalink-description) 345 - Fixed: Duplicate entries were created in the Analytics objects table when updating a post after switching it from Elementor's Top Bar 346 - Fixed: Incompatibility with the AffiliateWP plugin when [Remove Base option](https://rankmath.com/kb/general-settings/?#remove-base) was enabled 356 347 357 348 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
r3357631 r3359063 23 23 require_once __DIR__ . '/composer/autoload_real.php'; 24 24 25 return ComposerAutoloaderInit5 2b3e30212eeb0076497402bfbe61e27::getLoader();25 return ComposerAutoloaderInit5f7baa3c88d3863c9cdff6c3f96a44d9::getLoader(); -
seo-by-rank-math/trunk/vendor/composer/autoload_real.php
r3357631 r3359063 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit5 2b3e30212eeb0076497402bfbe61e275 class ComposerAutoloaderInit5f7baa3c88d3863c9cdff6c3f96a44d9 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit5 2b3e30212eeb0076497402bfbe61e27', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInit5f7baa3c88d3863c9cdff6c3f96a44d9', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 29 spl_autoload_unregister(array('ComposerAutoloaderInit5 2b3e30212eeb0076497402bfbe61e27', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInit5f7baa3c88d3863c9cdff6c3f96a44d9', 'loadClassLoader')); 30 30 31 31 require __DIR__ . '/autoload_static.php'; 32 call_user_func(\Composer\Autoload\ComposerStaticInit5 2b3e30212eeb0076497402bfbe61e27::getInitializer($loader));32 call_user_func(\Composer\Autoload\ComposerStaticInit5f7baa3c88d3863c9cdff6c3f96a44d9::getInitializer($loader)); 33 33 34 34 $loader->register(true); 35 35 36 $includeFiles = \Composer\Autoload\ComposerStaticInit5 2b3e30212eeb0076497402bfbe61e27::$files;36 $includeFiles = \Composer\Autoload\ComposerStaticInit5f7baa3c88d3863c9cdff6c3f96a44d9::$files; 37 37 foreach ($includeFiles as $fileIdentifier => $file) { 38 composerRequire5 2b3e30212eeb0076497402bfbe61e27($fileIdentifier, $file);38 composerRequire5f7baa3c88d3863c9cdff6c3f96a44d9($fileIdentifier, $file); 39 39 } 40 40 … … 48 48 * @return void 49 49 */ 50 function composerRequire5 2b3e30212eeb0076497402bfbe61e27($fileIdentifier, $file)50 function composerRequire5f7baa3c88d3863c9cdff6c3f96a44d9($fileIdentifier, $file) 51 51 { 52 52 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
seo-by-rank-math/trunk/vendor/composer/autoload_static.php
r3357631 r3359063 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit5 2b3e30212eeb0076497402bfbe61e277 class ComposerStaticInit5f7baa3c88d3863c9cdff6c3f96a44d9 8 8 { 9 9 public static $files = array ( … … 424 424 { 425 425 return \Closure::bind(function () use ($loader) { 426 $loader->prefixLengthsPsr4 = ComposerStaticInit5 2b3e30212eeb0076497402bfbe61e27::$prefixLengthsPsr4;427 $loader->prefixDirsPsr4 = ComposerStaticInit5 2b3e30212eeb0076497402bfbe61e27::$prefixDirsPsr4;428 $loader->classMap = ComposerStaticInit5 2b3e30212eeb0076497402bfbe61e27::$classMap;426 $loader->prefixLengthsPsr4 = ComposerStaticInit5f7baa3c88d3863c9cdff6c3f96a44d9::$prefixLengthsPsr4; 427 $loader->prefixDirsPsr4 = ComposerStaticInit5f7baa3c88d3863c9cdff6c3f96a44d9::$prefixDirsPsr4; 428 $loader->classMap = ComposerStaticInit5f7baa3c88d3863c9cdff6c3f96a44d9::$classMap; 429 429 430 430 }, null, ClassLoader::class); -
seo-by-rank-math/trunk/vendor/composer/installed.json
r3349482 r3359063 287 287 { 288 288 "name": "wp-media/wp-mixpanel", 289 "version": "v1. 1.2",290 "version_normalized": "1. 1.2.0",289 "version": "v1.2.0", 290 "version_normalized": "1.2.0.0", 291 291 "source": { 292 292 "type": "git", 293 293 "url": "https://github.com/wp-media/wp-mixpanel.git", 294 "reference": " 1eddae0d32f802ac14003c80c7ff096adf8e232f"295 }, 296 "dist": { 297 "type": "zip", 298 "url": "https://api.github.com/repos/wp-media/wp-mixpanel/zipball/ 1eddae0d32f802ac14003c80c7ff096adf8e232f",299 "reference": " 1eddae0d32f802ac14003c80c7ff096adf8e232f",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", 300 300 "shasum": "" 301 301 }, … … 314 314 "wp-media/phpunit": "^3" 315 315 }, 316 "time": "2025-0 8-20T18:28:16+00:00",316 "time": "2025-09-08T14:54:11+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. 1.2"341 "source": "https://github.com/wp-media/wp-mixpanel/tree/v1.2.0" 342 342 }, 343 343 "install-path": "../wp-media/wp-mixpanel" -
seo-by-rank-math/trunk/vendor/composer/installed.php
r3357631 r3359063 2 2 'root' => array( 3 3 'name' => 'rankmath/seo-by-rank-math', 4 'pretty_version' => 'v1.0.253 -beta',5 'version' => '1.0.253.0 -beta',6 'reference' => ' d125003c966923df3c33eb7b2ba9ee70dc0b22d3',4 'pretty_version' => 'v1.0.253', 5 'version' => '1.0.253.0', 6 'reference' => '8cf7932d31a6fd23a6aff2c25ee8f999c890b0e9', 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.253 -beta',51 'version' => '1.0.253.0 -beta',52 'reference' => ' d125003c966923df3c33eb7b2ba9ee70dc0b22d3',50 'pretty_version' => 'v1.0.253', 51 'version' => '1.0.253.0', 52 'reference' => '8cf7932d31a6fd23a6aff2c25ee8f999c890b0e9', 53 53 'type' => 'wordpress-plugin', 54 54 'install_path' => __DIR__ . '/../../', … … 66 66 ), 67 67 'wp-media/wp-mixpanel' => array( 68 'pretty_version' => 'v1. 1.2',69 'version' => '1. 1.2.0',70 'reference' => ' 1eddae0d32f802ac14003c80c7ff096adf8e232f',68 'pretty_version' => 'v1.2.0', 69 'version' => '1.2.0.0', 70 'reference' => 'b73de3558313642298a0ffaf32afbe8b555622ac', 71 71 'type' => 'library', 72 72 'install_path' => __DIR__ . '/../wp-media/wp-mixpanel', -
seo-by-rank-math/trunk/vendor/wp-media/wp-mixpanel/src/Optin.php
r3349482 r3359063 50 50 51 51 /** 52 * Check if tracking is allowed. 53 * 54 * @return bool 55 */ 56 public function can_track(): bool { 57 return (bool) get_option( $this->plugin_slug . '_mixpanel_optin', false ); 58 } 59 60 /** 52 61 * Enable the opt-in. 53 62 * -
seo-by-rank-math/trunk/vendor/wp-media/wp-mixpanel/src/TrackingPlugin.php
r3349482 r3359063 54 54 * @param string $event Event name. 55 55 * @param mixed[] $properties Event properties. 56 * @param string $event_capability The capability required to track the event. 56 57 */ 57 public function track( string $event, array $properties ): void { 58 public function track( string $event, array $properties, string $event_capability = '' ): void { 59 /** 60 * Filter the default capability required to track a specific event. 61 * 62 * @param string $capability The capability required to track the event. 63 * @param string $event The event name. 64 * @param string $app The application name. 65 */ 66 $default = apply_filters( 'wp_mixpanel_event_capability', 'manage_options', $event, $this->app ); 67 68 if ( empty( $event_capability ) ) { 69 $event_capability = $default; 70 } 71 72 if ( ! current_user_can( $event_capability ) ) { 73 return; 74 } 75 58 76 $host = wp_parse_url( get_home_url(), PHP_URL_HOST ); 59 77 … … 91 109 ); 92 110 } 111 112 /** 113 * Add the Mixpanel script & initialize it 114 */ 115 public function add_script(): void { 116 /** 117 * Filter the default capability required to track with JS. 118 * 119 * @param string $capability The capability required to track the event. 120 * @param string $app The application name. 121 */ 122 $capability = apply_filters( 'wp_mixpanel_js_track_capability', 'manage_options', $this->app ); 123 124 if ( ! current_user_can( $capability ) ) { 125 return; 126 } 127 128 parent::add_script(); 129 } 93 130 }
Note: See TracChangeset
for help on using the changeset viewer.