ddto
Forum Replies Created
-
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.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']='';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.