Making WordPress.org

Changeset 9586


Ignore:
Timestamp:
03/14/2020 09:42:46 AM (5 years ago)
Author:
ocean90
Message:

Gutenberg theme: Fix incompatibilities with latest Gutenberg version.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/functions.php

    r9409 r9586  
    494494                    "page": {
    495495                        "rest_base": "pages",
    496                         "supports": {}
     496                        "supports": {},
     497                        "labels": {
     498                            "singular_name": "Page",
     499                        }
    497500                    },
    498501                    "wp_block": {
    499502                        "rest_base": "blocks",
    500                         "supports": {}
     503                        "supports": {},
     504                        "labels": {
     505                            "singular_name": "Block",
     506                        }
    501507                    }
    502508                } },
    503509                "/wp/v2/types/page?context=edit": { "body": {
    504510                    "rest_base": "pages",
    505                     "supports": {}
     511                    "supports": {},
     512                    "labels": {
     513                        "singular_name": "Page",
     514                    }
    506515                } },
    507516                "/wp/v2/types/wp_block?context=edit": { "body": {
    508517                    "rest_base": "blocks",
    509                     "supports": {}
     518                    "supports": {},
     519                    "labels": {
     520                        "singular_name": "Block",
     521                    }
    510522                } }
    511523            } ) );',
     
    583595            'wp-edit-post',
    584596            'wp.data.dispatch( "core/edit-post" ).closeGeneralSidebar();' .
    585             'wp.data.dispatch( "core/nux" ).disableTips();' .
    586597            '_wpLoadBlockEditor.then( function() { wp.blocks.unregisterBlockType( "core/shortcode" ); } );'
    587598        );
Note: See TracChangeset for help on using the changeset viewer.