Changeset 11703 for trunk/wp-admin/includes/template.php
- Timestamp:
- 07/09/2009 09:13:23 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r11676 r11703 377 377 * Compares the first two arguments and if identical marks as checked 378 378 * 379 * @since 2.8379 * @since 1.0 380 380 * 381 381 * @param any $checked One of the values to compare … … 392 392 * Compares the first two arguments and if identical marks as selected 393 393 * 394 * @since 2.8394 * @since 1.0 395 395 * 396 396 * @param any selected One of the values to compare … … 416 416 */ 417 417 function __checked_selected_helper( $helper, $current, $echo, $type) { 418 if ( $helper ==$current)418 if ( (string) $helper === (string) $current) 419 419 $result = " $type='$type'"; 420 420 else
Note: See TracChangeset
for help on using the changeset viewer.