• Resolved staze

    (@staze)


    I’ve posted about this in the iOS WordPress forums, but I thought I’d ask here incase the answer is obvious.

    I’ve installed Simply Exclude on my site, for the purpose of removing posts of certain categories from my homepage (they live only in their own category).

    The problem is, this seems to also exclude them from being seen via the WordPress iOS app. I’m not sure how the app gets it’s list of posts, but apparently in excluding certain posts from the main blog index, it also excludes them from the iOS app, even if they’re in a draft state (so obviously, they wouldn’t show up on the blog anyway since they’re unpublished).

    Changing the category to one that’s not excluded from the homepage allows them to be seen by the iOS app. Changing them back to an excluded category causes them to be hidden again.

    Any ideas?

    http://ww.wp.xz.cn/extend/plugins/simply-exclude/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Paul Menard

    (@pmenard)

    I will need to check the code. The Simply Exclude is support to only filter on the main page loop. Somehow I bet there is a flag when process XML-RPC with is not being checked by the plugin.

    Thread Starter staze

    (@staze)

    cool, thanks! let me know if there’s anything I can do to help. =)

    Thread Starter staze

    (@staze)

    Ha! Answered in the iOS wordpress forum.

    http://ios.forums.ww.wp.xz.cn/topic/how-does-ios-app-find-posts?replies=2#post-6059

    Should be easy enough…

    Thread Starter staze

    (@staze)

    Okay, can confirm changing line 1903 in simplyexclude.php to the following allows the iOS app to see all posts:

    if (is_admin() || ( defined( 'XMLRPC_REQUEST' ) && XMLRPC_REQUEST ))

    Done, and done! Let me know if you need anything else. =)

    Thread Starter staze

    (@staze)

    pmenard,

    Just checking to see if you’re going to be pushing this patch, or…?

    Thread Starter staze

    (@staze)

    Still happening in latest version released today.

    Changing line 2029 to be:

    if ((is_admin()) || ($query->is_admin) || ( defined( 'XMLRPC_REQUEST' ) && XMLRPC_REQUEST))

    Resolves it.

    Thread Starter staze

    (@staze)

    2.0.5 seems to have resolved this. Though looking at Trac, I’m not exactly sure HOW you fixed it. =P

    Anyway, thanks!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘[Plugin: Simply Exclude] WordPress iOS App (XML-RPC) exclude’ is closed to new replies.