How does iOS app find posts?
I've installed a plugin on my site called "simply exclude" that removes certain categories from the "homepage" of my wordpress site. But in doing this, it seems to prevent the iOS app from seeing these posts as well.
How does the iOS app find it's posts? Does it just look at the homepage? Does it look at the RSS feeds (which all posts are set to show up in)?
I'd like to word with the author if this plugin, if possible, to resolve this issue, but I need more info.
Hi, it seems that the plugin is filtering on pre_get_posts:
It has an exception for the wp-admin interface:
// We don't process filtering for admin. ever! if (is_admin()) return $query;
I guess the author should add another for XML-RPC calls:
// We don't process filtering for admin or XML-RPC. ever! if (is_admin() || ( defined( XMLRPC_REQUEST ) && XMLRPC_REQUEST ) ) return $query;
This is great. Only issue was missing single quotes. =)
if (is_admin() || ( defined( 'XMLRPC_REQUEST' ) && XMLRPC_REQUEST )) return $query;
(note around the "defined('XMLRPC_REQUEST')")
But this seems to have worked. Thanks!!! I'll note this to the author.
Right, I should have tested it ;)
ah, no problem. I can confirm it worked. I just need to get the change pushed to "Simply Exclude".
Thanks again Jorge!
This topic has been closed to new replies.