Make WordPress Core

Ticket #9862: 9862.diff

File 9862.diff, 501 bytes (added by Denis-de-Bernardy, 17 years ago)
  • wp-admin/includes/template.php

     
    415415 * @param string $type The type of checked|selected we are doing.
    416416 */
    417417function __checked_selected_helper( $helper, $current, $echo, $type) {
    418         if ( $helper == $current)
     418        if ( (string) $helper === (string) $current)
    419419                $result = " $type='$type'";
    420420        else
    421421                $result = '';