[wp-trac] [WordPress Trac] #55115: Change depreciated method

WordPress Trac noreply at wordpress.org
Tue Feb 8 15:47:20 UTC 2022


#55115: Change depreciated method
--------------------------+-----------------------------
 Reporter:  azouamauriac  |      Owner:  (none)
     Type:  enhancement   |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 the function wpdb::escape( string|array $data ) is depreciate as per
 documentation
 [https://developer.wordpress.org/reference/classes/wpdb/escape/], but it's
 still using depreciated function such as wpdb::_weak_escape and itself.

 I think we shouldn't use depreciated functions since charity begins at
 home.

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


More information about the wp-trac mailing list