Make WordPress Core


Ignore:
Timestamp:
11/08/2021 11:09:53 PM (5 years ago)
Author:
noisysocks
Message:

Editor: Add block theme infrastructure

Adds the required infrastructure to render block-based themes. This is sourced
from the Gutenberg plugin.

Fixes #54335.
Props bernhard-reiter, youknowriad, ntsekouras, hellofromtonya.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-block-template.php

    r51003 r52062  
    101101         */
    102102        public $has_theme_file;
     103
     104        /**
     105         * Whether a template is a custom template.
     106         *
     107         * @since 5.9.0
     108         *
     109         * @var boolean
     110         */
     111        public $is_custom = true;
    103112}
Note: See TracChangeset for help on using the changeset viewer.