Make WordPress Core

Opened 18 years ago

Closed 16 years ago

#4017 closed defect (bug) (fixed)

paginate_links bug

Reported by: devil1591's profile devil1591 Owned by: ryan's profile ryan
Milestone: 2.6 Priority: high
Severity: blocker Version: 2.5.1
Component: Administration Keywords: paginate_links
Focuses: 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 (1)

4017.diff (875 bytes) - added by DD32 16 years ago.

Download all attachments as: .zip

Change History (15)

#1 @ryan
18 years ago

  • Owner changed from anonymous to ryan

#2 @ryan
18 years ago

Related to #4001

#3 @ryan
18 years ago

  • Resolution set to fixed
  • Status changed from new to closed

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

#4 @ryan
18 years ago

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

#5 @devil1591
18 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

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

#6 @ryan
18 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

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

#7 @ryan
18 years ago

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

#8 @ryan
18 years ago

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

#9 @ryan
18 years ago

[5097] is for 2.0 not 2.1

#10 @Alphawolf
17 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

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?

#11 @Alphawolf
17 years ago

  • Version changed from 2.2 to 2.5.1

#12 @DD32
16 years ago

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

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

@DD32
16 years ago

#13 @ryan
16 years ago

  • Milestone changed from 2.2 to 2.6

#14 @ryan
16 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

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

Note: See TracTickets for help on using tickets.