WordPress.org

Make WordPress Core

Ticket #16087: twentyten_1.3_to_1.2.diff

File twentyten_1.3_to_1.2.diff, 764 bytes (added by Jayjdk, 7 years ago)
  • functions.php

     
    285285 * Galleries are styled by the theme in Twenty Ten's style.css. This is just
    286286 * a simple filter call that tells WordPress to not use the default styles.
    287287 *
    288  * @since Twenty Ten 1.3
     288 * @since Twenty Ten 1.2
    289289 */
    290290add_filter( 'use_default_gallery_style', '__return_false' );
    291291
     
    296296 * filter instead, as seen above.
    297297 *
    298298 * @since Twenty Ten 1.0
    299  * @deprecated Deprecated in Twenty Ten 1.3 for WordPress 3.1
     299 * @deprecated Deprecated in Twenty Ten 1.2 for WordPress 3.1
    300300 *
    301301 * @return string The gallery style filter, with the styles themselves removed.
    302302 */