[wp-trac] [WordPress Trac] #56596: Docs: Default parameter not mentioned on strip_core_block_namespace

WordPress Trac noreply at wordpress.org
Sun Oct 16 15:44:32 UTC 2022


#56596: Docs: Default parameter not mentioned on strip_core_block_namespace
-----------------------------------------+-----------------------------
 Reporter:  rakibwordpress               |       Owner:  SergeyBiryukov
     Type:  defect (bug)                 |      Status:  closed
 Priority:  normal                       |   Milestone:  6.1
Component:  Editor                       |     Version:  6.0.1
 Severity:  normal                       |  Resolution:  fixed
 Keywords:  has-patch changes-requested  |     Focuses:  docs
-----------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"54520" 54520]:
 {{{
 #!CommitTicketReference repository="" revision="54520"
 Docs: Clarify default values for a few block function parameters.

 This applies to:
 * `$block_name` in `strip_core_block_namespace()`
 * `$allowed_html` in `filter_block_content()`
 * `$pagination_type` in `get_comments_pagination_arrow()`

 Follow-up to [46896], [48794], [53138], [54181].

 Props rakibwordpress, ironprogrammer, sabernhardt, SergeyBiryukov.
 Fixes #56596.
 }}}

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


More information about the wp-trac mailing list