[wp-trac] [WordPress Trac] #33638: Comment template functions should accept full comment object

WordPress Trac noreply at wordpress.org
Wed Sep 9 02:50:45 UTC 2015


#33638: Comment template functions should accept full comment object
----------------------------+------------------
 Reporter:  wonderboymusic  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  4.4
Component:  Comments        |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+------------------

Comment (by wonderboymusic):

 In [changeset:"33963"]:
 {{{
 #!CommitTicketReference repository="" revision="33963"
 After [33891], `get_comment()` returns `global $comment` if no args are
 passed and the global is set (after setting the default to `null` here).
 This allows us to ditch global comment imports.

 See #33638.
 }}}

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


More information about the wp-trac mailing list