mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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:
parent
5491a56363
commit
5c283f52ba
@ -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' );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user