• With the plugin enabled, ticking a comment in the admin and choosing the bulk action “unapprove” causes a 404 error. The reason appears to be because the URL is indeed incorrect:

    https://www.example.com/wp/wp-admin/edit-comments_php?paged=1&unapproved=1

    Notice the underscore instead of period (_php and not .php).

    I can confirm that this does not happen with the plugin disabled.

    Commenting out this line of the plugin also stops the issue:

    add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts' ) );

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plugin causes 404 on admin bulk comment action’ is closed to new replies.