[wp-trac] [WordPress Trac] #58322: Docblock update for `get_sample_permalink_html` hook

WordPress Trac noreply at wordpress.org
Tue May 16 05:24:10 UTC 2023


#58322: Docblock update for `get_sample_permalink_html` hook
------------------------------+-----------------------
 Reporter:  Enchiridion       |       Owner:  audrasjb
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  6.3
Component:  Permalinks        |     Version:  2.9
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  docs
------------------------------+-----------------------
Changes (by audrasjb):

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


Comment:

 In [changeset:"55758" 55758]:
 {{{
 #!CommitTicketReference repository="" revision="55758"
 Docs: Clarify `@param` types on `get_sample_permalink_html` filter.

 `$new_title` and `$new_slug` can be null if `get_sample_permalink_html()`
 was called with default parameters, and they are documented as
 `string|null` in the function DocBlock.

 Follow-up to [34347].

 Props Enchiridion, audrasjb, SergeyBiryukov.
 Fixes #58322.
 See #33927. --Cette ligne, et les
 suivantes
 ci-dessous, seront ignorées--

 M    trunk/src/wp-admin/includes/post.php
 }}}

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


More information about the wp-trac mailing list