WordPress.org

Make WordPress Core

Ticket #10111: 10111.diff

File 10111.diff, 437 bytes (added by Denis-de-Bernardy, 9 years ago)
  • wp-admin/includes/template.php

     
    416416 */
    417417function __checked_selected_helper( $helper, $current, $echo, $type) {
    418418        if ( $helper == $current)
    419                 $result = " $type='$type'";
     419                $result = ' ' . $type . '="' . $type . '"';
    420420        else
    421421                $result = '';
    422422