From 3d4f2f2feaf6905571c4ab22a2084bc7e2248360 Mon Sep 17 00:00:00 2001 From: Jeremy Felt Date: Thu, 30 Mar 2017 04:36:43 +0000 Subject: [PATCH] Multisite: Correct documentation for site status change hooks. Props johnbillion. Fixes #40287. Built from https://develop.svn.wordpress.org/trunk@40352 git-svn-id: http://core.svn.wordpress.org/trunk@40259 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/ms-blogs.php | 16 ++++++++-------- wp-includes/version.php | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/wp-includes/ms-blogs.php b/wp-includes/ms-blogs.php index 32e331e0ec..01bb98672c 100644 --- a/wp-includes/ms-blogs.php +++ b/wp-includes/ms-blogs.php @@ -339,7 +339,7 @@ function update_blog_details( $blog_id, $details = array() ) { if ( $details['spam'] != $current_details['spam'] ) { if ( $details['spam'] == 1 ) { /** - * Fires when the blog status is changed to 'spam'. + * Fires when the 'spam' status is added to a blog. * * @since MU * @@ -348,7 +348,7 @@ function update_blog_details( $blog_id, $details = array() ) { do_action( 'make_spam_blog', $blog_id ); } else { /** - * Fires when the blog status is changed to 'ham'. + * Fires when the 'spam' status is removed from a blog. * * @since MU * @@ -362,7 +362,7 @@ function update_blog_details( $blog_id, $details = array() ) { if ( $details['mature'] != $current_details['mature'] ) { if ( $details['mature'] == 1 ) { /** - * Fires when the blog status is changed to 'mature'. + * Fires when the 'mature' status is added to a blog. * * @since 3.1.0 * @@ -371,7 +371,7 @@ function update_blog_details( $blog_id, $details = array() ) { do_action( 'mature_blog', $blog_id ); } else { /** - * Fires when the blog status is changed to 'unmature'. + * Fires when the 'mature' status is removed from a blog. * * @since 3.1.0 * @@ -385,7 +385,7 @@ function update_blog_details( $blog_id, $details = array() ) { if ( $details['archived'] != $current_details['archived'] ) { if ( $details['archived'] == 1 ) { /** - * Fires when the blog status is changed to 'archived'. + * Fires when the 'archived' status is added to a blog. * * @since MU * @@ -394,7 +394,7 @@ function update_blog_details( $blog_id, $details = array() ) { do_action( 'archive_blog', $blog_id ); } else { /** - * Fires when the blog status is changed to 'unarchived'. + * Fires when the 'archived' status is removed from a blog. * * @since MU * @@ -408,7 +408,7 @@ function update_blog_details( $blog_id, $details = array() ) { if ( $details['deleted'] != $current_details['deleted'] ) { if ( $details['deleted'] == 1 ) { /** - * Fires when the blog status is changed to 'deleted'. + * Fires when the 'deleted' status is added to a blog. * * @since 3.5.0 * @@ -417,7 +417,7 @@ function update_blog_details( $blog_id, $details = array() ) { do_action( 'make_delete_blog', $blog_id ); } else { /** - * Fires when the blog status is changed to 'undeleted'. + * Fires when the 'deleted' status is removed from a blog. * * @since 3.5.0 * diff --git a/wp-includes/version.php b/wp-includes/version.php index 59c6f96acb..fb29cc5c6e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.8-alpha-40351'; +$wp_version = '4.8-alpha-40352'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.