diff --git src/wp-includes/ID3/module.audio-video.riff.php src/wp-includes/ID3/module.audio-video.riff.php
index a94ae24d0c..9dae8465f6 100644
--- src/wp-includes/ID3/module.audio-video.riff.php
+++ src/wp-includes/ID3/module.audio-video.riff.php
@@ -86,7 +86,7 @@ class getid3_riff extends getid3_handler
 					// RMP3 is identical to WAVE, just renamed. Used by [unknown program] when creating RIFF-MP3s
 					$RIFFsubtype = 'WAVE';
 				}
-				if ($RIFFsubtype != 'AMV ') {
+				if ($RIFFsubtype !== 'AMV ') {
 					// AMV files are RIFF-AVI files with parts of the spec deliberately broken, such as chunk size fields hardcoded to zero (because players known in hardware that these fields are always a certain size
 					// Handled separately in ParseRIFFAMV()
 					$thisfile_riff[$RIFFsubtype]  = $this->ParseRIFF($offset, ($offset + $thisfile_riff['header_size'] - 4));
@@ -674,7 +674,7 @@ class getid3_riff extends getid3_handler
 				}
 				if ($thisfile_audio_dataformat == 'ac3') {
 					unset($thisfile_audio['bits_per_sample']);
-					if (!empty($info['ac3']['bitrate']) && ($info['ac3']['bitrate'] != $thisfile_audio['bitrate'])) {
+					if (!empty($info['ac3']['bitrate']) && ($info['ac3']['bitrate'] !== $thisfile_audio['bitrate'])) {
 						$thisfile_audio['bitrate'] = $info['ac3']['bitrate'];
 					}
 				}
@@ -1491,7 +1491,7 @@ class getid3_riff extends getid3_handler
 			$this->fseek($startoffset);
 			$maxoffset = min($maxoffset, $info['avdataend']);
 			$AMVheader = $this->fread(284);
-			if (substr($AMVheader,   0,  8) != 'hdrlamvh') {
+			if (substr($AMVheader,   0,  8) !== 'hdrlamvh') {
 				throw new Exception('expecting "hdrlamv" at offset '.($startoffset +   0).', found "'.substr($AMVheader,   0, 8).'"');
 			}
 			if (substr($AMVheader,   8,  4) != "\x38\x00\x00\x00") { // "amvh" chunk size, hardcoded to 0x38 = 56 bytes
diff --git src/wp-includes/rss.php src/wp-includes/rss.php
index 4d3f35e5cb..7b5b3472f9 100644
--- src/wp-includes/rss.php
+++ src/wp-includes/rss.php
@@ -83,7 +83,7 @@ class MagpieRSS {
 
 		if (! $status ) {
 			$errorcode = xml_get_error_code( $this->parser );
-			if ( $errorcode != XML_ERROR_NONE ) {
+			if ( $errorcode !== XML_ERROR_NONE ) {
 				$xml_error = xml_error_string( $errorcode );
 				$error_line = xml_get_current_line_number($this->parser);
 				$error_col = xml_get_current_column_number($this->parser);
@@ -115,7 +115,7 @@ class MagpieRSS {
 		if ( strpos( $element, ':' ) ) {
 			list($ns, $el) = explode( ':', $element, 2);
 		}
-		if ( $ns and $ns != 'rdf' ) {
+		if ( $ns and $ns !== 'rdf' ) {
 			$this->current_namespace = $ns;
 		}
 
@@ -123,15 +123,15 @@ class MagpieRSS {
 		# identify feed from root element
 		#
 		if (!isset($this->feed_type) ) {
-			if ( $el == 'rdf' ) {
+			if ( $el === 'rdf' ) {
 				$this->feed_type = RSS;
 				$this->feed_version = '1.0';
 			}
-			elseif ( $el == 'rss' ) {
+			elseif ( $el === 'rss' ) {
 				$this->feed_type = RSS;
 				$this->feed_version = $attrs['version'];
 			}
-			elseif ( $el == 'feed' ) {
+			elseif ( $el === 'feed' ) {
 				$this->feed_type = ATOM;
 				$this->feed_version = $attrs['version'];
 				$this->inchannel = true;
