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

WordPress Trac noreply at wordpress.org
Tue Feb 21 07:01:10 UTC 2017


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

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


Comment:

 In [changeset:"40098"]:
 {{{
 #!CommitTicketReference repository="" revision="40098"
 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).

 Props westonruter.
 Merges [39924] to the 4.7 branch.
 See #38615, #38114.
 Fixes #39610.
 }}}

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


More information about the wp-trac mailing list