7 | 7 | * [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. |