[wp-trac] [WordPress Trac] #23255: get_post_format() can throw PHP notice and doesn't return WP_Error

WordPress Trac noreply at wordpress.org
Thu Apr 11 02:52:56 UTC 2013


#23255: get_post_format() can throw PHP notice and doesn't return WP_Error
------------------------------------+------------------
 Reporter:  azaozz                  |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  3.6
Component:  Warnings/Notices        |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------

Comment (by ericlewis):

 In [attachment:23255.diff], in response to the comments by [comment:8
 nacin] and [comment:11 azaozz], leave the return values from
 get_the_format() as is, modify inline docs accordingly.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23255#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list