[wp-trac] [WordPress Trac] #46261: Args for register_post_type() missing blocks $template.

WordPress Trac noreply at wordpress.org
Wed Nov 4 01:03:37 UTC 2020


#46261: Args for register_post_type() missing blocks $template.
--------------------------+-------------------------
 Reporter:  milana_cap    |       Owner:  noisysocks
     Type:  defect (bug)  |      Status:  reviewing
 Priority:  normal        |   Milestone:  5.6
Component:  Editor        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+-------------------------

Comment (by noisysocks):

 In [changeset:"49492" 49492]:
 {{{
 #!CommitTicketReference repository="" revision="49492"
 Editor: Add explicit template and template_lock attributes

 Add and document the template and template_lock attributes on WP_Post_Type
 that
 are used by the block editor.

 Props metalandcoffee.
 See #46261.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46261#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list