Make WordPress Core


Ignore:
Timestamp:
06/19/2023 06:26:01 PM (20 months ago)
Author:
johnbillion
Message:

General: Replace some instances of "blog" with "site" in documentation, translator comments, and user-facing text strings.

This is not an exhaustive change, but it gets us closer to using "site" in place of "blog" in as many places as possible.

Props NekoJonez, audrasjb, oglekler

Fixes #58117

File:
1 edited

Legend:

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

    r55657 r55942  
    605605 * @global string $domain
    606606 *
    607  * @param string         $blogname   The blog name provided by the user. Must be unique.
    608  * @param string         $blog_title The blog title provided by the user.
     607 * @param string         $blogname   The site name provided by the user. Must be unique.
     608 * @param string         $blog_title The site title provided by the user.
    609609 * @param WP_User|string $user       Optional. The user object to check against the new site name.
    610610 *                                   Default empty string.
    611611 * @return array {
    612  *     Array of domain, path, blog name, blog title, user and error messages.
     612 *     Array of domain, path, site name, site title, user and error messages.
    613613 *
    614614 *     @type string         $domain     Domain for the site.
     
    753753     *
    754754     * @param array $result {
    755      *     Array of domain, path, blog name, blog title, user and error messages.
     755     *     Array of domain, path, site name, site title, user and error messages.
    756756     *
    757757     *     @type string         $domain     Domain for the site.
    758758     *     @type string         $path       Path for the site. Used in subdirectory installations.
    759759     *     @type string         $blogname   The unique site name (slug).
    760      *     @type string         $blog_title Blog title.
     760     *     @type string         $blog_title Site title.
    761761     *     @type string|WP_User $user       By default, an empty string. A user object if provided.
    762762     *     @type WP_Error       $errors     WP_Error containing any errors found.
     
    23882388function filter_SSL( $url ) {  // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
    23892389    if ( ! is_string( $url ) ) {
    2390         return get_bloginfo( 'url' ); // Return home blog URL with proper scheme.
     2390        return get_bloginfo( 'url' ); // Return home site URL with proper scheme.
    23912391    }
    23922392
Note: See TracChangeset for help on using the changeset viewer.