[wp-trac] [WordPress Trac] #49957: Adopt a policy to remove deprecated functions

WordPress Trac noreply at wordpress.org
Mon Apr 20 09:09:13 UTC 2020


#49957: Adopt a policy to remove deprecated functions
-------------------------------------+-------------------------------------
 Reporter:  ayeshrajans              |       Owner:  (none)
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  General                  |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  2nd-opinion needs-dev-   |     Focuses:  docs, performance,
  note needs-docs needs-codex        |  coding-standards
-------------------------------------+-------------------------------------

Comment (by ayeshrajans):

 In Git, you can check if there have ever been a removal of a function:

 `git diff HEAD~10000..HEAD src/wp-includes/deprecated.php`

 There are line removals (as `git diff --numstat`) would show, but they are
 purely line corrections. I could not find any function that was removed
 with a bisect of all 41,000+ commits in recorded WordPress history
 (although there is a chance this is not accurate).

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


More information about the wp-trac mailing list