arseni
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
5.0.6 helped! Thanks a million!
We don’t. but we do have a bunch of other plugins. Stack trace should help – will try to get it.
Forum: Plugins
In reply to: [W3 Total Cache] Slowing dowm admin panelHere is what I’ve discovered:
When Object cache is enabled, WordPress does update_plugins ( and themes as well, but I will focus on plugins here ) on each load of admin panel.
reason:
_maybe_update_plugins() is getting the time of last plugin update using
get_site_transient( 'update_plugins' );and here is what happens:
function get_site_transient( $transient ) { ... if ( wp_using_ext_object_cache() ) { //Returns true when Obj. cache is enabled.</strong> $value = wp_cache_get( $transient, 'site-transient' ); //DOES NOT RETURN PROPER RESULT! ...Same thing happens to update_themes
- This reply was modified 9 years, 7 months ago by arseni. Reason: formatting
Just realized, that it’s a pretty simple fix.
Usernoise actually has nice filters, that we can use w/o modifying plugin itself. Thanks Guys!add_filter( 'un_feedback_received_message', 'my_filter', 999 ,3 ); //Make sure you call add_filter and request 3 params to be accepted function my_filter($message, $id, $params) { return $message."\n\r"."Page URL: ".$params['referer']; }
Viewing 4 replies - 1 through 4 (of 4 total)