New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Untangle http:// and wordpress:// deeplinking URLs #11550
Conversation
You can test the changes on this Pull Request by downloading the APK here. |
Test results: Testing the
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the quick fix @maxme ! LGTM!
Feel free to merge @maxme after updating from develop to resolve the merge conflict 👍 Edit: merged it after seeing the update happened. |
@maxme Tangentially related: Is it possible to send an intent to open a post for editing in the WordPress app? Something on the lines of: At the moment they both just open the post editor for a blank new post in the currently selected site. The reference code starts here: Line 133 in 31cf4fe
|
@adityabhaskar That's a good idea and this would be possible if we changed that code a bit to capture the blog id and then open the editor for this specific site (similar to what is done with the "Share with" feature). |
@maxme Should I create a new issue with this and tag you in it? |
Yes please! |
Fixes an issue that made
wordpress://
URLs non-functional.This was probably introduced in: #9957
Note that I'm not sure why the issue is happening, according to the documentation this should work fine, and other urls like:
http://viewpost
should also work as well (which is an unwanted side effect).Test
Before the patch, run:
The app won't open.
After the patch, run the same command:
The app will open and show the specified post in the reader.
PR submission checklist:
RELEASE-NOTES.txt
if necessary.