[wp-trac] Re: [WordPress Trac] #6809: SUGGESTED SOLUTION: Wordpress 2.5 get_the_content only works with added wpautop

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 23 01:37:26 GMT 2008


#6809: SUGGESTED SOLUTION: Wordpress 2.5 get_the_content only works with added
wpautop
-------------------------------------------+--------------------------------
 Reporter:  fadingdust                     |        Owner:  anonymous
     Type:  defect                         |       Status:  new      
 Priority:  high                           |    Milestone:           
Component:  General                        |      Version:  2.5      
 Severity:  critical                       |   Resolution:           
 Keywords:  get_the_content, wpautop tags  |  
-------------------------------------------+--------------------------------
Comment (by DD32):

 > b) get_the_content's 'return $output' needs to be 'return
 wpautop($output)'

 wpautop should be run on the the_content filter, so the $output ''should''
 be wpautop'd allready.

 Does it occur with the Default theme? Does it occur with all plugins
 disabled?

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6809#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list