[wp-trac] [WordPress Trac] #56589: Add missing `_deprecated_function()` calls in deprecated functions

WordPress Trac noreply at wordpress.org
Thu Oct 6 18:31:29 UTC 2022


#56589: Add missing `_deprecated_function()` calls in deprecated functions
----------------------------------------------------+---------------------
 Reporter:  desrosj                                 |       Owner:  (none)
     Type:  defect (bug)                            |      Status:  new
 Priority:  normal                                  |   Milestone:  6.2
Component:  General                                 |     Version:
 Severity:  normal                                  |  Resolution:
 Keywords:  good-first-bug has-patch needs-testing  |     Focuses:
----------------------------------------------------+---------------------
Changes (by desrosj):

 * milestone:  Future Release => 6.2


Old description:

> There are several older deprecated functions that do not have a
> `__deprecate_function()` call inside them.
>
> - Admin deprecated: 10
> - Admin MS deprecated: 1
> - Normal deprecated: 1
>
> Without this function, site owners are never informed that a deprecated
> function is being called on their site, and of the intended replacement
> if one exists. A `__deprecated_function()` call should be added to these
> for consistency.

New description:

 There are several older deprecated functions that do not have a
 `_deprecate_function()` call inside them.

 - Admin deprecated: 10
 - Admin MS deprecated: 1
 - Normal deprecated: 1

 Without this function, site owners are never informed that a deprecated
 function is being called on their site, and of the intended replacement if
 one exists. A `_deprecated_function()` call should be added to these for
 consistency.

--

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


More information about the wp-trac mailing list