[wp-trac] [WordPress Trac] #7031: Choice of default URL for attachment

WordPress Trac noreply at wordpress.org
Mon Jul 15 17:42:37 UTC 2024


#7031: Choice of default URL for attachment
--------------------------------------+----------------------
 Reporter:  link2caro                 |       Owner:  (none)
     Type:  enhancement               |      Status:  closed
 Priority:  high                      |   Milestone:
Component:  Optimization              |     Version:  2.5.1
 Severity:  minor                     |  Resolution:  invalid
 Keywords:  has-patch has-unit-tests  |
--------------------------------------+----------------------
Changes (by prbot):

 * keywords:   => has-patch has-unit-tests


Comment:

 ''This ticket was mentioned in [https://github.com/WordPress/wordpress-
 develop/pull/6753 PR #6753] on [https://github.com/WordPress/wordpress-
 develop/ WordPress/wordpress-develop] by
 [https://profiles.wordpress.org/jonsurrell/ @jonsurrell].''
 Trac ticket: Core-61399

 Add type annotations in the HTML API where possible. In this PR I've
 avoided adding annotations where the supported annotations are worse that
 PHPDoc annotations.

 For example, I've avoided using the `array` type where the `@param` or
 `@return` annotations are more expressive, or a `mixed` type instead of a
 type union.

 I've extracted some bugfixes that arose as part of this work to
 https://github.com/WordPress/wordpress-develop/pull/6754, that's a smaller
 patch that can be landed independently.

 Closes #7031 (supersedes)

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


More information about the wp-trac mailing list