mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Networks and sites: Replace "blog" usage with "site" in docs.
Multisite functions use the term "blog" to refer to what we now call a "site," e.g. `get_current_blog_id()`. These functions are here to stay because of our commitment to backwards compatibility. What we can do is set the documentation straight. See #35417. git-svn-id: https://develop.svn.wordpress.org/trunk@36416 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* Update the last_updated field for the current blog.
|
||||
* Update the last_updated field for the current site.
|
||||
*
|
||||
* @since MU
|
||||
*
|
||||
@@ -24,7 +24,7 @@ function wpmu_update_blogs_date() {
|
||||
*
|
||||
* @since MU
|
||||
*
|
||||
* @param int $blog_id Blog ID.
|
||||
* @param int $blog_id Site ID.
|
||||
*/
|
||||
do_action( 'wpmu_blog_updated', $wpdb->blogid );
|
||||
}
|
||||
@@ -991,4 +991,3 @@ function _update_posts_count_on_transition_post_status( $new_status, $old_status
|
||||
|
||||
update_posts_count();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user