Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: pattern rendering issue (#66022)
When navigating between the "All Patterns" tab (specifically on page 2) and the "Template Parts" tab, the patterns fail to load correctly, and a "No Results" message is displayed. This commit checks for a previous post type, and, if different, resets the pagination to page 1 to ensure the first page of new post types are shown. --------- Co-authored-by: dhruvang21 <dhruvang21@git.wordpress.org> Co-authored-by: ramonjd <ramonopoly@git.wordpress.org> Co-authored-by: talldan <talldanwp@git.wordpress.org>
- Loading branch information