Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#8922 closed enhancement (invalid)

a little bit improvement over get_post_time

Reported by: hailin's profile hailin Owned by:
Milestone: Priority: low
Severity: minor Version:
Component: General Keywords: has-patch
Focuses: Cc:

Description

the variable time is used repreatedly in get_post_time, and in a few cases, users created incorrect get_post_time filter, causing troubles. It's better to distinguish different "times" throughout the function, for clarity and aid future debugging effort.

Attachments (1)

8922_get_post_time.diff (583 bytes) - added by hailin 15 years ago.
updated patch

Download all attachments as: .zip

Change History (4)

@hailin
15 years ago

updated patch

#1 @FFEMTcJ
15 years ago

  • Keywords has-patch added

#2 @FFEMTcJ
15 years ago

  • Milestone changed from 2.7.2 to 2.8

#3 @Denis-de-Bernardy
15 years ago

  • Milestone 2.8 deleted
  • Resolution set to invalid
  • Severity changed from normal to minor
  • Status changed from new to closed

I fail to see how the new code changes the behavior in any way. Please re-open with feedback.

Note: See TracTickets for help on using tickets.