Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter petershep

    (@petershep)

    No worries Mikko, thanks for getting back to me, the Stemmer plugin seems to have sorted it.

    Many thanks.

    I had the same problem, which I’ve tracked down to this line in the domain_mapping.php file:

    null == $wpdb->get_var( $wpdb->prepare( "SELECT domain FROM {$wpdb->dmtable} WHERE blog_id != %d AND domain = %s", $_POST[ 'blog_id' ], $domain ) )

    Which seems to be checking that the map doesn’t already exist, but if we’re editing the map then it will!

    The line below:

    $_POST[ 'orig_domain' ] == ''

    seems to have the same function (which then decides whether to INSERT or UPDATE).

    So I’m not sure we need first null == condition.

    I’ve removed that condition and the map now updates. And everything seems to work ok.

    But it would be good to know if I’ve just broken the plugin somehow?

    Thanks, Peter

    Thread Starter petershep

    (@petershep)

    Thanks for you response. But I’ve figured it out. I am using the $term_link_content outside of the loop so sometimes it would register a value for the variable but then the next loop through would empty it!!

    So stoopid!

    But I did find someone using the taxonomy name with get_posts() as the only way to grab a specific term for a custom taxonomy.

    Cheers

Viewing 3 replies - 1 through 3 (of 3 total)