[wp-trac] [WordPress Trac] #57775: wp_create_file_in_uploads Called as Action Hook

WordPress Trac noreply at wordpress.org
Mon Oct 9 21:29:56 UTC 2023


#57775: wp_create_file_in_uploads Called as Action Hook
-------------------------------------------------+-------------------------
 Reporter:  Howdy_McGee                          |       Owner:
                                                 |  johnbillion
     Type:  defect (bug)                         |      Status:  reviewing
 Priority:  normal                               |   Milestone:  6.4
Component:  General                              |     Version:  2.5
 Severity:  trivial                              |  Resolution:
 Keywords:  has-patch 2nd-opinion needs-testing  |     Focuses:
  has-testing-info                               |
-------------------------------------------------+-------------------------
Changes (by nicolefurlan):

 * keywords:  has-patch 2nd-opinion needs-testing needs-testing-info => has-
     patch 2nd-opinion needs-testing has-testing-info


Comment:

 == Testing Instructions
 These steps define how to test the feature or enhancement, and indicates
 the expected behavior or results.

 === Steps to Test
 1. Install and activate theme Twenty Fifteen or older.
 2. Upload a custom header image on `Appearance > Header`.
     - To ensure we're encountering the code we changed, the uploaded image
 should be the exact dimensions (954x1300) e.g.
 https://i0.wp.com/www.ciderschool.com/wp-content/uploads/2015/01/cropped-
 apple_closeup-1024x683.jpg?fit=954%2C1300&ssl=1
 1. Upload an custom background image on `Appearance > Background`.

 === Expected Results
 Lists each expected result or behavior, i.e. what should happen when
 running the test(s):
 - ✅ Uploading a custom header image on `Appearance > Header` continues to
 work as expected (the selected image is uploaded to the Media Library and
 displays properly on the frontend)
 - ✅ Uploading a custom background image on `Appearance > Background`
 continues to work as expected (the selected image is uploaded to the Media
 Library and displays properly on the frontend)

 === Supplemental Artifacts
 - https://codex.wordpress.org/Appearance_Header_Screen
 - https://codex.wordpress.org/Appearance_Background_Screen

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


More information about the wp-trac mailing list