Correct the deprecated notice in AtomPub's deprecated class. see #22855.

git-svn-id: http://core.svn.wordpress.org/trunk@23204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2012-12-26 20:35:27 +00:00
parent 5491a56363
commit 5c283f52ba

View File

@ -182,11 +182,11 @@ endif;
if ( ! class_exists( 'wp_atom_server' ) ) { if ( ! class_exists( 'wp_atom_server' ) ) {
class wp_atom_server { class wp_atom_server {
public function __call( $name, $arguments ) { public function __call( $name, $arguments ) {
_deprecated_function( __CLASS__ . '::' . $name, '3.5', 'the Atom Publishing Platform plugin' ); _deprecated_function( __CLASS__ . '::' . $name, '3.5', 'the Atom Publishing Protocol plugin' );
} }
public static function __callStatic( $name, $arguments ) { public static function __callStatic( $name, $arguments ) {
_deprecated_function( __CLASS__ . '::' . $name, '3.5', 'the Atom Publishing Platform plugin' ); _deprecated_function( __CLASS__ . '::' . $name, '3.5', 'the Atom Publishing Protocol plugin' );
} }
} }
} }