@@ -1169,7 +1169,7 @@ function utf8_uri_encode( $utf8_string, $length = 0, $encode_ascii_characters =
11691169 $ unicode .= $ encoded_char ;
11701170 $ unicode_length += $ encoded_char_length ;
11711171 } else {
1172- if ( count ( $ values ) == 0 ) {
1172+ if ( count ( $ values ) === 0 ) {
11731173 if ( $ value < 224 ) {
11741174 $ num_octets = 2 ;
11751175 } elseif ( $ value < 240 ) {
@@ -1184,7 +1184,7 @@ function utf8_uri_encode( $utf8_string, $length = 0, $encode_ascii_characters =
11841184 if ( $ length && ( $ unicode_length + ( $ num_octets * 3 ) ) > $ length ) {
11851185 break ;
11861186 }
1187- if ( count ( $ values ) == $ num_octets ) {
1187+ if ( count ( $ values ) === $ num_octets ) {
11881188 for ( $ j = 0 ; $ j < $ num_octets ; $ j ++ ) {
11891189 $ unicode .= '% ' . dechex ( $ values [ $ j ] );
11901190 }
@@ -3391,7 +3391,7 @@ function wp_remove_targeted_link_rel_filters() {
33913391function translate_smiley ( $ matches ) {
33923392 global $ wpsmiliestrans ;
33933393
3394- if ( count ( $ matches ) == 0 ) {
3394+ if ( count ( $ matches ) === 0 ) {
33953395 return '' ;
33963396 }
33973397
@@ -5242,7 +5242,7 @@ function wp_sprintf_l( $pattern, $args ) {
52425242
52435243 $ args = (array ) $ args ;
52445244 $ result = array_shift ( $ args );
5245- if ( count ( $ args ) == 1 ) {
5245+ if ( count ( $ args ) === 1 ) {
52465246 $ result .= $ l ['between_only_two ' ] . array_shift ( $ args );
52475247 }
52485248
@@ -5251,7 +5251,7 @@ function wp_sprintf_l( $pattern, $args ) {
52515251 while ( $ i ) {
52525252 $ arg = array_shift ( $ args );
52535253 $ i --;
5254- if ( 0 == $ i ) {
5254+ if ( 0 === $ i ) {
52555255 $ result .= $ l ['between_last_two ' ] . $ arg ;
52565256 } else {
52575257 $ result .= $ l ['between ' ] . $ arg ;
0 commit comments