[wp-trac] [WordPress Trac] #52842: No way to adjust attributes in wp_resource_hints()

WordPress Trac noreply at wordpress.org
Sun May 23 22:12:03 UTC 2021


#52842: No way to adjust attributes in wp_resource_hints()
--------------------------+---------------------
 Reporter:  vanyukov      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  5.8
Component:  General       |     Version:
 Severity:  minor         |  Resolution:
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+---------------------

Comment (by vanyukov):

 @Rahmohn ,

 I would probably use the [https://make.wordpress.org/core/handbook/best-
 practices/inline-documentation-standards/php/#1-1-parameters-that-are-
 arrays PHP Documentation Standards], and at least change
 `string[]|array[]` to `string|array`.

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


More information about the wp-trac mailing list