Plugin Directory

Changeset 3374955


Ignore:
Timestamp:
10/08/2025 09:54:40 AM (2 months ago)
Author:
rankmath
Message:

Update to version 1.0.255 from GitHub

Location:
seo-by-rank-math
Files:
26 edited
1 copied

Legend:

Unmodified
Added
Removed
  • seo-by-rank-math/tags/1.0.255/includes/admin/class-admin-menu.php

    r3363126 r3374955  
    261261        $current_date = new \DateTime( 'now', $timezone );
    262262        $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            ],
    263283            'christmas'    => [
    264                 'start' => '2023-12-17',
    265                 'end'   => '2023-12-26',
     284                'start' => '2025-12-24',
     285                'end'   => '2025-12-31',
    266286                'text'  => esc_html__( 'Christmas Sale', 'rank-math' ),
    267287            ],
    268288            'new-year'     => [
    269                 'start' => '2023-12-31',
    270                 'end'   => '2024-01-05',
     289                'start' => '2025-12-31',
     290                'end'   => '2026-01-07',
    271291                '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' ),
    287292            ],
    288293        ];
  • seo-by-rank-math/tags/1.0.255/includes/admin/class-admin.php

    r3349482 r3374955  
    489489        // Holiday Season related variables.
    490490        $time                   = time();
    491         $current_year           = 2022;
    492         $anniversary_start_time = gmmktime( 17, 00, 00, 10, 30, $current_year ); // 30 Oct.
    493         $anniversary_end_time   = gmmktime( 17, 00, 00, 11, 30, $current_year ); // 30 Nov.
    494         $holiday_start_time     = gmmktime( 17, 00, 00, 12, 20, $current_year ); // 20 Dec.
    495         $holiday_end_time       = gmmktime( 17, 00, 00, 01, 07, 2023 ); // 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.
    496496
    497497        ob_start();
  • seo-by-rank-math/tags/1.0.255/includes/admin/class-assets.php

    r3338914 r3374955  
    293293        } );";
    294294    }
    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     }
    315295}
  • seo-by-rank-math/tags/1.0.255/includes/admin/class-notices.php

    r3338914 r3374955  
    4444        $this->convert_wpml_settings();
    4545        $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 );
    4687    }
    4788
  • seo-by-rank-math/tags/1.0.255/languages/rank-math.pot

    r3372168 r3374955  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Rank Math SEO 1.0.255-beta\n"
     5"Project-Id-Version: Rank Math SEO 1.0.255\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/seo-by-rank-math\n"
    77"Last-Translator: Rank Math <[email protected]>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2025-10-03T06:36:24+00:00\n"
     12"POT-Creation-Date: 2025-10-08T05:21:11+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.12.0\n"
     
    200200msgstr ""
    201201
     202msgid "Halloween Sale"
     203msgstr ""
     204
     205msgid "Anniversary Sale"
     206msgstr ""
     207
     208msgid "Black Friday Sale"
     209msgstr ""
     210
     211msgid "Cyber Monday Sale"
     212msgstr ""
     213
    202214msgid "Christmas Sale"
    203215msgstr ""
    204216
    205217msgid "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"
    215218msgstr ""
    216219
     
    433436
    434437msgid "No items found."
     438msgstr ""
     439
     440#. Translators: 1: opening anchor tag, 2: closing anchor tag.
     441msgid "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."
    435442msgstr ""
    436443
  • seo-by-rank-math/tags/1.0.255/rank-math.php

    r3372168 r3374955  
    1010 * @wordpress-plugin
    1111 * Plugin Name:       Rank Math SEO
    12  * Version:           1.0.255-beta
     12 * Version:           1.0.255
    1313 * Plugin URI:        https://rankmath.com/
    1414 * 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.
     
    3535     * @var string
    3636     */
    37     public $version = '1.0.255-beta';
     37    public $version = '1.0.255';
    3838
    3939    /**
  • seo-by-rank-math/tags/1.0.255/readme.txt

    r3368205 r3374955  
    66Requires at least: 6.3
    77Requires PHP: 7.4
    8 Stable tag: 1.0.254
     8Stable tag: 1.0.255
    99License: GPLv3 or later
    1010License URI: https://www.gnu.org/licenses/gpl-3.0.txt
     
    340340== Changelog ==
    341341
    342 = 1.0.254 [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 score
    344 - Fixed: PHP warning when using [Focus Keyword variable](https://rankmath.com/kb/variables-in-seo-title-description/#focus-keyword) with keywords containing special characters
    345 - Fixed: Deprecated capability used in the plugin to access Rank Math Dashboard
    346 - Fixed: [Fallback behaviour](https://rankmath.com/kb/general-settings/#fallback-behaviour) was not working when URL contained query parameters of page IDs
    347 - Fixed: Updating the [Sitemap settings](https://rankmath.com/kb/configure-sitemaps/) was not clearing the Sitemap cache
     342= 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)
    348348
    349349Full 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  
    2323require_once __DIR__ . '/composer/autoload_real.php';
    2424
    25 return ComposerAutoloaderInit69ae87371197cf8fddc46ac50510d2dd::getLoader();
     25return ComposerAutoloaderInitad56d15a6f1be570a576fe433b6f3316::getLoader();
  • seo-by-rank-math/tags/1.0.255/vendor/composer/autoload_real.php

    r3372168 r3374955  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit69ae87371197cf8fddc46ac50510d2dd
     5class ComposerAutoloaderInitad56d15a6f1be570a576fe433b6f3316
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInit69ae87371197cf8fddc46ac50510d2dd', 'loadClassLoader'), true, true);
     27        spl_autoload_register(array('ComposerAutoloaderInitad56d15a6f1be570a576fe433b6f3316', 'loadClassLoader'), true, true);
    2828        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    29         spl_autoload_unregister(array('ComposerAutoloaderInit69ae87371197cf8fddc46ac50510d2dd', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInitad56d15a6f1be570a576fe433b6f3316', 'loadClassLoader'));
    3030
    3131        require __DIR__ . '/autoload_static.php';
    32         call_user_func(\Composer\Autoload\ComposerStaticInit69ae87371197cf8fddc46ac50510d2dd::getInitializer($loader));
     32        call_user_func(\Composer\Autoload\ComposerStaticInitad56d15a6f1be570a576fe433b6f3316::getInitializer($loader));
    3333
    3434        $loader->register(true);
    3535
    36         $includeFiles = \Composer\Autoload\ComposerStaticInit69ae87371197cf8fddc46ac50510d2dd::$files;
     36        $includeFiles = \Composer\Autoload\ComposerStaticInitad56d15a6f1be570a576fe433b6f3316::$files;
    3737        foreach ($includeFiles as $fileIdentifier => $file) {
    38             composerRequire69ae87371197cf8fddc46ac50510d2dd($fileIdentifier, $file);
     38            composerRequiread56d15a6f1be570a576fe433b6f3316($fileIdentifier, $file);
    3939        }
    4040
     
    4848 * @return void
    4949 */
    50 function composerRequire69ae87371197cf8fddc46ac50510d2dd($fileIdentifier, $file)
     50function composerRequiread56d15a6f1be570a576fe433b6f3316($fileIdentifier, $file)
    5151{
    5252    if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
  • seo-by-rank-math/tags/1.0.255/vendor/composer/autoload_static.php

    r3372168 r3374955  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit69ae87371197cf8fddc46ac50510d2dd
     7class ComposerStaticInitad56d15a6f1be570a576fe433b6f3316
    88{
    99    public static $files = array (
     
    424424    {
    425425        return \Closure::bind(function () use ($loader) {
    426             $loader->prefixLengthsPsr4 = ComposerStaticInit69ae87371197cf8fddc46ac50510d2dd::$prefixLengthsPsr4;
    427             $loader->prefixDirsPsr4 = ComposerStaticInit69ae87371197cf8fddc46ac50510d2dd::$prefixDirsPsr4;
    428             $loader->classMap = ComposerStaticInit69ae87371197cf8fddc46ac50510d2dd::$classMap;
     426            $loader->prefixLengthsPsr4 = ComposerStaticInitad56d15a6f1be570a576fe433b6f3316::$prefixLengthsPsr4;
     427            $loader->prefixDirsPsr4 = ComposerStaticInitad56d15a6f1be570a576fe433b6f3316::$prefixDirsPsr4;
     428            $loader->classMap = ComposerStaticInitad56d15a6f1be570a576fe433b6f3316::$classMap;
    429429
    430430        }, null, ClassLoader::class);
  • seo-by-rank-math/tags/1.0.255/vendor/composer/installed.json

    r3359063 r3374955  
    287287        {
    288288            "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",
    291291            "source": {
    292292                "type": "git",
    293293                "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",
    300300                "shasum": ""
    301301            },
     
    314314                "wp-media/phpunit": "^3"
    315315            },
    316             "time": "2025-09-08T14:54:11+00:00",
     316            "time": "2025-10-06T10:12:28+00:00",
    317317            "type": "library",
    318318            "installation-source": "dist",
     
    339339            "support": {
    340340                "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"
    342342            },
    343343            "install-path": "../wp-media/wp-mixpanel"
  • seo-by-rank-math/tags/1.0.255/vendor/composer/installed.php

    r3372168 r3374955  
    22    'root' => array(
    33        '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',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    4848        ),
    4949        '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',
    5353            'type' => 'wordpress-plugin',
    5454            'install_path' => __DIR__ . '/../../',
     
    6666        ),
    6767        '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',
    7171            'type' => 'library',
    7272            '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  
    4646
    4747    /**
    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
    4966     *
    5067     * @param string  $event Event name.
    5168     * @param mixed[] $properties Event properties.
    5269     */
     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     */
    5384    public function track( string $event, array $properties ): void {
     85        $this->log_event( $event, $properties );
     86
    5487        $this->mixpanel->track( $event, $properties );
    5588    }
     
    146179
    147180        foreach ( $active_plugins as $plugin_path ) {
     181            if ( ! is_string( $plugin_path ) ) {
     182                continue;
     183            }
     184
    148185            if ( ! isset( $all_plugins[ $plugin_path ] ) ) {
    149186                continue;
  • seo-by-rank-math/trunk/includes/admin/class-admin-menu.php

    r3363126 r3374955  
    261261        $current_date = new \DateTime( 'now', $timezone );
    262262        $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            ],
    263283            'christmas'    => [
    264                 'start' => '2023-12-17',
    265                 'end'   => '2023-12-26',
     284                'start' => '2025-12-24',
     285                'end'   => '2025-12-31',
    266286                'text'  => esc_html__( 'Christmas Sale', 'rank-math' ),
    267287            ],
    268288            'new-year'     => [
    269                 'start' => '2023-12-31',
    270                 'end'   => '2024-01-05',
     289                'start' => '2025-12-31',
     290                'end'   => '2026-01-07',
    271291                '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' ),
    287292            ],
    288293        ];
  • seo-by-rank-math/trunk/includes/admin/class-admin.php

    r3349482 r3374955  
    489489        // Holiday Season related variables.
    490490        $time                   = time();
    491         $current_year           = 2022;
    492         $anniversary_start_time = gmmktime( 17, 00, 00, 10, 30, $current_year ); // 30 Oct.
    493         $anniversary_end_time   = gmmktime( 17, 00, 00, 11, 30, $current_year ); // 30 Nov.
    494         $holiday_start_time     = gmmktime( 17, 00, 00, 12, 20, $current_year ); // 20 Dec.
    495         $holiday_end_time       = gmmktime( 17, 00, 00, 01, 07, 2023 ); // 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.
    496496
    497497        ob_start();
  • seo-by-rank-math/trunk/includes/admin/class-assets.php

    r3338914 r3374955  
    293293        } );";
    294294    }
    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     }
    315295}
  • seo-by-rank-math/trunk/includes/admin/class-notices.php

    r3338914 r3374955  
    4444        $this->convert_wpml_settings();
    4545        $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 );
    4687    }
    4788
  • seo-by-rank-math/trunk/languages/rank-math.pot

    r3372168 r3374955  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Rank Math SEO 1.0.255-beta\n"
     5"Project-Id-Version: Rank Math SEO 1.0.255\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/seo-by-rank-math\n"
    77"Last-Translator: Rank Math <[email protected]>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2025-10-03T06:36:24+00:00\n"
     12"POT-Creation-Date: 2025-10-08T05:21:11+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.12.0\n"
     
    200200msgstr ""
    201201
     202msgid "Halloween Sale"
     203msgstr ""
     204
     205msgid "Anniversary Sale"
     206msgstr ""
     207
     208msgid "Black Friday Sale"
     209msgstr ""
     210
     211msgid "Cyber Monday Sale"
     212msgstr ""
     213
    202214msgid "Christmas Sale"
    203215msgstr ""
    204216
    205217msgid "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"
    215218msgstr ""
    216219
     
    433436
    434437msgid "No items found."
     438msgstr ""
     439
     440#. Translators: 1: opening anchor tag, 2: closing anchor tag.
     441msgid "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."
    435442msgstr ""
    436443
  • seo-by-rank-math/trunk/rank-math.php

    r3372168 r3374955  
    1010 * @wordpress-plugin
    1111 * Plugin Name:       Rank Math SEO
    12  * Version:           1.0.255-beta
     12 * Version:           1.0.255
    1313 * Plugin URI:        https://rankmath.com/
    1414 * 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.
     
    3535     * @var string
    3636     */
    37     public $version = '1.0.255-beta';
     37    public $version = '1.0.255';
    3838
    3939    /**
  • seo-by-rank-math/trunk/readme.txt

    r3368205 r3374955  
    66Requires at least: 6.3
    77Requires PHP: 7.4
    8 Stable tag: 1.0.254
     8Stable tag: 1.0.255
    99License: GPLv3 or later
    1010License URI: https://www.gnu.org/licenses/gpl-3.0.txt
     
    340340== Changelog ==
    341341
    342 = 1.0.254 [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 score
    344 - Fixed: PHP warning when using [Focus Keyword variable](https://rankmath.com/kb/variables-in-seo-title-description/#focus-keyword) with keywords containing special characters
    345 - Fixed: Deprecated capability used in the plugin to access Rank Math Dashboard
    346 - Fixed: [Fallback behaviour](https://rankmath.com/kb/general-settings/#fallback-behaviour) was not working when URL contained query parameters of page IDs
    347 - Fixed: Updating the [Sitemap settings](https://rankmath.com/kb/configure-sitemaps/) was not clearing the Sitemap cache
     342= 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)
    348348
    349349Full 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  
    2323require_once __DIR__ . '/composer/autoload_real.php';
    2424
    25 return ComposerAutoloaderInit69ae87371197cf8fddc46ac50510d2dd::getLoader();
     25return ComposerAutoloaderInitad56d15a6f1be570a576fe433b6f3316::getLoader();
  • seo-by-rank-math/trunk/vendor/composer/autoload_real.php

    r3372168 r3374955  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit69ae87371197cf8fddc46ac50510d2dd
     5class ComposerAutoloaderInitad56d15a6f1be570a576fe433b6f3316
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInit69ae87371197cf8fddc46ac50510d2dd', 'loadClassLoader'), true, true);
     27        spl_autoload_register(array('ComposerAutoloaderInitad56d15a6f1be570a576fe433b6f3316', 'loadClassLoader'), true, true);
    2828        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    29         spl_autoload_unregister(array('ComposerAutoloaderInit69ae87371197cf8fddc46ac50510d2dd', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInitad56d15a6f1be570a576fe433b6f3316', 'loadClassLoader'));
    3030
    3131        require __DIR__ . '/autoload_static.php';
    32         call_user_func(\Composer\Autoload\ComposerStaticInit69ae87371197cf8fddc46ac50510d2dd::getInitializer($loader));
     32        call_user_func(\Composer\Autoload\ComposerStaticInitad56d15a6f1be570a576fe433b6f3316::getInitializer($loader));
    3333
    3434        $loader->register(true);
    3535
    36         $includeFiles = \Composer\Autoload\ComposerStaticInit69ae87371197cf8fddc46ac50510d2dd::$files;
     36        $includeFiles = \Composer\Autoload\ComposerStaticInitad56d15a6f1be570a576fe433b6f3316::$files;
    3737        foreach ($includeFiles as $fileIdentifier => $file) {
    38             composerRequire69ae87371197cf8fddc46ac50510d2dd($fileIdentifier, $file);
     38            composerRequiread56d15a6f1be570a576fe433b6f3316($fileIdentifier, $file);
    3939        }
    4040
     
    4848 * @return void
    4949 */
    50 function composerRequire69ae87371197cf8fddc46ac50510d2dd($fileIdentifier, $file)
     50function composerRequiread56d15a6f1be570a576fe433b6f3316($fileIdentifier, $file)
    5151{
    5252    if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
  • seo-by-rank-math/trunk/vendor/composer/autoload_static.php

    r3372168 r3374955  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit69ae87371197cf8fddc46ac50510d2dd
     7class ComposerStaticInitad56d15a6f1be570a576fe433b6f3316
    88{
    99    public static $files = array (
     
    424424    {
    425425        return \Closure::bind(function () use ($loader) {
    426             $loader->prefixLengthsPsr4 = ComposerStaticInit69ae87371197cf8fddc46ac50510d2dd::$prefixLengthsPsr4;
    427             $loader->prefixDirsPsr4 = ComposerStaticInit69ae87371197cf8fddc46ac50510d2dd::$prefixDirsPsr4;
    428             $loader->classMap = ComposerStaticInit69ae87371197cf8fddc46ac50510d2dd::$classMap;
     426            $loader->prefixLengthsPsr4 = ComposerStaticInitad56d15a6f1be570a576fe433b6f3316::$prefixLengthsPsr4;
     427            $loader->prefixDirsPsr4 = ComposerStaticInitad56d15a6f1be570a576fe433b6f3316::$prefixDirsPsr4;
     428            $loader->classMap = ComposerStaticInitad56d15a6f1be570a576fe433b6f3316::$classMap;
    429429
    430430        }, null, ClassLoader::class);
  • seo-by-rank-math/trunk/vendor/composer/installed.json

    r3359063 r3374955  
    287287        {
    288288            "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",
    291291            "source": {
    292292                "type": "git",
    293293                "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",
    300300                "shasum": ""
    301301            },
     
    314314                "wp-media/phpunit": "^3"
    315315            },
    316             "time": "2025-09-08T14:54:11+00:00",
     316            "time": "2025-10-06T10:12:28+00:00",
    317317            "type": "library",
    318318            "installation-source": "dist",
     
    339339            "support": {
    340340                "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"
    342342            },
    343343            "install-path": "../wp-media/wp-mixpanel"
  • seo-by-rank-math/trunk/vendor/composer/installed.php

    r3372168 r3374955  
    22    'root' => array(
    33        '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',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    4848        ),
    4949        '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',
    5353            'type' => 'wordpress-plugin',
    5454            'install_path' => __DIR__ . '/../../',
     
    6666        ),
    6767        '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',
    7171            'type' => 'library',
    7272            'install_path' => __DIR__ . '/../wp-media/wp-mixpanel',
  • seo-by-rank-math/trunk/vendor/wp-media/wp-mixpanel/src/Tracking.php

    r3349482 r3374955  
    4646
    4747    /**
    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
    4966     *
    5067     * @param string  $event Event name.
    5168     * @param mixed[] $properties Event properties.
    5269     */
     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     */
    5384    public function track( string $event, array $properties ): void {
     85        $this->log_event( $event, $properties );
     86
    5487        $this->mixpanel->track( $event, $properties );
    5588    }
     
    146179
    147180        foreach ( $active_plugins as $plugin_path ) {
     181            if ( ! is_string( $plugin_path ) ) {
     182                continue;
     183            }
     184
    148185            if ( ! isset( $all_plugins[ $plugin_path ] ) ) {
    149186                continue;
Note: See TracChangeset for help on using the changeset viewer.