[wp-trac] [WordPress Trac] #34480: get_the_content inconsistent with get_the_title

WordPress Trac noreply at wordpress.org
Thu Oct 29 17:42:38 UTC 2015


#34480: get_the_content inconsistent with get_the_title
-----------------------------------+------------------------------
 Reporter:  atomicjack             |       Owner:
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  Posts, Post Types      |     Version:  trunk
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:  template
-----------------------------------+------------------------------
Changes (by MikeHansenMe):

 * keywords:   => has-patch 2nd-opinion


Comment:

 [attachment: 34480.diff] add the additional id param to both
 get_the_content and get_the_excerpt. It is a bit strange that they are in
 different positions (second and third) and after deprecated params but the
 use case seems to make sense.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34480#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list