Ticket #5531 (new enhancement)

Opened 8 months ago

Last modified 1 month ago

Add a filter to the day link in general-template.php

Reported by: codealsatian Assigned to: anonymous
Priority: normal Milestone: 2.9
Component: Template Version: 2.5
Severity: normal Keywords: has-patch hook filter calendar_day_link
Cc:

Description

Please add a filter to the day hyperlink in general-template.php.

As you'll see in the attached DIFF file, I added a new function so that it's clear to which function the filter applies. I felt it might be confusing if the filter was included in the get_calendar() function and yet it acts only on the day link.

I develop plugins that add classes, ids, conditional nofollows, etc., to hyperlinks for styling and SEO.

Attachments

general-template.php.diff (1.0 kB) - added by codealsatian on 12/26/07 15:31:59.
general-template.php-2.diff (0.6 kB) - added by JohnLamansky on 06/03/08 18:24:25.
Previous patch seems like overkill. This is a simpler solution.

Change History

12/26/07 15:31:59 changed by codealsatian

  • attachment general-template.php.diff added.

03/14/08 04:55:43 changed by djr

  • keywords changed from filter,apply_filters,bookmarks to has-patch.

03/19/08 23:55:11 changed by ffemtcj

  • milestone changed from 2.5 to 2.6.

06/03/08 18:24:25 changed by JohnLamansky

  • attachment general-template.php-2.diff added.

Previous patch seems like overkill. This is a simpler solution.

06/03/08 18:25:06 changed by JohnLamansky

  • keywords changed from has-patch to has-patch hook filter calendar_day_link.
  • component changed from General to Template.
  • milestone changed from 2.6 to 2.5.2.

+1

07/15/08 16:24:07 changed by ryan

  • milestone changed from 2.5.2 to 2.9.

Milestone 2.5.2 deleted