WordPress.org

Make WordPress Core

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


Ignore:
Timestamp:
07/06/12 22:34:32 (3 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.