mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 22:57:20 +00:00
After [35718], update the location of some files in This filter is documented in docs.
Partially reverts [33954]. Fixes #33413. git-svn-id: https://develop.svn.wordpress.org/trunk@35725 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1948,7 +1948,7 @@ function _wp_admin_html_begin() {
|
||||
<![endif]-->
|
||||
<!--[if !(IE 8) ]><!-->
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" class="<?php echo $admin_html_class; ?>" <?php
|
||||
/** This action is documented in wp-admin/includes/template-functions.php */
|
||||
/** This action is documented in wp-admin/includes/template.php */
|
||||
do_action( 'admin_xml_ns' );
|
||||
?> <?php language_attributes(); ?>>
|
||||
<!--<![endif]-->
|
||||
|
||||
@@ -142,7 +142,7 @@ function edit_user( $user_id = 0 ) {
|
||||
if ( !$update && username_exists( $user->user_login ) )
|
||||
$errors->add( 'user_login', __( '<strong>ERROR</strong>: This username is already registered. Please choose another one.' ));
|
||||
|
||||
/** This filter is documented in wp-includes/user-functions.php */
|
||||
/** This filter is documented in wp-includes/user.php */
|
||||
$illegal_logins = (array) apply_filters( 'illegal_user_logins', array() );
|
||||
|
||||
if ( in_array( strtolower( $user->user_login ), array_map( 'strtolower', $illegal_logins ) ) ) {
|
||||
|
||||
Reference in New Issue
Block a user