[wp-trac] [WordPress Trac] #56580: Docs: Default parameter value is missing for filter_block_kses_value function

WordPress Trac noreply at wordpress.org
Thu Sep 15 13:27:54 UTC 2022


#56580: Docs: Default parameter value is missing  for filter_block_kses_value
function
--------------------------+-----------------------------
 Reporter:  armondal      |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  6.1
Component:  Security      |     Version:  6.0.1
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"54181" 54181]:
 {{{
 #!CommitTicketReference repository="" revision="54181"
 Docs: Clarify the `$allowed_protocols` default value in various KSES
 functions.

 Add a note that the parameter is optional and defaults to the result of
 `wp_allowed_protocols()`.

 This affects:
 * `wp_kses()`
 * `filter_block_content()`
 * `filter_block_kses()`
 * `filter_block_kses_value()`

 Includes synchronizing the `$allowed_html` parameter description for
 consistency.

 Follow-up to [649], [6630], [18826], [32603], [43016], [46896], [48478].

 Props armondal, SergeyBiryukov.
 Fixes #56580.
 }}}

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


More information about the wp-trac mailing list