WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/10/2008 07:33:44 PM (12 years ago)
Author:
azaozz
Message:

Removes the disabling of captions, but leaves couple of hooks so a plugin can do it easily. For 2.6.1, see #6812

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.6/wp-includes/media.php

    r8313 r8607  
    355355
    356356function img_caption_shortcode($attr, $content = null) {
    357 
    358     if ( defined('CAPTIONS_OFF') && true == CAPTIONS_OFF )
    359         return $content;
    360357
    361358    // Allow plugins/themes to override the default caption template.
Note: See TracChangeset for help on using the changeset viewer.