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

Applying Lightbox "Click on Expand" on 1 Image Block Automatically Adds the Option on All Other Images #55290

Closed
thesunitarai opened this issue Oct 12, 2023 · 2 comments

Comments

@thesunitarai
Copy link

Description

I installed WordPress 6.4 Beta 3 via the Beta Tester plugin and the 2024 theme has been activated.
I went to Appearance> Editor > Templates > Blog Home and then added the "Click on Expand" option on the first image on the template.
And, when I checked the preview after saving the changes, I could see the Lightbox option had been automatically added to all the other images on the template.

Step-by-step reproduction instructions

  1. Install WordPress 6.4 Beta 3 via the Beta Tester plugin
  2. Activate the Twenty Twenty Four theme
  3. Go to Appearance > Editor > Templates > Blog Home
  4. Click anywhere on the page to edit and once the editor opens, click on the first image block, and check the "Click on Expand" option
  5. Save the changes.
  6. View the page and click on the first image to see whether the lightbox is working or not. Then also click on other images on the page and you'll see they also have the lightbox option.

Screenshots, screen recording, code snippet

WP-6.4.Beta3-Bug.mp4

Environment info

  • PHP Version 8.1.23
  • WordPress 6.4 Beta 3 (Installed via Beta Tester Plugin)
  • MacBook Air (M2 Chip), Google Chrome

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@kafleg
Copy link
Member

kafleg commented Oct 12, 2023

Here the the core ticket https://core.trac.wordpress.org/ticket/59598

@carolinan
Copy link
Contributor

Hi!
This is a duplicate of #55119.
The problem has already been solved and the fix will be in WordPress 6.4 RC1: #55120 (comment)

@carolinan carolinan closed this as not planned Won't fix, can't repro, duplicate, stale Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants