Skip to content

Commit acc6e5d

Browse files
committed
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 Built from https://develop.svn.wordpress.org/trunk@55942 git-svn-id: http://core.svn.wordpress.org/trunk@55454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
1 parent 48f5508 commit acc6e5d

File tree

12 files changed

+32
-32
lines changed

12 files changed

+32
-32
lines changed

wp-admin/edit-comments.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@
216216
'title' => __( 'Moderating Comments' ),
217217
'content' =>
218218
'<p>' . __( 'A red bar on the left means the comment is waiting for you to moderate it.' ) . '</p>' .
219-
'<p>' . __( 'In the <strong>Author</strong> column, in addition to the author&#8217;s name, email address, and blog URL, the commenter&#8217;s IP address is shown. Clicking on this link will show you all the comments made from this IP address.' ) . '</p>' .
219+
'<p>' . __( 'In the <strong>Author</strong> column, in addition to the author&#8217;s name, email address, and site URL, the commenter&#8217;s IP address is shown. Clicking on this link will show you all the comments made from this IP address.' ) . '</p>' .
220220
'<p>' . __( 'In the <strong>Comment</strong> column, hovering over any comment gives you options to approve, reply (and approve), quick edit, edit, spam mark, or trash that comment.' ) . '</p>' .
221221
'<p>' . __( 'In the <strong>In response to</strong> column, there are three elements. The text is the name of the post that inspired the comment, and links to the post editor for that entry. The View Post link leads to that post on your live site. The small bubble with the number in it shows the number of approved comments that post has received. If there are pending comments, a red notification circle with the number of pending comments is displayed. Clicking the notification circle will filter the comments screen to show only pending comments on that post.' ) . '</p>' .
222222
'<p>' . __( 'In the <strong>Submitted on</strong> column, the date and time the comment was left on your site appears. Clicking on the date/time link will take you to that comment on your live site.' ) . '</p>' .

wp-admin/includes/export.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ function wxr_site_url() {
218218
// Multisite: the base URL.
219219
return network_home_url();
220220
} else {
221-
// WordPress (single site): the blog URL.
221+
// WordPress (single site): the site URL.
222222
return get_bloginfo_rss( 'url' );
223223
}
224224
}

wp-content/themes/twentyeleven/header.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@
3131

3232
wp_title( '|', true, 'right' );
3333

34-
// Add the blog name.
34+
// Add the site name.
3535
bloginfo( 'name' );
3636

37-
// Add the blog description for the home/front page.
37+
// Add the site description for the home/front page.
3838
$site_description = get_bloginfo( 'description', 'display' );
3939
if ( $site_description && ( is_home() || is_front_page() ) ) {
4040
echo " | $site_description";

wp-content/themes/twentyten/header.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121

2222
wp_title( '|', true, 'right' );
2323

24-
// Add the blog name.
24+
// Add the site name.
2525
bloginfo( 'name' );
2626

27-
// Add the blog description for the home/front page.
27+
// Add the site description for the home/front page.
2828
$site_description = get_bloginfo( 'description', 'display' );
2929
if ( $site_description && ( is_home() || is_front_page() ) ) {
3030
echo " | $site_description";

wp-includes/general-template.php

+11-11
Original file line numberDiff line numberDiff line change
@@ -3096,11 +3096,11 @@ function feed_links( $args = array() ) {
30963096
}
30973097

30983098
$defaults = array(
3099-
/* translators: Separator between blog name and feed type in feed links. */
3099+
/* translators: Separator between site name and feed type in feed links. */
31003100
'separator' => _x( '&raquo;', 'feed link' ),
3101-
/* translators: 1: Blog title, 2: Separator (raquo). */
3101+
/* translators: 1: Site title, 2: Separator (raquo). */
31023102
'feedtitle' => __( '%1$s %2$s Feed' ),
3103-
/* translators: 1: Blog title, 2: Separator (raquo). */
3103+
/* translators: 1: Site title, 2: Separator (raquo). */
31043104
'comstitle' => __( '%1$s %2$s Comments Feed' ),
31053105
);
31063106

@@ -3148,21 +3148,21 @@ function feed_links( $args = array() ) {
31483148
*/
31493149
function feed_links_extra( $args = array() ) {
31503150
$defaults = array(
3151-
/* translators: Separator between blog name and feed type in feed links. */
3151+
/* translators: Separator between site name and feed type in feed links. */
31523152
'separator' => _x( '&raquo;', 'feed link' ),
3153-
/* translators: 1: Blog name, 2: Separator (raquo), 3: Post title. */
3153+
/* translators: 1: Site name, 2: Separator (raquo), 3: Post title. */
31543154
'singletitle' => __( '%1$s %2$s %3$s Comments Feed' ),
3155-
/* translators: 1: Blog name, 2: Separator (raquo), 3: Category name. */
3155+
/* translators: 1: Site name, 2: Separator (raquo), 3: Category name. */
31563156
'cattitle' => __( '%1$s %2$s %3$s Category Feed' ),
3157-
/* translators: 1: Blog name, 2: Separator (raquo), 3: Tag name. */
3157+
/* translators: 1: Site name, 2: Separator (raquo), 3: Tag name. */
31583158
'tagtitle' => __( '%1$s %2$s %3$s Tag Feed' ),
3159-
/* translators: 1: Blog name, 2: Separator (raquo), 3: Term name, 4: Taxonomy singular name. */
3159+
/* translators: 1: Site name, 2: Separator (raquo), 3: Term name, 4: Taxonomy singular name. */
31603160
'taxtitle' => __( '%1$s %2$s %3$s %4$s Feed' ),
3161-
/* translators: 1: Blog name, 2: Separator (raquo), 3: Author name. */
3161+
/* translators: 1: Site name, 2: Separator (raquo), 3: Author name. */
31623162
'authortitle' => __( '%1$s %2$s Posts by %3$s Feed' ),
3163-
/* translators: 1: Blog name, 2: Separator (raquo), 3: Search query. */
3163+
/* translators: 1: Site name, 2: Separator (raquo), 3: Search query. */
31643164
'searchtitle' => __( '%1$s %2$s Search Results for &#8220;%3$s&#8221; Feed' ),
3165-
/* translators: 1: Blog name, 2: Separator (raquo), 3: Post type name. */
3165+
/* translators: 1: Site name, 2: Separator (raquo), 3: Post type name. */
31663166
'posttypetitle' => __( '%1$s %2$s %3$s Feed' ),
31673167
);
31683168

wp-includes/ms-blogs.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ function wpmu_update_blogs_date() {
3131
}
3232

3333
/**
34-
* Gets a full blog URL, given a blog ID.
34+
* Gets a full site URL, given a site ID.
3535
*
3636
* @since MU (3.0.0)
3737
*
38-
* @param int $blog_id Blog ID.
39-
* @return string Full URL of the blog if found. Empty string if not.
38+
* @param int $blog_id Site ID.
39+
* @return string Full site URL if found. Empty string if not.
4040
*/
4141
function get_blogaddress_by_id( $blog_id ) {
4242
$bloginfo = get_site( (int) $blog_id );
@@ -52,7 +52,7 @@ function get_blogaddress_by_id( $blog_id ) {
5252
}
5353

5454
/**
55-
* Gets a full blog URL, given a blog name.
55+
* Gets a full site URL, given a site name.
5656
*
5757
* @since MU (3.0.0)
5858
*

wp-includes/ms-deprecated.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ function get_user_id_from_string( $email_or_login ) {
355355
}
356356

357357
/**
358-
* Get a full blog URL, given a domain and a path.
358+
* Get a full site URL, given a domain and a path.
359359
*
360360
* @since MU (3.0.0)
361361
* @deprecated 3.7.0

wp-includes/ms-functions.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -604,12 +604,12 @@ function wpmu_validate_user_signup( $user_name, $user_email ) {
604604
* @global wpdb $wpdb WordPress database abstraction object.
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.
615615
* @type string $path Path for the site. Used in subdirectory installations.
@@ -752,12 +752,12 @@ function wpmu_validate_blog_signup( $blogname, $blog_title, $user = '' ) {
752752
* @since MU (3.0.0)
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.
763763
* }
@@ -2387,7 +2387,7 @@ function force_ssl_content( $force = '' ) {
23872387
*/
23882388
function 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

23932393
if ( force_ssl_content() && is_ssl() ) {

wp-includes/theme-compat/footer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<p>
2323
<?php
2424
printf(
25-
/* translators: 1: Blog name, 2: WordPress */
25+
/* translators: 1: Site name, 2: WordPress */
2626
__( '%1$s is proudly powered by %2$s' ),
2727
get_bloginfo( 'name' ),
2828
'<a href="https://wordpress.org/">WordPress</a>'

wp-includes/version.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* @global string $wp_version
1818
*/
19-
$wp_version = '6.3-alpha-55941';
19+
$wp_version = '6.3-alpha-55942';
2020

2121
/**
2222
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

wp-signup.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ function show_blog_form( $blogname = '', $blog_title = '', $errors = '' ) {
113113
}
114114

115115
$current_network = get_network();
116-
// Blog name.
116+
// Site name.
117117
if ( ! is_subdomain_install() ) {
118118
echo '<label for="blogname">' . __( 'Site Name (subdirectory only):' ) . '</label>';
119119
} else {

wp-trackback.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ function trackback_response( $error = 0, $error_message = '' ) {
106106
* @param string $charset Character set.
107107
* @param string $title Trackback title.
108108
* @param string $excerpt Trackback excerpt.
109-
* @param string $blog_name Blog name.
109+
* @param string $blog_name Site name.
110110
*/
111111
do_action( 'pre_trackback_post', $post_id, $trackback_url, $charset, $title, $excerpt, $blog_name );
112112

0 commit comments

Comments
 (0)