[wp-trac] [WordPress Trac] #23598: Retrievering images from the gallery (image.php)
WordPress Trac
noreply at wordpress.org
Sun Feb 24 11:09:24 UTC 2013
#23598: Retrievering images from the gallery (image.php)
-----------------------------+--------------------------
Reporter: sgr33n | Type: defect (bug)
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Themes
Version: | Severity: normal
Keywords: |
-----------------------------+--------------------------
Hi people,
I'm just creating my new wordpress theme and looking at the code of the
twenty twelve theme for image.php I see that retrievering images from the
gallery doesn't work so good.
Infact looking for the next image it looks at the images attached to the
post, not to the ids attribute in the shortcode. For example, if I add a
gallery to the post with this code:
{{{
[gallery ids="946,945,943"]
}}}
image.php will look to all attached images in order to display next and
prev images, not to the shortcode attribute.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23598>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list