Make WordPress Core


Ignore:
Timestamp:
01/28/2016 03:34:02 AM (11 years ago)
Author:
ericlewis
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-ms-sites-list-table.php

    r35241 r36416  
    8585                /*
    8686                 * If the network is large and a search is not being performed, show only
    87                  * the latest blogs with no paging in order to avoid expensive count queries.
     87                 * the latest sites with no paging in order to avoid expensive count queries.
    8888                 */
    8989                if ( !$s && wp_is_large_network() ) {
    … …  
    273273
    274274        /**
    275          * Handles the blogname column output.
     275         * Handles the site name column output.
    276276         *
    277277         * @since 4.3.0
    … …  
    280280         * @global string $mode
    281281         *
    282          * @param array $blog Current blog.
     282         * @param array $blog Current site.
    283283         */
    284284        public function column_blogname( $blog ) {
    … …  
    470470         * @access protected
    471471         *
    472          * @param object $blog        Blog being acted upon.
     472         * @param object $blog        Site being acted upon.
    473473         * @param string $column_name Current column name.
    474474         * @param string $primary     Primary column name.
Note: See TracChangeset for help on using the changeset viewer.