WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#5530 closed enhancement (fixed)

Add a filter to get_archives_link() in general-template.php

Reported by: codealsatian Owned by:
Milestone: 2.6 Priority: normal
Severity: normal Version: 2.5
Component: Template Keywords: has-patch hook filter get_archives_link
Focuses: Cc:

Description

It will be very useful to have a filter on the archive hyperlink that's generated in the get_archives_link() function in general-template.php.

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

Attachments (1)

general-template.php.diff (1.0 KB) - added by codealsatian 6 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 ffemtcj6 years ago

  • Milestone changed from 2.5 to 2.6

comment:2 JohnLamansky6 years ago

  • Component changed from General to Template
  • Keywords has-patch hook get_archives_link added; apply_filters archives removed
  • Milestone changed from 2.6 to 2.5.2

+1

comment:3 ryan6 years ago

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

(In [7959]) get_archives_link filter. Props codealsatian. fixes #5530 for trunk

comment:4 ryan6 years ago

(In [7960]) get_archives_link filter. Props codealsatian. fixes #5530 for 2.5

comment:5 ryan6 years ago

  • Milestone changed from 2.5.2 to 2.9

Milestone 2.5.2 deleted

comment:6 westi6 years ago

  • Milestone changed from 2.9 to 2.6
Note: See TracTickets for help on using tickets.