Make WordPress Core


Ignore:
Timestamp:
05/04/2008 10:37:06 AM (17 years ago)
Author:
westi
Message:

Associate lables with form fields. Fixes #6859 props MarcoZ.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post-template.php

    r7749 r7883  
    284284
    285285    if ( ! empty($pages) ) {
    286         $output = "<select name='$name'>\n";
     286        $output = "<select name='$name' id='$name'>\n";
    287287        if ( $show_option_none )
    288288            $output .= "\t<option value=''>$show_option_none</option>\n";
Note: See TracChangeset for help on using the changeset viewer.