Plugin Directory

Changeset 3132411


Ignore:
Timestamp:
08/08/2024 03:48:20 AM (20 months ago)
Author:
arthur791004
Message:

Update Editing Toolkit Plugin to 4.30504

Location:
full-site-editing/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • full-site-editing/trunk/build_meta.json

    r3131460 r3132411  
    11{
    2   "build_number": "4.30290",
    3   "cache_buster": "d81342fff07",
    4   "commit_hash": "d81342fff07819172b04fc73698b29d183f640dc",
    5   "commit_url": "https://github.com/Automattic/wp-calypso/commit/d81342fff07819172b04fc73698b29d183f640dc"
     2  "build_number": "4.30504",
     3  "cache_buster": "96f529c9c05",
     4  "commit_hash": "96f529c9c05560cd52c8ca7e6f36520f68ce2617",
     5  "commit_url": "https://github.com/Automattic/wp-calypso/commit/96f529c9c05560cd52c8ca7e6f36520f68ce2617"
    66}
  • full-site-editing/trunk/full-site-editing-plugin.php

    r3131460 r3132411  
    33 * Plugin Name: WordPress.com Editing Toolkit
    44 * Description: Enhances your page creation workflow within the Block Editor.
    5  * Version: 4.30290
     5 * Version: 4.30504
    66 * Author: Automattic
    77 * Author URI: https://automattic.com/wordpress-plugins/
     
    4343 * @var string
    4444 */
    45 define( 'A8C_ETK_PLUGIN_VERSION', '4.30290' );
    46 
    47 // Always include these helper files for dotcom FSE.
    48 require_once __DIR__ . '/dotcom-fse/helpers.php';
    49 
    50 // Enqueues the shared JS data stores and defines shared helper functions.
    51 require_once __DIR__ . '/common/index.php';
     45define( 'A8C_ETK_PLUGIN_VERSION', '4.30504' );
    5246
    5347/**
     
    6458    Full_Site_Editing::get_instance();
    6559}
    66 add_action( 'plugins_loaded', __NAMESPACE__ . '\load_full_site_editing' );
    6760
    6861/**
     
    9487    Posts_List_Block::get_instance();
    9588}
    96 add_action( 'plugins_loaded', __NAMESPACE__ . '\load_posts_list_block' );
    9789
    9890/**
     
    125117    Starter_Page_Templates::get_instance();
    126118}
    127 add_action( 'plugins_loaded', __NAMESPACE__ . '\load_starter_page_templates' );
    128119
    129120/**
     
    137128    require_once __DIR__ . '/global-styles/class-global-styles.php';
    138129}
    139 add_action( 'plugins_loaded', __NAMESPACE__ . '\load_global_styles' );
    140130
    141131/**
     
    149139    require_once __DIR__ . '/event-countdown-block/index.php';
    150140}
    151 add_action( 'plugins_loaded', __NAMESPACE__ . '\load_countdown_block' );
    152141
    153142/**
     
    161150    require_once __DIR__ . '/jetpack-timeline/index.php';
    162151}
    163 add_action( 'plugins_loaded', __NAMESPACE__ . '\load_timeline_block' );
    164152
    165153/**
     
    217205    }
    218206}
    219 add_action( 'wp_enqueue_scripts', __NAMESPACE__ . '\enqueue_coblocks_gallery_scripts' );
     207
     208/**
     209 * Load CoBlocks gallery.
     210 */
     211function load_coblocks_gallery() {
     212    add_action( 'wp_enqueue_scripts', __NAMESPACE__ . '\enqueue_coblocks_gallery_scripts' );
     213}
    220214
    221215/**
     
    250244    require_once __DIR__ . '/newspack-blocks/index.php';
    251245}
    252 add_action( 'plugins_loaded', __NAMESPACE__ . '\load_blog_posts_block' );
    253246
    254247/**
     
    262255    require_once __DIR__ . '/wpcom-block-editor-nux/class-wpcom-block-editor-nux.php';
    263256}
    264 add_action( 'plugins_loaded', __NAMESPACE__ . '\load_wpcom_block_editor_nux' );
    265257
    266258/**
     
    274266    require_once __DIR__ . '/block-inserter-modifications/index.php';
    275267}
    276 add_action( 'plugins_loaded', __NAMESPACE__ . '\load_block_inserter_modifications' );
    277268
    278269/**
     
    286277    require_once __DIR__ . '/mailerlite/subscriber-popup.php';
    287278}
    288 add_action( 'plugins_loaded', __NAMESPACE__ . '\load_mailerlite' );
    289279
    290280/**
     
    298288    require_once __DIR__ . '/whats-new/class-whats-new.php';
    299289}
    300 add_action( 'plugins_loaded', __NAMESPACE__ . '\load_whats_new' );
    301290
    302291/**
     
    310299    require_once __DIR__ . '/tags-education/class-tags-education.php';
    311300}
    312 add_action( 'plugins_loaded', __NAMESPACE__ . '\load_tags_education' );
    313301
    314302/**
     
    322310    require_once __DIR__ . '/paragraph-block/index.php';
    323311}
    324 add_action( 'plugins_loaded', __NAMESPACE__ . '\load_paragraph_block' );
    325312
    326313/**
     
    334321    require_once __DIR__ . '/wpcom-documentation-links/class-wpcom-documentation-links.php';
    335322}
    336 add_action( 'plugins_loaded', __NAMESPACE__ . '\load_wpcom_documentation_links' );
    337323
    338324/**
     
    346332    require_once __DIR__ . '/wpcom-block-description-links/class-wpcom-block-description-links.php';
    347333}
    348 add_action( 'plugins_loaded', __NAMESPACE__ . '\load_block_description_links' );
    349334
    350335/**
     
    358343    require_once __DIR__ . '/wpcom-global-styles/index.php';
    359344}
    360 add_action( 'plugins_loaded', __NAMESPACE__ . '\load_wpcom_global_styles' );
     345
     346/**
     347 * Load features of the ETK plugin.
     348 */
     349function load_editing_toolkit_features() {
     350    /**
     351     * Turn off the ETK plugin features if the Jetpack_Mu_Wpcom is available and its version is v5.55.0-alpha and above.
     352     */
     353    if ( class_exists( '\Automattic\Jetpack\Jetpack_Mu_Wpcom', false ) && version_compare( \Automattic\Jetpack\Jetpack_Mu_Wpcom::PACKAGE_VERSION, '5.55.0-alpha', '>=' ) ) {
     354        return;
     355    }
     356
     357    // Always include these helper files for dotcom FSE.
     358    require_once __DIR__ . '/dotcom-fse/helpers.php';
     359
     360    // Enqueues the shared JS data stores and defines shared helper functions.
     361    require_once __DIR__ . '/common/index.php';
     362
     363    load_full_site_editing();
     364    load_posts_list_block();
     365    load_starter_page_templates();
     366    load_global_styles();
     367    load_countdown_block();
     368    load_timeline_block();
     369    load_coblocks_gallery();
     370    load_blog_posts_block();
     371    load_wpcom_block_editor_nux();
     372    load_block_inserter_modifications();
     373    load_mailerlite();
     374    load_whats_new();
     375    load_tags_education();
     376    load_paragraph_block();
     377    load_wpcom_documentation_links();
     378    load_block_description_links();
     379    load_wpcom_global_styles();
     380}
     381add_action( 'plugins_loaded', __NAMESPACE__ . '\load_editing_toolkit_features' );
  • full-site-editing/trunk/readme.txt

    r3131460 r3132411  
    44Requires at least: 5.5
    55Tested up to: 6.3
    6 Stable tag: 4.30290
     6Stable tag: 4.30504
    77Requires PHP: 5.6.20
    88License: GPLv2 or later
  • full-site-editing/trunk/wpcom-block-editor-nux/dist/wpcom-block-editor-nux.js

    r3131460 r3132411  
    1128311283/* harmony export */   Xf: () => (/* binding */ START_WRITING_FLOW)
    1128411284/* harmony export */ });
    11285 /* unused harmony exports ACCOUNT_FLOW, AI_ASSEMBLER_FLOW, NEWSLETTER_FLOW, NEWSLETTER_POST_SETUP_FLOW, HOSTING_LP_FLOW, NEW_HOSTED_SITE_FLOW, NEW_HOSTED_SITE_FLOW_USER_INCLUDED, TRANSFERRING_HOSTED_SITE_FLOW, LINK_IN_BIO_FLOW, LINK_IN_BIO_TLD_FLOW, LINK_IN_BIO_POST_SETUP_FLOW, CONNECT_DOMAIN_FLOW, VIDEOPRESS_FLOW, VIDEOPRESS_ACCOUNT, VIDEOPRESS_TV_FLOW, VIDEOPRESS_TV_PURCHASE_FLOW, IMPORT_FOCUSED_FLOW, IMPORT_HOSTED_SITE_FLOW, SENSEI_FLOW, ECOMMERCE_FLOW, ENTREPRENEUR_FLOW, WOOEXPRESS_FLOW, FREE_FLOW, FREE_POST_SETUP_FLOW, MIGRATION_FLOW, SITE_MIGRATION_FLOW, MIGRATION_SIGNUP_FLOW, HOSTED_SITE_MIGRATION_FLOW, COPY_SITE_FLOW, BUILD_FLOW, WRITE_FLOW, SITE_SETUP_FLOW, WITH_THEME_FLOW, WITH_THEME_ASSEMBLER_FLOW, ASSEMBLER_FIRST_FLOW, READYMADE_TEMPLATE_FLOW, UPDATE_DESIGN_FLOW, DOMAIN_UPSELL_FLOW, DOMAIN_TRANSFER, GOOGLE_TRANSFER, HUNDRED_YEAR_PLAN_FLOW, REBLOGGING_FLOW, DOMAIN_FOR_GRAVATAR_FLOW, ONBOARDING_FLOW, ONBOARDING_GUIDED_FLOW, EMAIL_SUBSCRIPTION_FLOW, isLinkInBioFlow, isNewsletterFlow, isFreeFlow, isNewsletterOrLinkInBioFlow, isTailoredSignupFlow, isEntrepreneurSignupFlow, isHostingSignupFlow, isNewHostedSiteCreationFlow, isTransferringHostedSiteCreationFlow, isAnyHostingFlow, isAnyMigrationFlow, isMigrationFlow, isCopySiteFlow, isEntrepreneurFlow, isWooExpressFlow, isNewSiteMigrationFlow, isMigrationSignupFlow, isHostedSiteMigrationFlow, isBuildFlow, isWriteFlow, isUpdateDesignFlow, isStartWritingFlow, isDesignFirstFlow, isBlogOnboardingFlow, isOnboardingGuidedFlow, isDomainUpsellFlow, isSiteAssemblerFlow, isReadymadeFlow, isWithThemeAssemblerFlow, isWithThemeFlow, isSiteSetupFlow, isSenseiFlow, ecommerceFlowRecurTypes, isVideoPressFlow, isVideoPressTVFlow, isDomainForGravatarFlow */
     11285/* unused harmony exports ACCOUNT_FLOW, AI_ASSEMBLER_FLOW, NEWSLETTER_FLOW, NEWSLETTER_POST_SETUP_FLOW, HOSTING_LP_FLOW, NEW_HOSTED_SITE_FLOW, NEW_HOSTED_SITE_FLOW_USER_INCLUDED, TRANSFERRING_HOSTED_SITE_FLOW, LINK_IN_BIO_FLOW, LINK_IN_BIO_TLD_FLOW, LINK_IN_BIO_POST_SETUP_FLOW, CONNECT_DOMAIN_FLOW, VIDEOPRESS_FLOW, VIDEOPRESS_ACCOUNT, VIDEOPRESS_TV_FLOW, VIDEOPRESS_TV_PURCHASE_FLOW, IMPORT_FOCUSED_FLOW, IMPORT_HOSTED_SITE_FLOW, SENSEI_FLOW, ECOMMERCE_FLOW, ENTREPRENEUR_FLOW, WOOEXPRESS_FLOW, FREE_FLOW, FREE_POST_SETUP_FLOW, MIGRATION_FLOW, SITE_MIGRATION_FLOW, MIGRATION_SIGNUP_FLOW, HOSTED_SITE_MIGRATION_FLOW, HOSTED_SITE_MIGRATION_V2_FLOW, COPY_SITE_FLOW, BUILD_FLOW, WRITE_FLOW, SITE_SETUP_FLOW, WITH_THEME_FLOW, WITH_THEME_ASSEMBLER_FLOW, ASSEMBLER_FIRST_FLOW, READYMADE_TEMPLATE_FLOW, UPDATE_DESIGN_FLOW, DOMAIN_UPSELL_FLOW, DOMAIN_TRANSFER, GOOGLE_TRANSFER, HUNDRED_YEAR_PLAN_FLOW, REBLOGGING_FLOW, DOMAIN_FOR_GRAVATAR_FLOW, ONBOARDING_FLOW, ONBOARDING_GUIDED_FLOW, EMAIL_SUBSCRIPTION_FLOW, isLinkInBioFlow, isNewsletterFlow, isFreeFlow, isNewsletterOrLinkInBioFlow, isTailoredSignupFlow, isEntrepreneurSignupFlow, isHostingSignupFlow, isNewHostedSiteCreationFlow, isTransferringHostedSiteCreationFlow, isAnyHostingFlow, isAnyMigrationFlow, isMigrationFlow, isCopySiteFlow, isEntrepreneurFlow, isWooExpressFlow, isNewSiteMigrationFlow, isMigrationSignupFlow, isHostedSiteMigrationFlow, isBuildFlow, isWriteFlow, isUpdateDesignFlow, isStartWritingFlow, isDesignFirstFlow, isBlogOnboardingFlow, isOnboardingGuidedFlow, isDomainUpsellFlow, isSiteAssemblerFlow, isReadymadeFlow, isWithThemeAssemblerFlow, isWithThemeFlow, isSiteSetupFlow, isSenseiFlow, ecommerceFlowRecurTypes, isVideoPressFlow, isVideoPressTVFlow, isDomainForGravatarFlow */
    1128611286const ACCOUNT_FLOW = 'account';
    1128711287const AI_ASSEMBLER_FLOW = 'ai-assembler';
     
    1131211312const MIGRATION_SIGNUP_FLOW = 'migration-signup';
    1131311313const HOSTED_SITE_MIGRATION_FLOW = 'hosted-site-migration';
     11314const HOSTED_SITE_MIGRATION_V2_FLOW = 'hosted-site-migration-v2';
    1131411315const COPY_SITE_FLOW = 'copy-site';
    1131511316const BUILD_FLOW = 'build';
Note: See TracChangeset for help on using the changeset viewer.