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

    (@bookworm480)

    closed found it in the code. case closed.

    fix-duplicates-admin.php

    $numtoshow = 20;

    Plugin Author Stephen Cronin

    (@stephencronin)

    Hi Bookworm480,

    Sorry for the delay in answering, I’ve been away.

    Yes, you can use the $numtoshow variable to change the number, but bear in mind that will be lost when you update the plugin in future.

    You can also add &no=4 to the URL, but the nonce must be added to the URL before that will work. If the URL is just wp-admin/admin.php?page=fix_duplicates and you add &no=4 it will give you the “Sorry, you are not allowed to access this page.” error.

    Easiest way to make sure the nonce has been added to the URL is to click the Filter Posts button (without selecting anything) and it will add the nonce and $no=20 (which you can then change).

    I was originally planning to add a control on the page to set this, but because the plugin uses WordPress’s wp_trash_post function on a lot of posts, it takes a long time. If you set that too high, your server is likely to timeout, so I’ve left it harder to access.

    In the future, I’ll probably add batch processing so that you can set a lot more to run and it will work away in the background taking as long as it needs. At that point I’ll probably add a control.

    Cheers,
    Stephen

    Thread Starter bookworm480

    (@bookworm480)

    that plus cron would be great

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘increased number per page?’ is closed to new replies.