Skip to content
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

Editor media uploads: Photo not added when "Add Photos Only" access is enabled and camera is used #17467

Closed
twstokes opened this issue Nov 12, 2021 · 3 comments
Assignees

Comments

@twstokes
Copy link
Contributor

twstokes commented Nov 12, 2021

Expected behavior

Photo from camera is inserted into the post.

Actual behavior

Photo from camera is not inserted into the post.

Steps to reproduce the behavior

  1. Clean install WordPress (delete first, then install)
  2. Confirm that Settings -> WordPress -> "Allow WordPress to Access" -> Doesn't contain anything about photos
  3. In a new Post, tap the + and choose the Image block
  4. Select "Take a Photo"
  5. When prompted with "'WordPress' Would Like to Access Your Photos", tap "Don't Allow"
  6. When prompted with "'WordPress' Would Like to Access the Camera", tap "OK"
  7. Take a picture and choose "Use Photo"
  8. Tap "OK" on the "'WordPress' Would Like to Add to your Photos" prompt
  9. Observe no image is added to the post
  10. Confirm that Settings -> WordPress -> "Allow WordPress to Access" -> Photos -> "Add Photos Only"
  11. Confirm that the photo taken exists in the Photos app
Tested on iPhone 12, iOS 14.8, WPiOS 18.5.1
@twstokes
Copy link
Contributor Author

Related: #17468

@twstokes twstokes changed the title Media uploads: Photo not added when "Add Photos Only" access is enabled and camera is used Media uploads in the editor: Photo not added when "Add Photos Only" access is enabled and camera is used Nov 12, 2021
@twstokes twstokes changed the title Media uploads in the editor: Photo not added when "Add Photos Only" access is enabled and camera is used Editor media uploads: Photo not added when "Add Photos Only" access is enabled and camera is used Nov 12, 2021
@sla8c sla8c self-assigned this Mar 14, 2022
@sla8c
Copy link
Contributor

sla8c commented Mar 14, 2022

Update / note: I looked at this during hack week last week and have a PR coming sometime this week thx

@twstokes
Copy link
Contributor Author

twstokes commented Apr 4, 2022

It looks like this is resolved with #18139. I'm going to close this out. Thanks @sla8c!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants