mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
Associate lables with form fields. Fixes #6859 props MarcoZ.
git-svn-id: https://develop.svn.wordpress.org/trunk@7883 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -283,7 +283,7 @@ function wp_dropdown_pages($args = '') {
|
||||
$output = '';
|
||||
|
||||
if ( ! empty($pages) ) {
|
||||
$output = "<select name='$name'>\n";
|
||||
$output = "<select name='$name' id='$name'>\n";
|
||||
if ( $show_option_none )
|
||||
$output .= "\t<option value=''>$show_option_none</option>\n";
|
||||
$output .= walk_page_dropdown_tree($pages, $depth, $r);
|
||||
|
||||
Reference in New Issue
Block a user