Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter ddto

    (@ddto)

    Well, app has no problem editing existing posts in another language. I’d say the current behavior is confusing. Took me a bit of debugging to understand why it’s the app is missing pages.

    It’s an admin-oriented application, not a user-side. It’s like not showing pages in admin interface. The app mimics admin dashboard by displaying Recently Published posts. You don’t hide posts in Activity: Recently Published widget in dashboard, why would you want to do this in the app.

    I am a developer myself and I know we like to call bug a feature 😉 But it’s not a feature. It’s an unexpected behavior that adds headaches. I want to be able to edit any page from my mobile phone. I am not sure about other XMLRPC clients, but clearly WordPress app is about adding and editing posts.

    The right way to fix this could be:
    1) Add an option to disable single language selection for XMLRPC; or
    2) Add an option to disable single language selection based on User-Agent.

    Thread Starter ddto

    (@ddto)

    Okay, not sure if it is the right way to do it, but anyway here’s the quick fix.

    At file frontend/frontend.php. Search for:

    public function parse_query($query) {
                    $qv = $query->query_vars;

    Add this line after it:

    if(defined('XMLRPC_REQUEST')) $qv['lang']='';

    Thread Starter ddto

    (@ddto)

    The same goes for pages. I would really appreciate a quick fix for this. Like what code should I add or comment out at what file. Looks like a check needs to be added when a request is called using XMLRPC.

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