Closed sc0ttkclark closed 9 years ago
I should also note that to be able to do all this, I had to abstract the feed fetching functionality into it's own get_feed_posts
method and give it public access. do_pull
still has private access and utilizes this new abstracted method just fine.
The constructor now accepts a false, and if false it will not run do_pull
(null still runs all feeds).
This does not send the current feed settings from the form, it still requires saving, just like Do Feed Pull. I chose not to change that functionality there.
Going to close and rebased (w/ changes as requested) on develop
And on clicking of Manual pull, it now AJAX refreshes the log meta box with the latest from the manual pull.
I also fixed an issue with the meta box #fp_manual_pull that the JS was targeting unintentionally for the button with the same ID. Changed button ID to #fp_manual_pull_run