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 has been 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.
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 useWP_Query
to begin with.\WP_Customize_Posts_Preview::preview_setup_postdata()
on each of the items in theget_pages
filter.Ensure newly added posts via nav menus are included (the auto-drafts amongSee Ensure that post/page stubs created for nav menu items in WP4.7 can be edited #253.nav_menus_created_posts
).$args
forget_pages
(other thanpost_type
) and howget_pages
would need to get re-applied. We have to initially support (perpage_attributes_meta_box
):post_type
,exclude_tree
,sort_column
.This is a dependency for #65
The text was updated successfully, but these errors were encountered: