diff --git a/src/wp-includes/feed.php b/src/wp-includes/feed.php index 01e2c2427a..4554d0e461 100644 --- a/src/wp-includes/feed.php +++ b/src/wp-includes/feed.php @@ -580,7 +580,7 @@ function prep_atom_text_construct($data) { } } - if (strpos($data, ']]>') == false) { + if (strpos($data, ']]>') === false) { return array('html', ""); } else { return array('html', htmlspecialchars($data)); diff --git a/src/wp-includes/l10n.php b/src/wp-includes/l10n.php index c2d2713bbf..033310a88d 100644 --- a/src/wp-includes/l10n.php +++ b/src/wp-includes/l10n.php @@ -116,7 +116,7 @@ function translate( $text, $domain = 'default' ) { */ function before_last_bar( $string ) { $last_bar = strrpos( $string, '|' ); - if ( false == $last_bar ) + if ( false === $last_bar ) return $string; else return substr( $string, 0, $last_bar );