Make WordPress Core


Ignore:
Timestamp:
01/28/2016 03:34:02 AM (9 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/schema.php

    r36255 r36416  
    3131 *
    3232 * @param string $scope Optional. The tables for which to retrieve SQL. Can be all, global, ms_global, or blog tables. Defaults to all.
    33  * @param int $blog_id Optional. The blog ID for which to retrieve SQL. Default is the current blog ID.
     33 * @param int $blog_id Optional. The site ID for which to retrieve SQL. Default is the current site ID.
    3434 * @return string The SQL needed to create the requested tables.
    3535 */
     
    398398    'home' => $guessurl,
    399399    'blogname' => __('My Site'),
    400     /* translators: blog tagline */
     400    /* translators: site tagline */
    401401    'blogdescription' => __('Just another WordPress site'),
    402402    'users_can_register' => 0,
     
    530530    // 3.0 multisite
    531531    if ( is_multisite() ) {
    532         /* translators: blog tagline */
     532        /* translators: site tagline */
    533533        $options[ 'blogdescription' ] = sprintf(__('Just another %s site'), get_current_site()->site_name );
    534534        $options[ 'permalink_structure' ] = '/%year%/%monthnum%/%day%/%postname%/';
Note: See TracChangeset for help on using the changeset viewer.