WordPress.org

Support

Support » Plugins and Hacks » WordPress MU Domain Mapping » [Plugin: WordPress MU Domain Mapping] Network Admin shows only the last 20 domains

[Plugin: WordPress MU Domain Mapping] Network Admin shows only the last 20 domains

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ron Rennick

    @wpmuguru

    MultiSite Guru

    For now you’ll have to use the search at the top of the screen to find the domain(s) you are looking for.

    Or hack the plugin to increase the limit on the query (line 203):

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

    20 is the default limit, so change it to something that suits your needs

    As long as you’re making an update for 3.3 and add_site_option, possible to add something like… show 20 by default, but add a link to Show All.

    Perhaps it could just reload the page with &dm_show_all=true

    and remove the limit from the query if $_REQUEST[‘dm_show_all’] == true?

    Thanks again for the plugin. 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WordPress MU Domain Mapping] Network Admin shows only the last 20 domains’ is closed to new replies.
Skip to toolbar