diff --git a/includes/class-wp-xmlrpc-client.php b/includes/class-wp-xmlrpc-client.php index 733a7222e97d1126208f8849c9206ee267745de4..6692911fe5bbf35d2fb43cc0a7077dfb599b8486 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 86484d97549413a690962d04cbaf30cbe35c096a..b69042e286669487d0464af87c36c0cafe944666 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