WordPress.org

Support

Support » Plugins and Hacks » WordPress MU Domain Mapping » [Plugin: WordPress MU Domain Mapping] domain_mapping.php (v0.5.2) only shows 20 domains

[Plugin: WordPress MU Domain Mapping] domain_mapping.php (v0.5.2) only shows 20 domains

  • First of all: great plugin! 🙂

    When one has more than 20 domains mapped, not all are shown due to the lack of pagination. In the file domain_mapping.php (v0.5.2) I removed the limit from the next query (as a quick fix):

    $rows = $wpdb->get_results( “SELECT * FROM {$wpdb->dmtable} ORDER BY id DESC LIMIT 0,20” );

    This query then becomes:

    $rows = $wpdb->get_results( “SELECT * FROM {$wpdb->dmtable} ORDER BY id DESC”);

    Cheers!

    Laurens Meurs (Rotterdam, the Netherlands)

  • The topic ‘[Plugin: WordPress MU Domain Mapping] domain_mapping.php (v0.5.2) only shows 20 domains’ is closed to new replies.
Skip to toolbar