Make WordPress Core

Opened 22 years ago

Closed 22 years ago

#199 closed defect (bug) (wontfix)

Add $echo variable to control output of comment_date and comment_time

Reported by: anonymousbugger Owned by: ryan
Priority: normal Milestone:
Component: Template Version:
Severity: trivial Keywords:
Cc: Focuses:

Description

Attached patch adds $echo variable for comment_date() and comment_time() functions to return output instead of echoing it straight away.
Patch is against current CVS version of template-functions-comment.php

Attachments (1)

0000199-diff.txt​ (1.3 KB ) - added by anonymousbugger 21 years ago.

Download all attachments as: .zip

Change History (4)

#2 @davidhouse
22 years ago

Discussion going on at ​http://wordpress.org/pipermail/hackers_wordpress.org/2004-July/000868.html about the more general issue of echoing and returning. I have a proposal at ​http://wordpress.org/pipermail/hackers_wordpress.org/2004-July/000935.html which I'm awaiting feedback on.

#3 @ryan
22 years ago

  • fixed_in_version → 1.3
  • Owner changed from anonymous to rboren
  • Resolution 10 → 90
  • Status new → closed

We're going to add separate get functions instead of adding $echo.

Note: See TracTickets for help on using tickets.