Connections-Business-Directory / Connections

Directory Plugin for WordPress
https://connections-pro.com
GNU General Public License v2.0
27 stars 18 forks source link

Categories not being updated in the cn_post_process_update-entry filter. #394

Open shazahm1 opened 10 years ago

shazahm1 commented 10 years ago

The reason is the ad hoc caching I'm using for storing/retrieving the associated entries categories. https://github.com/Connections-Business-Directory/Connections/blob/8.1.2/includes/class.retrieve.php#L1321

When this is updated to use cnCache make sure the cache is invalidated before the post add/update action/filters.

shazahm1 commented 10 years ago

I think the way to handle this is add a context option to cnCache so when query data the cache can be bypassed.