[wp-trac] [WordPress Trac] #22295: has_post_format() should accept an array (was: wp_convert_bytes_to_hr : annoying notice if 0 bytes and deprecated or not ?)

WordPress Trac noreply at wordpress.org
Wed Jan 9 17:57:36 UTC 2013


#22295: has_post_format() should accept an array
--------------------------+------------------------------
 Reporter:  michelwppi    |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Formatting    |     Version:  3.4.2
 Severity:  normal        |  Resolution:  duplicate
 Keywords:  close         |
--------------------------+------------------------------
Changes (by F J Kaiser):

 * status:  new => closed
 * resolution:   => duplicate


Comment:

 Replying to [comment:1 SergeyBiryukov]:
 > The patch on #19067 does exactly that. Suggest closing as a duplicate of
 that ticket, unless we also want to fix the notice in
 `wp_convert_bytes_to_hr()`.

 +1 - No need to maintain two functions that do nearly the same and the
 other ticket has supporters.

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


More information about the wp-trac mailing list