[wp-trac] [WordPress Trac] #61149: class WP_User(), mark prop $deleted as deprecated

WordPress Trac noreply at wordpress.org
Sun May 5 12:30:22 UTC 2024


#61149: class WP_User(), mark prop $deleted as deprecated
---------------------------+-----------------------------
 Reporter:  ignatiusjeroe  |      Owner:  (none)
     Type:  enhancement    |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Users          |    Version:
 Severity:  trivial        |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 I've search the source code for the utility of column ''deleted'' in
 database table Users. There is only one mention of it in function
 wp_update_user_counts(), but that seems like irrelevant since 'spam' seems
 like its replacement. If that is the case the WP_User class should change
 the comment

 current:
 {{{
 * @property string $deleted
 }}}

 replacement:
 {{{
 * @property string $deleted Deprecated. Use {@see $spam} instead.
 }}}


 mark

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


More information about the wp-trac mailing list