Changeset 8313 for trunk/wp-includes/media.php
- Timestamp:
- 07/11/2008 03:59:14 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/media.php
r8289 r8313 352 352 353 353 add_shortcode('wp_caption', 'img_caption_shortcode'); 354 add_shortcode('caption', 'img_caption_shortcode'); 354 355 355 356 function img_caption_shortcode($attr, $content = null) { 356 357 358 if ( defined('CAPTIONS_OFF') && true == CAPTIONS_OFF ) 359 return $content; 360 357 361 // Allow plugins/themes to override the default caption template. 358 362 $output = apply_filters('img_caption_shortcode', '', $attr, $content);
Note: See TracChangeset
for help on using the changeset viewer.