WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/11/2012 08:11:39 PM (8 years ago)
Author:
nacin
Message:

Remove AtomPub from core.

DB version is bumped to generate the new wp-app rewrite rule and remove the old enable_app option.

props wonderboymusic.
fixes #21509.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/pluggable-deprecated.php

    r18514 r21818  
    169169    _deprecated_function( 'wp_login', '2.5', 'wp_signon()' );
    170170endif;
     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 */
     182if ( ! 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}
Note: See TracChangeset for help on using the changeset viewer.