WordPress.org

Make WordPress Core

Ticket #42693: 42693v4.diff

File 42693v4.diff, 1.5 KB (added by MattyRob, 23 months ago)

Fix patch syntax error - unbalanced brackets in if statement

  • src/wp-includes/functions.php

     
    57665766                return;
    57675767        }
    57685768
     5769        if ( '.invalid' === substr( $old_email, -8 ) ) {
     5770                return;
     5771        }
     5772
    57695773        /* translators: Do not translate OLD_EMAIL, NEW_EMAIL, SITENAME, SITEURL: those are placeholders. */
    57705774        $email_change_text = __( 'Hi,
    57715775
  • src/wp-includes/ms-functions.php

     
    26782678                return;
    26792679        }
    26802680
     2681        if ( '.invalid' === substr( $old_email, -8 ) ) {
     2682                return;
     2683        }
     2684
    26812685        /* translators: Do not translate OLD_EMAIL, NEW_EMAIL, SITENAME, SITEURL: those are placeholders. */
    26822686        $email_change_text = __( 'Hi,
    26832687
  • src/wp-admin/includes/schema.php

     
    397397        /* translators: site tagline */
    398398        'blogdescription' => __('Just another WordPress site'),
    399399        'users_can_register' => 0,
    400         'admin_email' => 'you@example.com',
     400        'admin_email' => 'you@example.invalid',
    401401        /* translators: default start of the week. 0 = Sunday, 1 = Monday */
    402402        'start_of_week' => _x( '1', 'start of week' ),
    403403        'use_balanceTags' => 0,