Ticket #4017 (closed defect: fixed)

Opened 2 years ago

Last modified 5 months ago

paginate_links bug

Reported by: devil1591 Assigned to: ryan
Priority: high Milestone: 2.6
Component: Administration Version: 2.5.1
Severity: blocker Keywords: paginate_links
Cc:

Description

On wp-admin/users.php when having more than 50 users,

paginate_links() function returns wrong url on the wp-admin/users.php, it returns http://users.php/?userspage=2&usersearch

good revision is 5036 for general-template.php, clean_url() was added instead of attribute_escape()

Attachments

4017.diff (0.9 kB) - added by DD32 on 06/25/08 03:36:44.

Change History

03/22/07 23:24:45 changed by ryan

  • owner changed from anonymous to ryan.

03/22/07 23:25:53 changed by ryan

Related to #4001

03/23/07 01:45:26 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

(In [5088]) Don't prepend protocol to relative links. fixes #4017 #4001 for trunk

03/23/07 02:57:21 changed by ryan

(In [5091]) Don't prepend protocol to relative links. fixes #4017 #4001 for 2.1

03/23/07 09:15:53 changed by devil1591

  • status changed from closed to reopened.
  • resolution deleted.

still buggy on revision 5092 in wp-admin/users.php there are http://users.php/?userspage=2&usersearch links

03/23/07 23:31:45 changed by ryan

  • status changed from reopened to closed.
  • resolution set to fixed.

(In [5095]) Fix relative link mangling in clean_url. fixes #4017 for trunk

03/23/07 23:32:16 changed by ryan

(In [5096]) Fix relative link mangling in clean_url. fixes #4017 for 2.1

03/23/07 23:33:20 changed by ryan

(In [5097]) Fix relative link mangling in clean_url. fixes #4017 for 2.1

03/23/07 23:33:51 changed by ryan

[5097] is for 2.0 not 2.1

05/06/08 17:29:14 changed by Alphawolf

  • status changed from closed to reopened.
  • resolution deleted.

Seems like this issue returned with 2.5.1? There's an inquiry at the official german WP support forums, having the exactly same problem with 2.5.1...

I just testet it aswell, and got the same misbehaviour.

Can anyone confirm this?

05/06/08 17:33:06 changed by Alphawolf

  • version changed from 2.2 to 2.5.1.

06/25/08 03:35:56 changed by DD32

Confirmed this bug resurfaced in 2.5, Attached is a patch for trunk.

Paging works for filtering by role, or by search with patch.

06/25/08 03:36:44 changed by DD32

  • attachment 4017.diff added.

06/25/08 17:01:48 changed by ryan

  • milestone changed from 2.2 to 2.6.

06/25/08 17:02:18 changed by ryan

  • status changed from reopened to closed.
  • resolution set to fixed.

(In [8195]) Fix users.php paging. Props DD32. fixes #4017