WordPress.org

Make WordPress Core

Ticket #41000: 41000.2.diff

File 41000.2.diff, 3.7 KB (added by audrasjb, 2 years ago)

Replace blogging with publishing when relevant.

  • src/wp-admin/includes/network.php

    diff --git a/src/wp-admin/includes/network.php b/src/wp-admin/includes/network.php
    index 9c05ec8..845d2c0 100644
    a b function network_step2( $errors = false ) { 
    466466                        <li><p>
    467467                        <?php
    468468                        printf(
    469                                 /* translators: 1: wp-config.php, 2: location of wp-config file, 3: translated version of "That's all, stop editing! Happy blogging." */
     469                                /* translators: 1: wp-config.php, 2: location of wp-config file, 3: translated version of "That's all, stop editing! Happy publishing." */
    470470                                __( 'Add the following to your %1$s file in %2$s <strong>above</strong> the line reading %3$s:' ),
    471471                                '<code>wp-config.php</code>',
    472472                                '<code>' . $location_of_wp_config . '</code>',
    function network_step2( $errors = false ) { 
    475475                                 * You can check the localized release package or
    476476                                 * https://i18n.svn.wordpress.org/<locale code>/branches/<wp version>/dist/wp-config-sample.php
    477477                                 */
    478                                 '<code>/* ' . __( 'That&#8217;s all, stop editing! Happy blogging.' ) . ' */</code>'
     478                                '<code>/* ' . __( 'That&#8217;s all, stop editing! Happy publishing.' ) . ' */</code>'
    479479                        );
    480480                        ?>
    481481                        </p>
  • src/wp-admin/includes/schema.php

    diff --git a/src/wp-admin/includes/schema.php b/src/wp-admin/includes/schema.php
    index 0bb6060..fe48d35 100644
    a b We hope you enjoy your new site. Thanks! 
    12521252                'wpmu_upgrade_site'           => $wp_db_version,
    12531253                'welcome_email'               => $welcome_email,
    12541254                /* translators: %s: site link */
    1255                 'first_post'                  => __( 'Welcome to %s. This is your first post. Edit or delete it, then start blogging!' ),
     1255                'first_post'                  => __( 'Welcome to %s. This is your first post. Edit or delete it, then start publishing!' ),
    12561256                // @todo - network admins should have a method of editing the network siteurl (used for cookie hash)
    12571257                'siteurl'                     => get_option( 'siteurl' ) . '/',
    12581258                'add_new_users'               => '0',
  • src/wp-admin/includes/upgrade.php

    diff --git a/src/wp-admin/includes/upgrade.php b/src/wp-admin/includes/upgrade.php
    index f8b871d..a1dac36 100644
    a b if ( ! function_exists( 'wp_install' ) ) : 
    6363
    6464                update_option( 'siteurl', $guessurl );
    6565
    66                 // If not a public blog, don't ping.
     66                // If not a public website, don't ping.
    6767                if ( ! $public ) {
    6868                        update_option( 'default_pingback_flag', 0 );
    6969                }
    if ( ! function_exists( 'wp_install_defaults' ) ) : 
    193193
    194194                        if ( ! $first_post ) {
    195195                                /* translators: %s: site link */
    196                                 $first_post = __( 'Welcome to %s. This is your first post. Edit or delete it, then start blogging!' );
     196                                $first_post = __( 'Welcome to %s. This is your first post. Edit or delete it, then start publishing!' );
    197197                        }
    198198
    199199                        $first_post = sprintf(
    if ( ! function_exists( 'wp_install_defaults' ) ) : 
    205205                        $first_post = str_replace( 'SITE_URL', esc_url( network_home_url() ), $first_post );
    206206                        $first_post = str_replace( 'SITE_NAME', get_network()->site_name, $first_post );
    207207                } else {
    208                         $first_post = __( 'Welcome to WordPress. This is your first post. Edit or delete it, then start writing!' );
     208                        $first_post = __( 'Welcome to WordPress. This is your first post. Edit or delete it, then start publishing!' );
    209209                }
    210210
    211211                $wpdb->insert(
  • wp-config-sample.php

    diff --git a/wp-config-sample.php b/wp-config-sample.php
    index 7312c6e..ed8f9fc 100644
    a b $table_prefix = 'wp_'; 
    7979 */
    8080define( 'WP_DEBUG', false );
    8181
    82 /* That's all, stop editing! Happy blogging. */
     82/* That's all, stop editing! Happy publishing. */
    8383
    8484/** Absolute path to the WordPress directory. */
    8585if ( ! defined( 'ABSPATH' ) ) {