kylephillips / wp-nested-pages

A more intuitive way to manage pages and content structure in the WordPress admin
https://nestedpages.com
183 stars 64 forks source link

Delete post cache on update #349

Closed felipelavinz closed 11 months ago

felipelavinz commented 11 months ago

WordPress 6.3+ relies more heavily on object cache. If you update pages order with the plugin, and then edit a page, the "order" attribute on the "Page Attributes" field will have the value prior to updating the order with the plugin. You can also check this using wp-cli.

Deleting the post from object cache will avoid the stale data.