[wp-trac] [WordPress Trac] #60565: download_url() returns inaccurate error message on missing URL argument

WordPress Trac noreply at wordpress.org
Mon May 27 13:54:13 UTC 2024


#60565: download_url() returns inaccurate error message on missing URL argument
---------------------------------------------+-----------------------
 Reporter:  hinnerk                          |       Owner:  audrasjb
     Type:  enhancement                      |      Status:  closed
 Priority:  normal                           |   Milestone:  6.6
Component:  HTTP API                         |     Version:  6.4.3
 Severity:  trivial                          |  Resolution:  fixed
 Keywords:  has-patch commit has-unit-tests  |     Focuses:
---------------------------------------------+-----------------------
Changes (by audrasjb):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"58208" 58208]:
 {{{
 #!CommitTicketReference repository="" revision="58208"
 HTTP API: Improve `download_url()` error message.

 This changeset improves the error message returned when no URL is
 provided, and updates the related unit tests accordingly.

 Props hinnerk, audrasjb.
 Fixes #60565.
 }}}

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


More information about the wp-trac mailing list