WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #40164, comment 1


Ignore:
Timestamp:
03/15/2017 09:22:47 PM (3 years ago)
Author:
bor0
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #40164, comment 1

    initial v1  
    11Steps to reproduce:
    2 1. Create 400 comments programatically:
     2
     3Test case prerequisites:
     4- Create 400 comments programatically:
    35{{{#!php
    46<?php
     
    2022}
    2123}}}
    22 2. Navigate to `wp-admin/edit-comments.php`
    23 3. Using the screen options, set Number of items per page: 200
    24 4. Click on `Pending (400)`
    25 5. Select `Comments` and click on `Filter`.
    26 6. Bulk select all and apply `Mark as Spam` action.
    27 7. Repeat 6.
     241. Case 1 (fixed by not appending `ids` in the `$trashed || $spammed` case):
     25- Navigate to `wp-admin/edit-comments.php`
     26- Using the screen options, set Number of items per page: 200
     27- Click on `Pending (400)`
     28- Select `Comments` and click on `Filter`.
     29- Bulk select all and apply `Mark as Spam` action.
     30- Repeat 6.
    2831Error shows:
    2932{{{
     
    3235The requested URL's length exceeds the capacity limit for this server.
    3336}}}
     372. Case 2 (fixed by making the form `post` instead of `get`):
     38- Navigate to `wp-admin/edit-comments.php`
     39- Using the screen options, set Number of items per page: 400
     40- Click on `Pending (400)`
     41- Select `Comments` and click on `Filter`.
     42- Bulk select all and apply `Mark as Spam` action.
     43Error shows:
     44{{{
     45Request-URI Too Long
     46
     47The requested URL's length exceeds the capacity limit for this server.
     48}}}