Clear Post Cache in sorting interface as well
-
Hi,
additionally to clearing the post cache in archive view, like suggested here https://www.ads-software.com/support/topic/clear-post-cache-after-updating-menu-order/ and since been implemented, the post cache also needs to be cleared when using the Interface.When I reload, I still get the old order within the interface unless I manually clean the post cache.
Adding
clean_post_cache( $id );
after Line 379 and 397 fixes the issue for me.https://plugins.trac.www.ads-software.com/browser/post-types-order/tags/1.9.9.2/include/class.cpto.php#L397 and https://plugins.trac.www.ads-software.com/browser/post-types-order/tags/1.9.9.2/include/class.cpto.php#L379
Maybe related: I’m using nginx with page cache.
- The topic ‘Clear Post Cache in sorting interface as well’ is closed to new replies.