Make WordPress Core

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


Ignore:
Timestamp:
01/16/2011 05:21:21 PM (14 years ago)
Author:
garyc40
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16225, comment 3

    v1 v2  
    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
     15I 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
     17Or perhaps line 79 in get_active_blog_for_user() is the problem. It seems to work when I change
     18
     19{{{
     20if ( false !== $primary_blog ) {
     21}}}
     22
     23to
     24
     25{{{
     26if ( $primary_blog ) {
     27}}}