You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 16, 2022. It is now read-only.
The call to get_pages() may be (rightly) cached because it is used to build an entire tree of all posts. However, because the value may be cached, it will not respected the current customized state, besides the fact that it doesn't use WP_Query to begin with.
Call \WP_Customize_Posts_Preview::preview_setup_postdata() on each of the items in the get_pages filter.
Ensure that newly-added pages are included and appear in the right sort order.
Beware of the $args for get_pages (other than post_type) and how get_pages would need to get re-applied. We have to initially support (per page_attributes_meta_box): post_type, exclude_tree, sort_column.