WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #24990, comment 14


Ignore:
Timestamp:
05/11/2015 11:23:53 AM (4 years ago)
Author:
tychay
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24990, comment 14

    initial v1  
    1 The patch in the original post does cause a small side-effect. the filter img_caption_shortcode_width will be passed in a shortcode-processed caption attribute. I assume side effects like these are why do_shortcodes() are done at the very end the the processing chain in most shortcode functions.
     1The patch (24990.diff​ ) in the original bug report does cause a small side-effect. the filter img_caption_shortcode_width will be passed in a shortcode-processed caption attribute. I assume side effects like these are why do_shortcodes() are done at the very end the the processing chain in most shortcode functions.