Plugin Directory

Changeset 3399575


Ignore:
Timestamp:
11/20/2025 09:52:27 AM (5 months ago)
Author:
khaxan
Message:

Trunk update

Location:
hummingbird-performance/trunk
Files:
16 added
6 edited

Legend:

Unmodified
Added
Removed
  • hummingbird-performance/trunk/core/class-core.php

    r3355534 r3399575  
    6969        add_action( 'admin_init', array( $this, 'upsell_notice' ), 9 );
    7070        add_filter( 'wpmudev_notices_is_disabled', array( $this, 'wpmudev_remove_email_from_disabled_list' ), 10, 3 );
     71        add_action( 'init', array( $this, 'wphb_init_bf_banner' ) );
    7172
    7273        Hub_Connector::get_instance();
     
    650651        $cross_sell_handler = new \WPMUDEV\Modules\Plugin_Cross_Sell( $submenu_params );
    651652    }
     653
     654    /**
     655     * Initialize Black Friday banner campaign.
     656     *
     657     * Loads and instantiates the Black Friday campaign module for free users only.
     658     *
     659     * @since 3.17.2
     660     *
     661     * @return void
     662     */
     663    public function wphb_init_bf_banner() {
     664        // Only show banner to free users.
     665        if ( Utils::is_member() ) {
     666            return;
     667        }
     668
     669        // Load the campaign class if not already loaded.
     670        if ( ! class_exists( '\WPMUDEV\Modules\BlackFriday\Campaign' ) ) {
     671            $black_friday_submodule = WPHB_DIR_PATH . 'core/externals/blackfriday/campaign.php';
     672
     673            // Verify file exists before attempting to load.
     674            if ( file_exists( $black_friday_submodule ) ) {
     675                require_once $black_friday_submodule;
     676                // Instantiate campaign if class is available.
     677                if ( class_exists( '\WPMUDEV\Modules\BlackFriday\Campaign' ) ) {
     678                    new \WPMUDEV\Modules\BlackFriday\Campaign();
     679                }
     680            }
     681        }
     682    }
    652683}
  • hummingbird-performance/trunk/languages/wphb-default.pot

    r3391184 r3399575  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Hummingbird 3.17.1\n"
     5"Project-Id-Version: Hummingbird 3.17.2\n"
    66"Report-Msgid-Bugs-To: https://wpmudev.com\n"
    7 "POT-Creation-Date: 2025-11-06 13:10:47+00:00\n"
     7"POT-Creation-Date: 2025-11-20 05:04:36+00:00\n"
    88"MIME-Version: 1.0\n"
    99"Content-Type: text/plain; charset=utf-8\n"
     
    322322#: admin/class-notices.php:490 admin/class-notices.php:748
    323323#: admin/pages/class-minification.php:375 core/class-utils.php:209
     324#: core/externals/blackfriday/includes/class-banner.php:397
    324325#: core/externals/free-dashboard/classes/notices/class-rating.php:82
    325326#: core/externals/plugin-notice/notice.php:485
     
    18081809#: admin/views/advanced/db-meta-box.php:44
    18091810#: admin/views/caching/page/meta-box.php:318
    1810 #: admin/views/minification/settings-meta-box.php:207 core/class-core.php:209
     1811#: admin/views/minification/settings-meta-box.php:207 core/class-core.php:210
    18111812msgid "Clear"
    18121813msgstr ""
     
    74117412msgstr ""
    74127413
    7413 #: core/class-core.php:193
     7414#: core/class-core.php:194
    74147415msgid "Clear all cache"
    74157416msgstr ""
    74167417
    7417 #: core/class-core.php:202
     7418#: core/class-core.php:203
    74187419msgid "Clear Cloudflare cache"
    74197420msgstr ""
    74207421
    7421 #: core/class-core.php:220
     7422#: core/class-core.php:221
    74227423msgid "Clear page cache on all subsites"
    74237424msgstr ""
    74247425
    7425 #: core/class-core.php:229
     7426#: core/class-core.php:230
    74267427msgid "See this page minified"
    74277428msgstr ""
    74287429
    7429 #: core/class-core.php:229
     7430#: core/class-core.php:230
    74307431msgid "See this page unminified"
    74317432msgstr ""
    74327433
    7433 #: core/class-core.php:332
     7434#: core/class-core.php:333
    74347435#. translators: %1$s - Text, %2$s - Link to privacy policy page
    74357436msgid "Third parties"
    74367437msgstr ""
    74377438
    7438 #: core/class-core.php:335
     7439#: core/class-core.php:336
    74397440#. translators: %1$s - opening a tag, %2$s - closing a tag
    74407441msgid ""
     
    74467447msgstr ""
    74477448
    7448 #: core/class-core.php:410
     7449#: core/class-core.php:411
    74497450#: core/externals/free-dashboard/classes/notices/class-email.php:94
    74507451#: core/externals/free-dashboard/classes/notices/class-email.php:213
     
    74527453msgstr ""
    74537454
    7454 #: core/class-core.php:465
     7455#: core/class-core.php:466
    74557456msgid "Go Back"
    74567457msgstr ""
    74577458
    7458 #: core/class-core.php:469
     7459#: core/class-core.php:470
    74597460msgid "Copy Test Link"
    74607461msgstr ""
    74617462
    7462 #: core/class-core.php:470
     7463#: core/class-core.php:471
    74637464msgid "Link Copied"
    74647465msgstr ""
    74657466
    7466 #: core/class-core.php:472 languages/react.php:774
     7467#: core/class-core.php:473 languages/react.php:774
    74677468msgid "Publish"
    74687469msgstr ""
    74697470
    7470 #: core/class-core.php:475
     7471#: core/class-core.php:476
    74717472msgid ""
    74727473"You are currently viewing the frontend of your website in Safe Mode "
     
    78597860"Found %s assets for optimization. These assets are now being optimized in "
    78607861"the background."
     7862msgstr ""
     7863
     7864#: core/externals/blackfriday/includes/class-action-links.php:77
     7865#: core/externals/blackfriday/includes/class-admin-menu.php:87
     7866msgid "Get Black Friday Deal"
     7867msgstr ""
     7868
     7869#: core/externals/blackfriday/includes/class-admin-menu.php:88
     7870msgid "WPMUDEV Black Friday Deal"
     7871msgstr ""
     7872
     7873#: core/externals/blackfriday/includes/class-banner.php:398
     7874msgid "Black Friday"
     7875msgstr ""
     7876
     7877#: core/externals/blackfriday/includes/class-banner.php:399
     7878msgid "Sale"
     7879msgstr ""
     7880
     7881#: core/externals/blackfriday/includes/class-banner.php:400
     7882msgid "Get 11 months for free"
     7883msgstr ""
     7884
     7885#: core/externals/blackfriday/includes/class-banner.php:401
     7886msgid "See the Deal"
    78617887msgstr ""
    78627888
  • hummingbird-performance/trunk/readme.txt

    r3391255 r3399575  
    11=== Hummingbird Performance - Cache & Page Speed Optimization for Core Web Vitals | Critical CSS | Minify CSS | Defer CSS Javascript | CDN ===
    22Plugin Name: Hummingbird Performance - Cache & Page Speed Optimization for Core Web Vitals | Critical CSS | Minify CSS | Defer CSS Javascript | CDN
    3 Version: 3.17.1
     3Version: 3.17.2
    44Author: WPMU DEV
    55Author URI: https://wpmudev.com/
     
    99Tested up to: 6.8
    1010Requires PHP: 7.4
    11 Stable tag: 3.17.1
     11Stable tag: 3.17.2
    1212License: GPLv2
    1313License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
     
    209209
    210210== Changelog ==
     211
     212= 3.17.2 ( 2025-11-20 ) =
     213- Improvement: Miscellaneous improvements
    211214
    212215= 3.17.1 ( 2025-11-06 ) =
  • hummingbird-performance/trunk/vendor/composer/autoload_static.php

    r3391184 r3399575  
    88{
    99    public static $prefixLengthsPsr4 = array (
    10         'P' => 
     10        'P' =>
    1111        array (
    1212            'Predis\\' => 7,
    1313        ),
    14         'H' => 
     14        'H' =>
    1515        array (
    1616            'Hummingbird\\Core\\' => 17,
     
    2020
    2121    public static $prefixDirsPsr4 = array (
    22         'Predis\\' => 
     22        'Predis\\' =>
    2323        array (
    2424            0 => __DIR__ . '/..' . '/predis/predis/src',
    2525        ),
    26         'Hummingbird\\Core\\' => 
     26        'Hummingbird\\Core\\' =>
    2727        array (
    2828            0 => __DIR__ . '/../..' . '/core',
    2929        ),
    30         'Hummingbird\\Admin\\' => 
     30        'Hummingbird\\Admin\\' =>
    3131        array (
    3232            0 => __DIR__ . '/../..' . '/admin',
  • hummingbird-performance/trunk/vendor/composer/installed.php

    r3391184 r3399575  
    22    'root' => array(
    33        'name' => 'incsub/wp-hummingbird',
    4         'pretty_version' => 'dev-release/3.17.1',
    5         'version' => 'dev-release/3.17.1',
    6         'reference' => 'b5ae7fcfa751217062322a736ba3c416d586147b',
     4        'pretty_version' => 'dev-release/3.17.2',
     5        'version' => 'dev-release/3.17.2',
     6        'reference' => 'eb6a2da7ff24498ac2972ff1b204f87300a50372',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        'incsub/wp-hummingbird' => array(
    14             'pretty_version' => 'dev-release/3.17.1',
    15             'version' => 'dev-release/3.17.1',
    16             'reference' => 'b5ae7fcfa751217062322a736ba3c416d586147b',
     14            'pretty_version' => 'dev-release/3.17.2',
     15            'version' => 'dev-release/3.17.2',
     16            'reference' => 'eb6a2da7ff24498ac2972ff1b204f87300a50372',
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
  • hummingbird-performance/trunk/wp-hummingbird.php

    r3391184 r3399575  
    1313 * Plugin URI:        https://wpmudev.com/project/wp-hummingbird/
    1414 * Description:       Hummingbird zips through your site finding new ways to make it load faster, from file compression and minification to browser caching – because when it comes to pagespeed, every millisecond counts.
    15  * Version:           3.17.1
     15 * Version:           3.17.2
    1616 * Requires PHP:      7.4
    1717 * Author:            WPMU DEV
     
    4545
    4646if ( ! defined( 'WPHB_VERSION' ) ) {
    47     define( 'WPHB_VERSION', '3.17.1' );
     47    define( 'WPHB_VERSION', '3.17.2' );
    4848}
    4949
Note: See TracChangeset for help on using the changeset viewer.