PluginProbe
Tracking Code Manager / 2.5.0
Tracking Code Manager v2.5.0
2.8.0 2.7.0 trunk 1.11.8 1.11.9 1.12.0 1.12.1 1.12.2 1.12.3 1.4 1.5 2.0.0 2.0.1 2.0.13 2.0.14 2.0.15 2.0.16 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.1.0 2.2.0 All 29 releases
← All changes | includes/classes/utils/MobileDetect.php +1 -4 trunk2.5.0 View file →
@@ -1019,12 +1019,9 @@
1019 1019 */
1020 1020 public function __call( $name, $arguments ) {
1021 1021 // make sure the name starts with 'is', otherwise
1022 1022 if ( substr( $name, 0, 2 ) !== 'is' ) {
1023 - // Deviation from upstream Mobile_Detect: the message interpolates the
1024 - // called method name, so it is escaped in case the exception text is
1025 - // ever surfaced to a browser.
1026 - throw new BadMethodCallException( esc_html( "No such method exists: $name" ) );
1023 + throw new BadMethodCallException( "No such method exists: $name" );
1027 1024 }
1028 1025
1029 1026 $this->setDetectionType( self::DETECTION_TYPE_MOBILE );
1030 1027