WordPress.org

Forums

WordPress MU Domain Mapping
domain_mapping.php (v0.5.2) only shows 20 domains (1 post)

  1. tunmaster
    Member
    Posted 4 years ago #

    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)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress MU Domain Mapping
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.