WordPress.org

Making WordPress.org

Changeset 7534


Ignore:
Timestamp:
07/30/2018 07:36:55 AM (3 years ago)
Author:
dd32
Message:

Gutenberg: After [7523] add some gutenberg-specific REST API fields.

See #3703.

File:
1 edited

Legend:

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

    r7531 r7534  
    148148            'parent' => 0, 'menu_order' => 0, 'author' => 0, 'featured_media' => 0,
    149149            'comment_status' => 'closed', 'ping_status' => 'closed', 'template' => '', 'meta' => [], '_links' => [],
    150             'type' => 'page', 'slug' => '', 'status' => 'draft',
     150            'type' => 'page', 'status' => 'draft',
     151            'slug' => '', 'generated_slug' => '', 'permalink_template' => home_url('/'),
    151152            'excerpt' => array( 'raw' => '' ),
    152153            'title' => array(
Note: See TracChangeset for help on using the changeset viewer.