jaywok
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Plugins
In reply to: [WordPress MU Domain Mapping] dm_handle_action_primaryHello. I established that the problem only exists when it is a new domain alias being added with the ‘primary’ checkbox selected.
I tried submitting a patch but don’t seem to know what I am doing. Let me know how best to relay this information.
adding a call to do_action on line 356 of domain_mapping.php fixes this.
case "add": do_action('dm_handle_actions_add', $domain); if( null == $wpdb->get_row( "SELECT blog_id FROM {$wpdb->blogs} WHERE domain = '$domain'" ) && null == $wpdb->get_row( "SELECT blog_id FROM {$wpdb->dmtable} WHERE domain = '$domain'" ) ) { if ( $_POST[ 'primary' ] ) { $wpdb->query( $wpdb->prepare( "UPDATE {$wpdb->dmtable} SET active = 0 WHERE blog_id = %d", $wpdb->blogid ) ); do_action('dm_handle_actions_primary', $domain); } $wpdb->query( $wpdb->prepare( "INSERT INTO {$wpdb->dmtable} ( <code>id</code> , <code>blog_id</code> , <code>domain</code> , <code>active</code> ) VALUES ( NULL, %d, %s, %d )", $wpdb->blogid, $domain, $_POST[ 'primary' ] ) );Okay, thank you!
I’m having the same issue. Things were working great. A few weeks ago all feeds started reporting ‘invalid feed’. All feeds are valid, and I can use them in a browser, in other rss applications, etc.
I noticed this is marked as resolved but am not seeing a resolution anywhere – am I missing something?
Viewing 3 replies - 1 through 3 (of 3 total)