Making WordPress.org


Ignore:
Timestamp:
05/02/2019 07:41:55 AM (7 years ago)
Author:
coffee2code
Message:

Developer: Don't modify the markdown_source meta field value for the Block Editor handbook when running in WP-CLI.

See #4388.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/import-block-editor.php

    r8701 r8718  
    5959        public function fix_markdown_source_meta( $null, $object_id, $meta_key, $single ) {
    6060                if (
     61                        // Running under WP-CLI.
     62                        ( defined( 'WP_CLI' ) && WP_CLI )
     63                ||
    6164                        // Not the markdown source meta key.
    6265                        $meta_key !== $this->meta_key
Note: See TracChangeset for help on using the changeset viewer.