web/wp-includes/pluggable-deprecated.php
changeset 204 09a1c134465b
parent 194 32102edaa81b
equal deleted inserted replaced
203:f507feede89a 204:09a1c134465b
   166 	return false;
   166 	return false;
   167 }
   167 }
   168 else :
   168 else :
   169 	_deprecated_function( 'wp_login', '2.5', 'wp_signon()' );
   169 	_deprecated_function( 'wp_login', '2.5', 'wp_signon()' );
   170 endif;
   170 endif;
       
   171 
       
   172 /**
       
   173  * WordPress AtomPub API implementation.
       
   174  *
       
   175  * Originally stored in wp-app.php, and later wp-includes/class-wp-atom-server.php.
       
   176  * It is kept here in case a plugin directly referred to the class.
       
   177  *
       
   178  * @since 2.2.0
       
   179  * @deprecated 3.5.0
       
   180  * @link http://wordpress.org/extend/plugins/atom-publishing-protocol/
       
   181  */
       
   182 if ( ! class_exists( 'wp_atom_server' ) ) {
       
   183 	class wp_atom_server {
       
   184 		public function __call( $name, $arguments ) {
       
   185 			_deprecated_function( __CLASS__ . '::' . $name, '3.5', 'the Atom Publishing Platform plugin' );
       
   186 		}
       
   187 
       
   188 		public static function __callStatic( $name, $arguments ) {
       
   189 			_deprecated_function( __CLASS__ . '::' . $name, '3.5', 'the Atom Publishing Platform plugin' );
       
   190 		}
       
   191 	}
       
   192 }