Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #21120, comment 13


Ignore:
Timestamp:
07/06/2012 10:34:32 PM (13 years ago)
Author:
scribu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21120, comment 13

    initial v1  
    1 I'm not sure if caching the whole user object is a good idea, since it contains the capabilities for the current blog. Then, if you call for_blog() on it with a different ID, you end up in a weird state.
     1I'm not sure if caching the whole user object is a good idea, since it contains the capabilities for the current blog. Then, if you call for_blog() on it with a different blog id, you end up in a weird state.
    22
    33Besides, WP_User::init() doesn't seem that expensive.