[wp-trac] [WordPress Trac] #39610: Customize: Custom post types cannot be used in starter content

WordPress Trac noreply at wordpress.org
Thu Jan 19 00:00:28 UTC 2017


#39610: Customize: Custom post types cannot be used in starter content
---------------------------------------------+--------------------------
 Reporter:  westonruter                      |       Owner:  westonruter
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  4.7.2
Component:  Customize                        |     Version:  4.7
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+--------------------------
Changes (by westonruter):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"39924"]:
 {{{
 #!CommitTicketReference repository="" revision="39924"
 Customize: Allow custom post types to be used in starter content.

 Changes `WP_Customize_Nav_Menus::insert_auto_draft_post()` so it can be
 invoked for a `post_type` that is not registered (yet).

 See #38615, #38114.
 Fixes #39610.
 }}}

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


More information about the wp-trac mailing list