[wp-trac] [WordPress Trac] #36984: Customizer Menus: Show Pages at the top of the list, expanded

WordPress Trac noreply at wordpress.org
Tue Sep 20 04:09:36 UTC 2016


#36984: Customizer Menus: Show Pages at the top of the list, expanded
-------------------------+---------------------------------
 Reporter:  melchoyce    |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Menus        |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:  ui, administration
-------------------------+---------------------------------

Comment (by ryankienstra):

 '''In Progress'''
 ''Commit moves pages to top of new menu items''

 Hi @melchoyce,
 This [https://github.com/xwp/wordpress-
 develop/commit/b279acbcff3f38f3a5337239415d6b29b5c0e5f1 commit] moves the
 pages to the top of the new menu item UI. But it doesn't expand the
 accordion yet:

 * [https://github.com/xwp/wordpress-
 develop/commit/b279acbcff3f38f3a5337239415d6b29b5c0e5f1 b279a] : Display
 pages at top of new menu item frame. Before, when choosing a new menu
 item, pages were third in the order. Change this order by decomposing the
 markup into [https://github.com/xwp/wordpress-
 develop/commit/b279acbcff3f38f3a5337239415d6b29b5c0e5f1#diff-
 49c6fb18cfad3f9946aa8ca15b809b3fR924 2] [https://github.com/xwp/wordpress-
 develop/commit/b279acbcff3f38f3a5337239415d6b29b5c0e5f1#diff-
 49c6fb18cfad3f9946aa8ca15b809b3fR967 functions]. There's very little
 change in the markup. Pass an argument to function [https://github.com/xwp
 /wordpress-develop/commit/b279acbcff3f38f3a5337239415d6b29b5c0e5f1#diff-
 49c6fb18cfad3f9946aa8ca15b809b3fR924
 conditionally_print_post_type_containers]. This controls the type of
 container it will print. The [https://github.com/xwp/wordpress-
 develop/commit/b279acbcff3f38f3a5337239415d6b29b5c0e5f1#diff-
 49c6fb18cfad3f9946aa8ca15b809b3fR899 first call] only prints pages, the
 [https://github.com/xwp/wordpress-
 develop/commit/b279acbcff3f38f3a5337239415d6b29b5c0e5f1#diff-
 49c6fb18cfad3f9946aa8ca15b809b3fR904 second call] prints everything but
 pages.

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


More information about the wp-trac mailing list