Scott Taylor fe6b5983df In PHP 5.0.0, is_a() became deprecated in favour of the instanceof operator. Calling is_a() would result in an E_STRICT warning.
In PHP 5.3.0, `is_a()` is no longer deprecated, and will therefore no longer throw `E_STRICT` warnings.

To avoid warnings in PHP < 5.3.0, convert all `is_a()` calls to `$var instanceof WP_Class` calls.

`instanceof` does not throw any error if the variable being tested is not an object, it simply returns `false`.

Props markoheijnen, wonderboymusic.
Fixes #25672.

Built from https://develop.svn.wordpress.org/trunk@31188


git-svn-id: http://core.svn.wordpress.org/trunk@31169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-16 01:06:24 +00:00
..
2014-11-25 06:12:22 +00:00
2014-12-18 17:55:22 +00:00
2015-01-10 21:59:22 +00:00
2015-01-10 22:11:22 +00:00
2015-01-10 05:29:22 +00:00
2015-01-10 05:29:22 +00:00
2015-01-10 05:29:22 +00:00
2015-01-10 05:29:22 +00:00
2015-01-08 05:03:23 +00:00
2014-12-09 11:27:22 +00:00