Skip to content

Commit 408ffc7

Browse files
authored
Merge branch 'WordPress:trunk' into trunk
2 parents c647b15 + 6172b66 commit 408ffc7

3 files changed

Lines changed: 3 additions & 9 deletions

File tree

src/js/_enqueues/admin/user-profile.js

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
originalFormContent,
2222
$passwordWrapper,
2323
successTimeout,
24-
isMac = window.navigator.platform ? window.navigator.platform.indexOf( 'Mac' ) !== -1 : false,
24+
isMac = window.navigator.platform ? window.navigator.platform.indexOf( 'Mac' ) !== -1 : false,
2525
ua = navigator.userAgent.toLowerCase(),
2626
isSafari = window.safari !== 'undefined' && typeof window.safari === 'object',
2727
isFirefox = ua.indexOf( 'firefox' ) !== -1;
@@ -59,11 +59,6 @@
5959

6060
// Once zxcvbn loads, passwords strength is known.
6161
$( '#pw-weak-text-label' ).text( __( 'Confirm use of weak password' ) );
62-
63-
// Focus the password field if not the install screen.
64-
if ( 'mailserver_pass' !== $pass1.prop('id' ) && ! $('#weblog_title').length ) {
65-
$( $pass1 ).trigger( 'focus' );
66-
}
6762
}
6863

6964
function bindPass1() {
@@ -407,7 +402,7 @@
407402
*
408403
* @param {KeyboardEvent} e The keydown event object.
409404
*
410-
* @return {boolean} True if Caps Lock is on, false otherwise.
405+
* @return {boolean} True if Caps Lock is on, false otherwise.
411406
*/
412407
function isCapsLockOn( event ) {
413408
return event.getModifierState( 'CapsLock' );

src/wp-includes/class-pop3.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ function __construct ( $server = '', $timeout = '' ) {
6464
set_time_limit($timeout);
6565
}
6666
}
67-
return true;
6867
}
6968

7069
/**

src/wp-includes/pomo/streams.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ public function __construct( $filename ) {
314314
parent::__construct();
315315
$this->_str = file_get_contents( $filename );
316316
if ( false === $this->_str ) {
317-
return false;
317+
return;
318318
}
319319
$this->_pos = 0;
320320
}

0 commit comments

Comments
 (0)