[wp-trac] [WordPress Trac] #56307: Docs: Fix parameter type of `$feature` in `block_has_support()`

WordPress Trac noreply at wordpress.org
Sat Jul 30 14:08:10 UTC 2022


#56307: Docs: Fix parameter type of `$feature` in `block_has_support()`
--------------------------+-----------------------
 Reporter:  Soean         |       Owner:  audrasjb
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  6.1
Component:  Editor        |     Version:  5.8
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+-----------------------
Changes (by audrasjb):

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


Comment:

 In [changeset:"53799" 53799]:
 {{{
 #!CommitTicketReference repository="" revision="53799"
 Docs: Fix `$feature` parameter type in `block_has_support()`.

 In `block_has_support()` docblock, the `$feature` parameter is an array,
 not a string.

 Props Soean, audrasjb.
 Fixes #56307.
 See #55646.
 }}}

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


More information about the wp-trac mailing list