[wp-trac] [WordPress Trac] #13425: Image Gallery of Private Post is publicly displayed
WordPress Trac
noreply at wordpress.org
Tue Jun 24 09:30:18 UTC 2025
#13425: Image Gallery of Private Post is publicly displayed
------------------------------------------+-------------------------
Reporter: hakre | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Gallery | Version: 3.0
Severity: normal | Resolution: worksforme
Keywords: has-patch dev-feedback close | Focuses:
------------------------------------------+-------------------------
Changes (by callumbw95):
* keywords: has-patch dev-feedback => has-patch dev-feedback close
* status: reopened => closed
* resolution: => worksforme
Comment:
Hi All,
I have taken a quick look at this and I don't believe it is possible to
replicate this issue exactly as documented now we have moved to gutenberg.
However I have taken the following steps which are very close to the
original:
1. Create a new Post, set a title.
2. Upload images to the gallery block.
3. Publish the post as private
4. Get the ID for the new post (52).
5. Create a second new Post.
6. Give it a Title and Insert the Gallery Shortcode with the ID from the
last Post. `[gallery id=52]`
7. Publish and view the second post on a clean browser / incognito so
viewing the page logged out.
We now don't see a gallery on the second post unless logged in which is
exactly as per the originally expected behaviour. As of such I believe
this issue is now resolved within the current state of WordPress, and can
be closed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/13425#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list