WordPress.org

Make WordPress Core

Ticket #16527: 16527.patch

File 16527.patch, 587 bytes (added by SergeyBiryukov, 7 years ago)
  • wp-includes/category-template.php

     
    331331        $id = $id ? esc_attr( $id ) : $name;
    332332
    333333        if ( ! $r['hide_if_empty'] || ! empty($categories) )
    334                 $output = "<select name='$name' id='$id' class='$class' $tab_index_attribute>\n";
     334                $output = "<label for='$id' style='display: none;'>$name</label><select name='$name' id='$id' class='$class' $tab_index_attribute>\n";
    335335        else
    336336                $output = '';
    337337