Plugin Directory

Changeset 2764618

Timestamp:
08/01/2022 02:10:49 PM (2 years ago)
Author:
mreishus
Message:

Update Editing Toolkit Plugin to 3.38384

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

Legend:

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

    r2764494 r2764618  
    1 commit_hash=561bd5f37dfeddb927d19b69b2147fd00a53feea
    2 commit_url=https://github.com/Automattic/wp-calypso/commit/561bd5f37dfeddb927d19b69b2147fd00a53feea
    3 build_number=3.38371
     1commit_hash=
     2commit_url=https://github.com/Automattic/wp-calypso/commit/
     3build_number=3.383
  • full-site-editing/trunk/full-site-editing-plugin.php

    r2764494 r2764618  
    33 * Plugin Name: WordPress.com Editing Toolkit
    44 * Description: Enhances your page creation workflow within the Block Editor.
    5  * Version: 3.38371
     5 * Version: 3.383
    66 * Author: Automattic
    77 * Author URI: https://automattic.com/wordpress-plugins/
     
    4343 * @var string
    4444 */
    45 define( 'A8C_ETK_PLUGIN_VERSION', '3.38371' );
     45define( 'A8C_ETK_PLUGIN_VERSION', '3.383' );
    4646
    4747// Always include these helper files for dotcom FSE.
  • full-site-editing/trunk/readme.txt

    r2764494 r2764618  
    44Requires at least: 5.5
    55Tested up to: 6.0
    6 Stable tag: 3.38371
     6Stable tag: 3.383
    77Requires PHP: 5.6.20
    88License: GPLv2 or later
  • full-site-editing/trunk/starter-page-templates/class-starter-page-templates.php

    r2718247 r2764618  
    2222    /**
    2323     * Cache key for templates array.
     24
    2425     *
    2526     * @var string
     
    3132     */
    3233    private function __construct() {
    33         $this->templates_cache_key = implode(
    34             '_',
    35             array(
    36                 'starter_page_templates',
    37                 A8C_ETK_PLUGIN_VERSION,
    38                 get_option( 'site_vertical', 'default' ),
    39                 $this->get_verticals_locale(),
    40             )
    41         );
    42 
    4334        add_action( 'init', array( $this, 'register_scripts' ) );
    4435        add_action( 'init', array( $this, 'register_meta_field' ) );
     
    4738        add_action( 'delete_attachment', array( $this, 'clear_sideloaded_image_cache' ) );
    4839        add_action( 'switch_theme', array( $this, 'clear_templates_cache' ) );
     40
     41
     42
     43
     44
     45
     46
     47
     48
     49
     50
     51
     52
     53
     54
     55
     56
     57
     58
     59
    4960    }
    5061
     
    201212     */
    202213    public function get_page_templates() {
    203         $page_template_data = get_transient( $this->templates_cache_key );
     214        $page_template_data = get_transient( $this-> );
    204215
    205216        $override_source_site = apply_filters( 'a8c_override_patterns_source_site', false );
     
    235246            // Only save to cache if we have not overridden the source site.
    236247            if ( false === $override_source_site ) {
    237                 set_transient( $this->templates_cache_key, $page_template_data, DAY_IN_SECONDS );
     248                set_transient( $this->, $page_template_data, DAY_IN_SECONDS );
    238249            }
    239250
     
    260271     */
    261272    public function clear_templates_cache() {
    262         delete_transient( $this->templates_cache_key );
     273        delete_transient( $this-> );
    263274    }
    264275
Note: See TracChangeset for help on using the changeset viewer.