Making WordPress.org

Ticket #5019: 5019.diff

File 5019.diff, 828 bytes (added by chrisvanpatten, 5 years ago)

Patch to revert to manifest.json

  • wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/import-block-editor.php

    diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/import-block-editor.php wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/import-block-editor.php
    index 40d46470d..09d74beae 100644
    class DevHub_Block_Editor_Importer extends DevHub_Docs_Importer { 
    88                parent::do_init(
    99                        'blocks',
    1010                        'block-editor',
    11                         'https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/manifest-devhub.json'
     11                        'https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/manifest.json'
    1212                );
    1313
    1414                add_filter( 'template_redirect',               array( $this, 'redirects' ), 1 );