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

WordPress Trac noreply at wordpress.org
Mon Apr 14 14:30:15 UTC 2025


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

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


Comment:

 In [changeset:"60157" 60157]:
 {{{
 #!CommitTicketReference repository="" revision="60157"
 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].

 Reviewed by SergeyBiryukov, audrasjb.
 Merges [60149] to 6.8 branch.
 Props apermo, jasonsa19.
 Fixes #63248.
 }}}

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


More information about the wp-trac mailing list