[wp-trac] [WordPress Trac] #38122: Ensure page/post stubs are available in available nav menu item searches

WordPress Trac noreply at wordpress.org
Wed Sep 21 22:10:10 UTC 2016


#38122: Ensure page/post stubs are available in available nav menu item searches
--------------------------+-------------------------
 Reporter:  westonruter   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  4.7
Component:  Customize     |    Version:
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:                |
--------------------------+-------------------------
 The ability to create new post/page stubs was added in #34923. However,
 these posts/pages do not appear when doing a search. Similarly, if new
 posts/pages are created during a customizer session (such as via the
 Customize Posts plugin) then similarly these posts will not appear. The
 reason stems from the fact that the `customized` state is not being
 included in the admin-ajax requests and the settings are not previewed.
 Something similar was done for `update-widget` requests in [33488] for
 #32814.

 The required code can be seen in Customize Posts, which has a polyfill:
 https://github.com/xwp/wp-customize-
 posts/pull/288/commits/de381a06e527311182e311270f39408462251563

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38122>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list