Make WordPress Core


Ignore:
Timestamp:
11/09/2020 10:51:52 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Text Changes: Unify various "Back to..." vs. "Return to..." vs. "Go to..." strings.

Standardize on "Go to..." as a more appropriate option for most cases.

Props garrett-eclipse, kharisblank, audrasjb, ramiy, valentinbora.
Fixes #47235.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-plugin-installer-skin.php

    r48677 r49539  
    108108                '<a class="button button-primary" href="%s" target="_parent">%s</a>',
    109109                wp_nonce_url( 'plugins.php?action=activate&amp;from=press-this&amp;plugin=' . urlencode( $plugin_file ), 'activate-plugin_' . $plugin_file ),
    110                 __( 'Activate Plugin &amp; Return to Press This' )
     110                __( 'Activate Plugin &amp; Go to Press This' )
    111111            );
    112112        } else {
     
    131131                '<a href="%s" target="_parent">%s</a>',
    132132                admin_url( 'import.php' ),
    133                 __( 'Return to Importers' )
     133                __( 'Go to Importers' )
    134134            );
    135135        } elseif ( 'web' === $this->type ) {
     
    137137                '<a href="%s" target="_parent">%s</a>',
    138138                self_admin_url( 'plugin-install.php' ),
    139                 __( 'Return to Plugin Installer' )
     139                __( 'Go to Plugin Installer' )
    140140            );
    141141        } elseif ( 'upload' === $this->type && 'plugins' === $from ) {
     
    143143                '<a href="%s">%s</a>',
    144144                self_admin_url( 'plugin-install.php' ),
    145                 __( 'Return to Plugin Installer' )
     145                __( 'Go to Plugin Installer' )
    146146            );
    147147        } else {
     
    149149                '<a href="%s" target="_parent">%s</a>',
    150150                self_admin_url( 'plugins.php' ),
    151                 __( 'Return to Plugins page' )
     151                __( 'Go to Plugins page' )
    152152            );
    153153        }
Note: See TracChangeset for help on using the changeset viewer.