Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #36984, comment 1


Ignore:
Timestamp:
09/20/2016 04:11:30 AM (8 years ago)
Author:
ryankienstra
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36984, comment 1

    initial v1  
    66
    77* [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.
     8
     9Here's an [https://github.com/xwp/wordpress-develop/commit/b279acbcff3f38f3a5337239415d6b29b5c0e5f1.diff identical patch].