Make WordPress Core

Opened 18 years ago

Closed 17 years ago

#8922 closed enhancement (invalid)

a little bit improvement over get_post_time

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

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 18 years ago.
updated patch

Download all attachments as: .zip

Change History (4)

@hailin
18 years ago

updated patch

#1 @FFEMTcJ
17 years ago

  • Keywords has-patch added

#2 @FFEMTcJ
17 years ago

  • Milestone 2.7.22.8

#3 @Denis-de-Bernardy
17 years ago

  • Milestone 2.8
  • Resolutioninvalid
  • Severity normalminor
  • Status newclosed

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.