WordPress.org

Make WordPress Core

Changeset 40352


Ignore:
Timestamp:
03/30/2017 04:35:09 AM (14 months ago)
Author:
jeremyfelt
Message:

Multisite: Correct documentation for site status change hooks.

Props johnbillion.
Fixes #40287.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/ms-blogs.php

    r40347 r40352  
    340340        if ( $details['spam'] == 1 ) {
    341341            /**
    342              * Fires when the blog status is changed to 'spam'.
     342             * Fires when the 'spam' status is added to a blog.
    343343             *
    344344             * @since MU
     
    349349        } else {
    350350            /**
    351              * Fires when the blog status is changed to 'ham'.
     351             * Fires when the 'spam' status is removed from a blog.
    352352             *
    353353             * @since MU
     
    363363        if ( $details['mature'] == 1 ) {
    364364            /**
    365              * Fires when the blog status is changed to 'mature'.
     365             * Fires when the 'mature' status is added to a blog.
    366366             *
    367367             * @since 3.1.0
     
    372372        } else {
    373373            /**
    374              * Fires when the blog status is changed to 'unmature'.
     374             * Fires when the 'mature' status is removed from a blog.
    375375             *
    376376             * @since 3.1.0
     
    386386        if ( $details['archived'] == 1 ) {
    387387            /**
    388              * Fires when the blog status is changed to 'archived'.
     388             * Fires when the 'archived' status is added to a blog.
    389389             *
    390390             * @since MU
     
    395395        } else {
    396396            /**
    397              * Fires when the blog status is changed to 'unarchived'.
     397             * Fires when the 'archived' status is removed from a blog.
    398398             *
    399399             * @since MU
     
    409409        if ( $details['deleted'] == 1 ) {
    410410            /**
    411              * Fires when the blog status is changed to 'deleted'.
     411             * Fires when the 'deleted' status is added to a blog.
    412412             *
    413413             * @since 3.5.0
     
    418418        } else {
    419419            /**
    420              * Fires when the blog status is changed to 'undeleted'.
     420             * Fires when the 'deleted' status is removed from a blog.
    421421             *
    422422             * @since 3.5.0
Note: See TracChangeset for help on using the changeset viewer.