]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/pluggable-deprecated.php
WordPress 3.5.1-scripts
[autoinstalls/wordpress.git] / wp-includes / pluggable-deprecated.php
index 2a202ace0fca632847dd6c4a92b2ea6d758ce090..69e78f5f9542c4467ffcec0ad57a0c65c504e6a1 100644 (file)
@@ -168,3 +168,25 @@ function wp_login($username, $password, $deprecated = '') {
 else :
        _deprecated_function( 'wp_login', '2.5', 'wp_signon()' );
 endif;
+
+/**
+ * WordPress AtomPub API implementation.
+ *
+ * Originally stored in wp-app.php, and later wp-includes/class-wp-atom-server.php.
+ * It is kept here in case a plugin directly referred to the class.
+ *
+ * @since 2.2.0
+ * @deprecated 3.5.0
+ * @link http://wordpress.org/extend/plugins/atom-publishing-protocol/
+ */
+if ( ! class_exists( 'wp_atom_server' ) ) {
+       class wp_atom_server {
+               public function __call( $name, $arguments ) {
+                       _deprecated_function( __CLASS__ . '::' . $name, '3.5', 'the Atom Publishing Platform plugin' );
+               }
+
+               public static function __callStatic( $name, $arguments ) {
+                       _deprecated_function( __CLASS__ . '::' . $name, '3.5', 'the Atom Publishing Platform plugin' );
+               }
+       }
+}
\ No newline at end of file