[wp-trac] Re: [WordPress Trac] #6444: Changeset 7561 (post rc3)
 leaves an open <p> at the end of the inserted gallery html
    WordPress Trac 
    wp-trac at lists.automattic.com
       
    Thu Apr 24 08:25:41 GMT 2008
    
    
  
#6444: Changeset 7561 (post rc3) leaves an open <p> at the end of the inserted
gallery html
-------------------------------------+--------------------------------------
 Reporter:  johnconners              |        Owner:  andy  
     Type:  defect                   |       Status:  closed
 Priority:  high                     |    Milestone:  2.5.1 
Component:  Template                 |      Version:  2.5   
 Severity:  critical                 |   Resolution:  fixed 
 Keywords:  has-patch needs-testing  |  
-------------------------------------+--------------------------------------
Comment (by tellyworth):
 I'm not necessarily advocating the priority 11 solution.  I'm concerned
 with the API change and coupling this introduces, in particular:
 1. The $after_formatting arg and 11/9 priorities might be fine for
 the_content, but do_shortcodes() is intended for use elsewhere in future.
 2. The $after_formatting arg isn't passed down the stack if
 do_shortcodes() is called recursively.  I'm not quite sure what the
 consequences of that are but they're likely to be confusing.  Recursive
 calls are explicitly documented in the API codex -
 http://codex.wordpress.org/Shortcode_API
-- 
Ticket URL: <http://trac.wordpress.org/ticket/6444#comment:24>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
    
    
More information about the wp-trac
mailing list