[wp-trac] [WordPress Trac] #55523: Remove deprecation notice from get_the_excerpt
WordPress Trac
noreply at wordpress.org
Thu Apr 7 22:26:01 UTC 2022
#55523: Remove deprecation notice from get_the_excerpt
-------------------------------+------------------------------
Reporter: jamesglendenning | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 5.9.2
Severity: normal | Resolution:
Keywords: close | Focuses:
-------------------------------+------------------------------
Changes (by jrf):
* keywords: => close
Comment:
Thanks for opening this ticket and your suggestion.
> the deprecation notice is now just making noise
The deprecation notice only makes "noise" when a boolean is passed to the
function, which indicates a dev-error. I'd say keep the deprecation notice
and fix the dev error instead.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55523#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list