From b8a0634d79195d27d5ecf658e27c11109f92b0c3 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 26 May 2010 04:01:14 +0000 Subject: [PATCH] Validation in wp_dropdown_users and the non-hierarchical taxonomy meta box. props ocean90, see #13383. git-svn-id: https://develop.svn.wordpress.org/trunk@14931 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/meta-boxes.php | 2 +- wp-includes/user.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/meta-boxes.php b/wp-admin/includes/meta-boxes.php index a86c2cbf3c..231ea18346 100644 --- a/wp-admin/includes/meta-boxes.php +++ b/wp-admin/includes/meta-boxes.php @@ -255,7 +255,7 @@ function post_tags_meta_box($post, $box) {

-
+
cap->assign_terms) ) : ?>
diff --git a/wp-includes/user.php b/wp-includes/user.php index ce36a367a5..932b4d6f54 100644 --- a/wp-includes/user.php +++ b/wp-includes/user.php @@ -614,7 +614,7 @@ function wp_dropdown_users( $args = '' ) { if ( $multi && ! $id ) $id = ''; else - $id = $id ? " id='" . esc_attr( $id ) . "'" : "id='$name'"; + $id = $id ? " id='" . esc_attr( $id ) . "'" : " id='$name'"; $output = "