mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 17:20:07 +00:00
Call clean_post_cache() in wp_insert_post() after the manual query to change GUID. Remove the second call to clean_post_cache() previously done on the save_post hook. see #11399.
git-svn-id: https://develop.svn.wordpress.org/trunk@21943 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -3244,3 +3244,11 @@ function user_pass_ok($user_login, $user_pass) {
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Callback formerly fired on the save_post hook. No longer needed.
|
||||
*
|
||||
* @since 2.3.0
|
||||
* @deprecated 3.5.0
|
||||
*/
|
||||
function _save_post_hook() {}
|
||||
Reference in New Issue
Block a user