mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Remove AtomPub from core.
* Will be replaced with http://wordpress.org/extend/plugins/atom-publishing-protocol/. * Introduces an action, xmlrpc_rsd_apis, to add APIs to xmlrpc.php?rsd. * Introduces support for 'error' being 403 and 50x in class-wp.php. * Removes 'Remote Publishing' from Writing Settings (see [21804]). Keeps the remote_publishing settings section. DB version is bumped to generate the new wp-app rewrite rule and remove the old enable_app option. props wonderboymusic. fixes #21509. git-svn-id: https://develop.svn.wordpress.org/trunk@21818 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -4670,9 +4670,8 @@ function _future_post_hook( $deprecated = '', $post ) {
|
||||
* @since 2.3.0
|
||||
* @access private
|
||||
* @uses $wpdb
|
||||
* @uses XMLRPC_REQUEST and APP_REQUEST constants.
|
||||
* @uses XMLRPC_REQUEST constant.
|
||||
* @uses do_action() Calls 'xmlprc_publish_post' on post ID if XMLRPC_REQUEST is defined.
|
||||
* @uses do_action() Calls 'app_publish_post' on post ID if APP_REQUEST is defined.
|
||||
*
|
||||
* @param int $post_id The ID in the database table of the post being published
|
||||
*/
|
||||
@@ -4681,8 +4680,6 @@ function _publish_post_hook($post_id) {
|
||||
|
||||
if ( defined('XMLRPC_REQUEST') )
|
||||
do_action('xmlrpc_publish_post', $post_id);
|
||||
if ( defined('APP_REQUEST') )
|
||||
do_action('app_publish_post', $post_id);
|
||||
|
||||
if ( defined('WP_IMPORTING') )
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user