[wp-trac] [WordPress Trac] #57690: The get_delete_post_link function uses the deprecated parameter

WordPress Trac noreply at wordpress.org
Fri Feb 10 06:43:41 UTC 2023


#57690: The get_delete_post_link function uses the deprecated parameter
--------------------------------+-----------------------------
 Reporter:  krunal265           |      Owner:  (none)
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Options, Meta APIs  |    Version:
 Severity:  normal              |   Keywords:  has-patch
  Focuses:  coding-standards    |
--------------------------------+-----------------------------
 [https://developer.wordpress.org/reference/functions/get_delete_post_link/]
 The parameter "null" at position **2** of get_delete_post_link() has been
 deprecated since WordPress version 3.0.0. We can use "" instead.

 File path: `wp-admin/includes/meta-boxes.php`
 Line number: `475`

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57690>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list