WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #26623


Ignore:
Timestamp:
12/15/2013 05:36:28 PM (6 years ago)
Author:
DrewAPicture
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26623

    • Property Keywords has-patch added
  • Ticket #26623 – Description

    initial v1  
    1515{{{
    1616#!div style="font-size: 80%"
    17   {{{#!php
    1817[gallery class="foobar"]
    19   }}}
    2018}}}
    2119
     
    2422{{{
    2523#!div style="font-size: 80%"
    26   {{{#!php
    2724<div id="gallery-1" class="gallery galleryid-4 gallery-columns-2 gallery-size-thumbnail foobar">
    28   }}}
    2925}}}
    3026
     
    4238
    4339{{{
    44 #!div style="font-size: 80%"
    45   {{{#!php
     40#!php
    4641//add a class to the gallery depending on a template tag
    4742
     
    5348}
    5449add_filter('gallery_class', 'gallery_intercept_class', 10, 3);
    55   }}}
    5650}}}
    5751
     
    7064
    7165{{{
    72 #!div style="font-size: 80%"
    73   {{{#!php
     66#!php
    7467///change the tag to rather be a ul
    7568
     
    7871}
    7972add_filter('gallery_container_start', 'gallery_intercept_container_start', 10, 4);
    80   }}}
    8173}}}
    8274
     
    9486
    9587{{{
    96 #!div style="font-size: 80%"
    97   {{{#!php
     88#!php
    9889///change the closing tag to a ul
    9990
     
    10293}
    10394add_filter('gallery_container_end', 'gallery_intercept_container_end', 10, 3);
    104   }}}
    10595}}}
    10696
     
    118108
    119109{{{
    120 #!div style="font-size: 80%"
    121   {{{#!php
     110#!php
    122111//do not output any separator
    123112
     
    126115}
    127116add_filter('gallery_column_separator', 'gallery_intercept_separator', 10, 3);
    128   }}}
    129117}}}