Making WordPress.org

Ticket #5266: 5266.patch

File 5266.patch, 992 bytes (added by mkaz, 5 years ago)
  • wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/import-block-editor.php

    diff --git a/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/import-block-editor.php b/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/import-block-editor.php
    index a50049b43..e04b5b9e6 100644
    a b class DevHub_Block_Editor_Importer extends DevHub_Docs_Importer { 
    55         * Initializes object.
    66         */
    77        public function init() {
    8                 if ( defined( 'WP_CORE_STABLE_BRANCH' ) ) {
    9                         $manifest = 'https://raw.githubusercontent.com/WordPress/gutenberg/wp/' . WP_CORE_STABLE_BRANCH . '/docs/manifest.json';
    10                 } else {
    11                         $manifest = 'https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/manifest.json';
    12                 }
     8                $manifest = 'https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/manifest.json';
    139
    1410                parent::do_init(
    1511                        'blocks',