Skip to content
Snippets Groups Projects
Commit 600d1abb authored by Prasath Nadarajah's avatar Prasath Nadarajah
Browse files

default setting for updaing pulled posts

parent 3c628775
Branches
No related tags found
No related merge requests found
......@@ -103,7 +103,8 @@ class WP_Push_Syndication_Server {
'selected_user_roles' => array( 'administrator' ),
'pull_default_post_type' => 'post',
'pull_default_taxonomy' => 'category',
'pull_time_interval' => 3600
'pull_time_interval' => 3600,
'update_pulled_posts' => 'off'
);
$this->push_syndicate_settings = wp_parse_args( (array) get_option( 'push_syndicate_settings' ), $this->push_syndicate_default_settings );
......
......@@ -16,7 +16,7 @@ class WP_RSS_Client extends SimplePie implements WP_Client {
function __construct( $site_ID ) {
parent::SimplePie();
parent::__construct();
$this->set_feed_url( get_post_meta( $site_ID, 'syn_feed_url', true ) );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment