From dc2e8d139697363435f7b90563347ac5b8445a80 Mon Sep 17 00:00:00 2001 From: Prasath Nadarajah <n.prasath.002@gmail.com> Date: Mon, 20 Aug 2012 16:58:14 +0530 Subject: [PATCH] cleanup --- includes/class-wp-xmlrpc-client.php | 5 ++++- push-syndication.php | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/includes/class-wp-xmlrpc-client.php b/includes/class-wp-xmlrpc-client.php index 733a722..6692911 100644 --- a/includes/class-wp-xmlrpc-client.php +++ b/includes/class-wp-xmlrpc-client.php @@ -2,7 +2,7 @@ include_once( ABSPATH . 'wp-includes/class-IXR.php' ); include_once( ABSPATH . 'wp-includes/class-wp-http-ixr-client.php' ); -include_once(dirname(__FILE__) . '/interface-wp-client.php'); +include_once( dirname(__FILE__) . '/interface-wp-client.php' ); include_once( dirname( __FILE__ ) . '/push-syndicate-encryption.php' ); class WP_XMLRPC_Client extends WP_HTTP_IXR_Client implements WP_Client { @@ -35,6 +35,9 @@ class WP_XMLRPC_Client extends WP_HTTP_IXR_Client implements WP_Client { $args['post_type'] = $post['post_type']; $args['wp_password'] = $post['post_password']; + // @TODO add date arguement + // @TODO add featured image + // @TODO extend this to custom taxonomies $args['terms_names'] = array( 'category' => wp_get_object_terms( $post_ID, 'category', array('fields' => 'names') ), diff --git a/push-syndication.php b/push-syndication.php index 86484d9..b69042e 100644 --- a/push-syndication.php +++ b/push-syndication.php @@ -19,4 +19,4 @@ if ( !defined( 'PUSH_SYNDICATION_ENVIRONMENT' ) ) define( 'PUSH_SYNDICATION_ENVIRONMENT', 'WP' ); $push_syndication_server_class = PUSH_SYNDICATION_ENVIRONMENT . '_Push_Syndication_Server'; -$push_syndication_server = new $push_syndication_server_class(); +$push_syndication_server = new $push_syndication_server_class(); \ No newline at end of file -- GitLab