Pinking shears.
Built from https://develop.svn.wordpress.org/trunk@34534 git-svn-id: http://core.svn.wordpress.org/trunk@34498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2370a81286
commit
fd946a9b5a
|
@ -107,12 +107,12 @@ function edit_user( $user_id = 0 ) {
|
|||
/* checking that username has been typed */
|
||||
if ( $user->user_login == '' )
|
||||
$errors->add( 'user_login', __( '<strong>ERROR</strong>: Please enter a username.' ) );
|
||||
|
||||
|
||||
/* checking that nickname has been typed */
|
||||
if ( $update && empty( $user->nickname ) ) {
|
||||
$errors->add( 'nickname', __( '<strong>ERROR</strong>: Please enter a nickname.' ) );
|
||||
if ( $update && empty( $user->nickname ) ) {
|
||||
$errors->add( 'nickname', __( '<strong>ERROR</strong>: Please enter a nickname.' ) );
|
||||
}
|
||||
|
||||
|
||||
/* checking the password has been typed twice */
|
||||
/**
|
||||
* Fires before the password and confirm password fields are checked for congruity.
|
||||
|
@ -515,4 +515,4 @@ this email. This invitation will expire in a few days.
|
|||
|
||||
Please click the following link to activate your user account:
|
||||
%%s' ), get_bloginfo( 'name' ), home_url(), wp_specialchars_decode( translate_user_role( $role['name'] ) ) );
|
||||
}
|
||||
}
|
||||
|
|
|
@ -708,7 +708,7 @@ function check_comment_flood_db( $ip, $email, $date ) {
|
|||
"SELECT `comment_date_gmt` FROM `$wpdb->comments` WHERE `comment_date_gmt` >= %s AND ( $check_column = %s OR `comment_author_email` = %s ) ORDER BY `comment_date_gmt` DESC LIMIT 1",
|
||||
$hour_ago,
|
||||
$user,
|
||||
$email
|
||||
$email
|
||||
);
|
||||
$lasttime = $wpdb->get_var( $sql );
|
||||
if ( $lasttime ) {
|
||||
|
|
|
@ -321,7 +321,7 @@ function is_taxonomy_hierarchical($taxonomy) {
|
|||
* @type bool|array $rewrite {
|
||||
* Triggers the handling of rewrites for this taxonomy. Default true, using $taxonomy as slug. To prevent
|
||||
* rewrite, set to false. To specify rewrite rules, an array can be passed with any of these keys:
|
||||
*
|
||||
*
|
||||
* @type string $slug Customize the permastruct slug. Default `$taxonomy` key.
|
||||
* @type bool $with_front Should the permastruct be prepended with WP_Rewrite::$front. Default true.
|
||||
* @type bool $hierarchical Either hierarchical rewrite tag or not. Default false.
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-alpha-34533';
|
||||
$wp_version = '4.4-alpha-34534';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue