Changeset 19687 for trunk/wp-includes/kses.php
- Timestamp:
- 01/05/2012 08:50:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/kses.php
r19593 r19687 764 764 $working = 1; 765 765 $mode = 0; 766 if( FALSE=== array_key_exists($attrname, $attrarr)) {766 if(false === array_key_exists($attrname, $attrarr)) { 767 767 $attrarr[$attrname] = array ('name' => $attrname, 'value' => '', 'whole' => $attrname, 'vless' => 'y'); 768 768 } … … 781 781 $thisval = wp_kses_bad_protocol($thisval, $allowed_protocols); 782 782 783 if( FALSE=== array_key_exists($attrname, $attrarr)) {783 if(false === array_key_exists($attrname, $attrarr)) { 784 784 $attrarr[$attrname] = array ('name' => $attrname, 'value' => $thisval, 'whole' => "$attrname=\"$thisval\"", 'vless' => 'n'); 785 785 } … … 797 797 $thisval = wp_kses_bad_protocol($thisval, $allowed_protocols); 798 798 799 if( FALSE=== array_key_exists($attrname, $attrarr)) {799 if(false === array_key_exists($attrname, $attrarr)) { 800 800 $attrarr[$attrname] = array ('name' => $attrname, 'value' => $thisval, 'whole' => "$attrname='$thisval'", 'vless' => 'n'); 801 801 } … … 813 813 $thisval = wp_kses_bad_protocol($thisval, $allowed_protocols); 814 814 815 if( FALSE=== array_key_exists($attrname, $attrarr)) {815 if(false === array_key_exists($attrname, $attrarr)) { 816 816 $attrarr[$attrname] = array ('name' => $attrname, 'value' => $thisval, 'whole' => "$attrname=\"$thisval\"", 'vless' => 'n'); 817 817 } … … 832 832 } # while 833 833 834 if ($mode == 1 && FALSE=== array_key_exists($attrname, $attrarr))834 if ($mode == 1 && false === array_key_exists($attrname, $attrarr)) 835 835 # special case, for when the attribute list ends with a valueless 836 836 # attribute like "selected" … … 939 939 940 940 /** 941 * Removes any NULLcharacters in $string.941 * Removes any null characters in $string. 942 942 * 943 943 * @since 1.0.0
Note: See TracChangeset
for help on using the changeset viewer.