[wp-trac] [WordPress Trac] #43339: Global user_options calls should use user_meta instead

WordPress Trac noreply at wordpress.org
Fri Feb 16 21:48:41 UTC 2018


#43339: Global user_options calls should use user_meta instead
-------------------------+-------------------------------------------------
 Reporter:               |      Owner:
  johnjamesjacoby        |     Status:  new
     Type:  enhancement  |  Milestone:  Awaiting Review
 Priority:  normal       |    Version:
Component:  General      |   Keywords:  needs-patch 2nd-opinion good-first-
 Severity:  normal       |  bug
  Focuses:               |
-------------------------+-------------------------------------------------
 There are 2 places where WordPress uses the `user_option` functions with
 the global flag set to `true` which internally invokes the `user_meta`
 functions.

 In these cases, there is no benefit to using `user_option` and only a
 detriment by way of additional function calls.

 The user-meta keys in question are:
 * `default_password_nag`
 * `community-events-location`

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


More information about the wp-trac mailing list