[wp-trac] [WordPress Trac] #58163: Media Tests for Attachments and Images

WordPress Trac noreply at wordpress.org
Thu Apr 20 06:37:43 UTC 2023


#58163: Media Tests for Attachments and Images
-------------------------+--------------------------------------
 Reporter:  Howdy_McGee  |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Media        |    Version:  trunk
 Severity:  normal       |   Keywords:  has-unit-tests has-patch
  Focuses:               |
-------------------------+--------------------------------------
 The attached patch adds PHPUnit Tests to the following functions:

  - wp_get_attachment_url()
  - wp_get_attachment_metadata()
  - image_downsize()
  - get_image_tag()
  - image_get_intermediate_size()
  - wp_get_attachment_image_src()
  - wp_get_attachment_image()

 The tests are straight-forward and ensures that they are working as
 expected.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58163>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list