WordPress.org

Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#5414 closed enhancement (fixed)

Avoid unnecesary call to get_userdata in get_permalink function

Reported by: xknown Owned by:
Milestone: 2.5 Priority: low
Severity: minor Version: 2.3.1
Component: Optimization Keywords:
Focuses: Cc:
PR Number:

Description

If permalink structure does not contain %author%, there is no need to call get_userdata.

Attachments (1)

5414.patch (969 bytes) - added by xknown 12 years ago.

Download all attachments as: .zip

Change History (2)

@xknown
12 years ago

#1 @ryan
12 years ago

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

(In [6352]) Avoid unnecesary call to get_userdata in get_permalink function. Props xknown. fixes #5414

Note: See TracTickets for help on using tickets.