Making WordPress.org

Changeset 6646


Ignore:
Timestamp:
02/15/2018 11:40:03 AM (7 years ago)
Author:
obenland
Message:

WPorg SSO: Use default strings in wp_login_form()

Also changes remaining textdomain to wporg for easier translation.

See #1673.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/common/includes/wporg-sso/wp-plugin.php

    r4971 r6646  
    8181
    8282                if ( ! empty( $support_user->allcaps['bbp_blocked'] ) ) {
    83                     return new WP_Error( 'blocked_account', __( '<strong>ERROR</strong>: Your account has been disabled.', 'wporg-sso' ) );
     83                    return new WP_Error( 'blocked_account', __( '<strong>ERROR</strong>: Your account has been disabled.', 'wporg' ) );
    8484                }
    8585            }
     
    297297         */
    298298        public function login_form_defaults( $defaults ) {
    299             $defaults['label_remember'] = __( 'Remember me', 'wporg-sso' );
    300             $defaults['label_log_in']   = __( 'Log in', 'wporg-sso' );
    301299            if ( ! empty( $_GET['redirect_to'] ) ) {
    302300                $defaults['redirect'] = $_GET['redirect_to']; // always ultimately checked for safety at redir time
Note: See TracChangeset for help on using the changeset viewer.