WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #19639, comment 3


Ignore:
Timestamp:
12/21/11 21:43:57 (2 years ago)
Author:
archon810
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19639, comment 3

    initial v1  
    22> Wouldn't it be possible to just hook into `the_content` before `do_shortcode()` to make the replacement? 
    33 
    4 I'd rather avoid doing something this involved and apply the fixes once each shortcode is being processed and the parameters have already been split up into the list. Ideally, changes to the whole $content should be avoided IMO, especially if regex is the only [sane] way to accomplish the task. 
     4I'd rather avoid doing something this involved and apply the fixes once each shortcode is being processed and the parameters have already been split up into a list. Ideally, changes to the whole $content should be avoided IMO, especially if regex is the only [sane] way to accomplish the task.