[wp-trac] Re: [WordPress Trac] #7166: get_the_content vs the_content

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 23 11:53:21 GMT 2008


#7166: get_the_content vs the_content
--------------------------------------------------------------+-------------
 Reporter:  christian at skarby.no                               |        Owner:  anonymous
     Type:  enhancement                                       |       Status:  new      
 Priority:  normal                                            |    Milestone:  2.7      
Component:  General                                           |      Version:  2.6      
 Severity:  normal                                            |   Resolution:           
 Keywords:  has-patch needs-testing dev-feedback 2nd-opinion  |  
--------------------------------------------------------------+-------------
Changes (by DD32):

  * keywords:  has-patch needs-testing => has-patch needs-testing dev-
               feedback 2nd-opinion
  * version:  => 2.6

Comment:

 I personally think that If you want it with the filters applied, You
 should just use:
 {{{
 $content = apply_filters('the_content',get_the_content($more_link_text,
 $stripteaser, $more_file));
 }}}

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


More information about the wp-trac mailing list