Changes between Initial Version and Version 1 of Ticket #31503
- Timestamp:
- 03/02/2015 12:57:07 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #31503
-
Property
Milestone
changed from
Awaiting Review
to4.2
-
Property
Milestone
changed from
-
Ticket #31503 – Description
initial v1 1 1 I may be mistaken, but there seems to be a flaw in wp_clean_update_cache. here is teh existing code: 2 {{{ 2 3 /** 3 4 * Clear existing update caches for plugins, themes, and core. … … 15 16 delete_site_transient( 'update_core' ); 16 17 } 18 }}} 17 19 If the function 'wp_clean_plugins_cache' exists, then it is called twice, once in the if...else and once outside the if...else. 18 20 If the function wp_clean_plugins_cache does not exist then delete_site_transient( 'update_plugins' ); will run (the else) but then you will get a fatal error 'call to an undefined function.