[wp-trac] [WordPress Trac] #29732: post_template.php get_the_content() incorrect work when run without get_header?
    WordPress Trac 
    noreply at wordpress.org
       
    Tue Sep 23 12:08:34 UTC 2014
    
    
  
#29732: post_template.php get_the_content() incorrect work when run without
get_header?
-------------------------------+----------------------
 Reporter:  Skynin             |       Owner:
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Posts, Post Types  |     Version:  trunk
 Severity:  normal             |  Resolution:  invalid
 Keywords:                     |     Focuses:
-------------------------------+----------------------
Comment (by Skynin):
 Replying to [comment:5 SergeyBiryukov]:
 > [http://codex.wordpress.org/Function_Reference/setup_postdata
 setup_postdata()] would probably help.
 yes, it is! I was lazy. i'm sorry.
 very thanx
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29732#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list