Docs: Clarify docs for hooked count/date updates
See #41017. Built from https://develop.svn.wordpress.org/trunk@41666 git-svn-id: http://core.svn.wordpress.org/trunk@41500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
78880a6a0b
commit
bdd50f28b4
|
@ -1230,7 +1230,8 @@ function _prime_network_caches( $network_ids ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Handler for updating the blog date when a post is published or an already published post is changed.
|
* Handler for updating the site's last updated date when a post is published or
|
||||||
|
* an already published post is changed.
|
||||||
*
|
*
|
||||||
* @since 3.3.0
|
* @since 3.3.0
|
||||||
*
|
*
|
||||||
|
@ -1254,7 +1255,8 @@ function _update_blog_date_on_post_publish( $new_status, $old_status, $post ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Handler for updating the blog date when a published post is deleted.
|
* Handler for updating the current site's last updated date when a published
|
||||||
|
* post is deleted.
|
||||||
*
|
*
|
||||||
* @since 3.4.0
|
* @since 3.4.0
|
||||||
*
|
*
|
||||||
|
@ -1276,7 +1278,7 @@ function _update_blog_date_on_post_delete( $post_id ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Handler for updating the blog posts count date when a post is deleted.
|
* Handler for updating the current site's posts count when a post is deleted.
|
||||||
*
|
*
|
||||||
* @since 4.0.0
|
* @since 4.0.0
|
||||||
*
|
*
|
||||||
|
@ -1293,7 +1295,7 @@ function _update_posts_count_on_delete( $post_id ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Handler for updating the blog posts count date when a post status changes.
|
* Handler for updating the current site's posts count when a post status changes.
|
||||||
*
|
*
|
||||||
* @since 4.0.0
|
* @since 4.0.0
|
||||||
* @since 4.9.0 Added the `$post` parameter.
|
* @since 4.9.0 Added the `$post` parameter.
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.9-alpha-41665';
|
$wp_version = '4.9-alpha-41666';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue