[wp-trac] [WordPress Trac] #63248: PHPDoc for embed_handler_html is misleading

WordPress Trac noreply at wordpress.org
Thu Apr 10 13:45:57 UTC 2025


#63248: PHPDoc for embed_handler_html is misleading
----------------------------+-----------------------------
 Reporter:  apermo          |       Owner:  SergeyBiryukov
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  6.9
Component:  Embeds          |     Version:  2.9
 Severity:  normal          |  Resolution:  fixed
 Keywords:  docs has-patch  |     Focuses:
----------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"60149" 60149]:
 {{{
 #!CommitTicketReference repository="" revision="60149"
 Docs: Correct the type of the `$return` parameter in `embed_handler_html`
 filter.

 The value cannot be `false` at this point, as the filter is only applied
 to non-empty embed HTML.

 Follow-up to [25726], [46661].

 Props apermo, jasonsa19.
 Fixes #63248.
 }}}

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


More information about the wp-trac mailing list