-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Alt tag information not sync with mobile site #18514
Comments
Thanks @kraftbj. Adding the detail that this may occur only on self-hosted sites not using the Jetpack connection. Ref: p4a5px-2Tk-p2 On iOS with a self-hosted site and no JP connection it appears that:
|
Related: #8393 |
Similar issue on iOS: wordpress-mobile/WordPress-iOS#20726 |
I am taking a look at this issue as part of the maintenance work this week. So far what I found is that, as stated in the comments and description of this PR, the XML-RPC API does not have the I found the place in WordPress code that prepares the media item for the response (which is missing the I believe it would be a matter of updating the XML-RPC APIs to have that field and connect to the I will continue to investigate the feasibility of introducing this to the XML-RPC API as I am not sure of the state of this API's development and support. |
I did some extra investigation today to understand what exactly is needed to get this working and we will definitely need changes in the XML-RPC backend to support both fetching and updating the I started a discussion about it here: p1686676959241329-slack-C8H02V2TV Findings and possible solutionsThis seems to be the exact same issue as #8393, since I am able to edit the As mentioned by people that investigated this before, that field is not retrieved by the FetchingAndroid is using SuggestionI believe it would be a matter of updating UpdatingThis is tricky. For updating the media data, Android is using a direct call to wp.editPost and not some specific media call (as it doesn’t seem one exists). We are not passing the SuggestionI believe we would need a specific XML-RPC method for editing media doing something similar to what Jetpack does, that is, receiving a payload with media-specific attributes ( Mobile-sideAfter the backend updates to support the |
A lot of this explains why this apparently broken when JetPack was ripped out of the WordPress app. Looking forward to seeing this fixed. |
Keep in mind that The issue with self-hosted sites without Jetpack installed has been there forever since it's a limitation of the XML-RPC API. Regarding the XML-RPC API limitation, I opened a feature request here for WordPress.org: https://core.trac.wordpress.org/ticket/58582#comment:3 |
@thomashorta hmm, that doesn't seem to be true, as I still have the JetPack plugin installed, and using it, and haven't switched to the JetPack app, continuing to use the WordPress app. |
Sorry, I think my answer missed an important detail. Here's a complete answer: The self-hosted site has to have the Jetpack Plugin installed and connected to a WordPress.com account. Then when using the WordPress app logged into that WordPress.com account the self-hosted site will use the Jetpack APIs for some features, such as Media. The I just tested it on WordPress Android 22.6 and it works as expected in this scenario. Can you double-check that you are logged into the WordPress app using the same WordPress.com account connected to your self-hosted site's Jetpack plugin? |
@thomashorta so yes, I have all of that setup exactly that way, and have had it so for like probably 10 years. This only became a problem recently so either a WordPress app, JetPack plugin, or WordPress Core change broke something. |
@thomashorta I will also note that I am also NOT using an admin account, and never have, so if you are testing with an Admin account that is also not a true comparable test. |
@thomashorta ugh, so apparently the JetPack plugin must have been changed because I'm now seeing that in fact my normal Editor account is no longer being recognized as "connected" and to make matters worse the plugin won't let me connect JetPack to my WordPress.com account due to permissions issues, wrongly assuming that users should be Admin users, which was never the case before. |
Closing as duplicate of #18514. |
Expected behavior
Changes to an alt tag for a media item should sync between the mobile app and the site.
Actual behavior
The mobile app does not appear to send the new alt tag to the site (or at least in a way that the site can process). Changes to alt tags on the local site does not appear in the mobile apps.
Steps to reproduce the behavior
It seems like the alt tag field is simply not connected to the right post meta field for the attachment.
Tested on Pixel 7 Pro, Android 13 (5/5/23 sec update, 5/1/23 Google Play update), WP 22.4-rc-1 (1341)
The text was updated successfully, but these errors were encountered: