WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#15540 closed enhancement (fixed)

Remove redundant code

Reported by: latz Owned by: scribu
Milestone: 3.1 Priority: normal
Severity: normal Version:
Component: Administration Keywords: has-patch
Focuses: Cc:
PR Number:

Description

The files "class-wp-links-list-table.php" and "class-wp-users-list-table" re-implement code already present in "misc.php" to shorten URLs (function url_shorten()).

Attachments (2)

class-wp-links-list-table.diff (808 bytes) - added by latz 9 years ago.
class-wp-users-list-table.diff (783 bytes) - added by latz 9 years ago.

Download all attachments as: .zip

Change History (6)

#1 @nacin
9 years ago

  • Milestone changed from Awaiting Review to 3.1

#2 @scribu
9 years ago

  • Owner set to scribu
  • Status changed from new to accepted

#3 @scribu
9 years ago

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

(In [16536]) Document url_shorten() and use in more places. Props latz for initial patch. Fixes #15540

#4 @scribu
9 years ago

Turns out the user url wasn't being used at all so I removed it.

Note: See TracTickets for help on using tickets.