Opened 5 years ago

Closed 5 years ago

#6641 closed defect (bug) (fixed)

get_the_time filter called twice

Reported by: filosofo Owned by: anonymous
Priority: normal Milestone: 2.6
Component: General Version:
Severity: normal Keywords: get_the_time get_post_time filter has-patch
Cc: filosofo

Description

The "get_the_time" filter is just about useless, because if you call the function get_the_time(), the time is filtered by "get_the_time" twice: once in get_post_time() and again in get_the_time()

Patch changes the filter from "get_the_time" to "get_post_time" in get_post_time()

Attachments (1)

doubled_filter_call.diff (419 bytes) - added by filosofo 5 years ago.

Download all attachments as: .zip

Change History (2)

comment:1   ryan5 years ago

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

(In [7634]) Change get_the_time filter to get_post_time for the get_post_time() function. Props filosofo. fixes #6641 for trunk

Note: See TracTickets for help on using tickets.