[wp-trac] [WordPress Trac] #21082: The Gallery shortcode relies on #gallery-instance to hook the CSS, but the id sometimes isn't specific enough
WordPress Trac
noreply at wordpress.org
Wed Jan 23 18:53:26 UTC 2013
#21082: The Gallery shortcode relies on #gallery-instance to hook the CSS, but the
id sometimes isn't specific enough
-------------------------------------+------------------------------
Reporter: matveb | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Gallery | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+------------------------------
Changes (by MikeHansenMe):
* cc: mdhansen@… (added)
* keywords: has-patch => has-patch needs-testing
Comment:
This patch moves the general styles to use the class and also takes
advantage of the $instance var to only add it once. This will likely still
be added on the first gallery of each infinite scroll load. This is still
much better than being added to every gallery.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21082#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list