[wp-trac] [WordPress Trac] #49889: Image.php - Wrap Error Suppressors in WP_DEBUG Conditionals

WordPress Trac noreply at wordpress.org
Mon Apr 13 05:42:27 UTC 2020


#49889: Image.php - Wrap Error Suppressors in WP_DEBUG Conditionals
-------------------------------------------------+-------------------------
 Reporter:  Howdy_McGee                          |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  5.5
Component:  Media                                |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch dev-feedback needs-        |     Focuses:  coding-
  refresh                                        |  standards
-------------------------------------------------+-------------------------
Changes (by mukesh27):

 * keywords:  has-patch dev-feedback => has-patch dev-feedback needs-refresh


Comment:

 Hi there, Can you please add version number for the new function doc block
 as the ticket is set to the milestone 5.5?

 {{{#!php
 /**
  * Allow PHPs getimagesize() to be debuggable when necessary.
  *
  * @since 5.5.0
  *
  * @param string $filename      The file path.
  * @param array $imageinfo      Extended image information.
  * @return array|false Array of image information or false on failure.
  */
 function wp_getimagesize( $filename, &$imageinfo = array() ) {
 }}}

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


More information about the wp-trac mailing list