WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #16225, comment 3


Ignore:
Timestamp:
01/16/11 17:14:59 (3 years ago)
Author:
garyc40
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16225, comment 3

    initial v1  
    1212 
    1313The weird thing is that {{{$primary_blog}}} is an empty string. Perhaps the importer I used (WordPress importer) didn't properly update the 'primary_blog' user meta? 
    14  
    15 I repeated the steps to reproduce above, and try to {{{get_user_meta()}}} of the imported users right after importing. The {{{primary_blog}}} is always empty string. 
    16  
    17 Or perhaps line 79 in {{{get_active_blog_for_user()}}} is the problem. It seems to work when I change 
    18  
    19 {{{ 
    20 if ( false !== $primary_blog ) { 
    21 }}} 
    22  
    23 to 
    24  
    25 {{{ 
    26 if ( ! $primary_blog ) { 
    27 }}}