WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#21030 closed enhancement (duplicate)

Introduce a filter for theme option links in themes.php

Reported by: martythornley Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Themes Keywords:
Focuses: Cc:

Description

The links next to the active theme are just hardcoded with no way to allow plugins or themes to show/hide them. By reworking the array of links so they have keys and adding a filter after it, we can now maniplate that area. Also added a couple do_action hooks.

Attachments (1)

21030.diff (3.2 KB) - added by martythornley 3 years ago.

Download all attachments as: .zip

Change History (5)

@martythornley3 years ago

comment:1 @martythornley3 years ago

Nevermind the mention of do_action hooks. Ended up taking those out. :)

comment:2 @ocean903 years ago

Duplicate: #19270

comment:3 follow-up: @martythornley3 years ago

Ahh... hadn't found that one. thx. Will add my patch there too.

comment:4 in reply to: ↑ 3 @ocean903 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed
  • Version 3.4 deleted

Replying to martythornley:

Ahh... hadn't found that one. thx. Will add my patch there too.

Thanks.

Note: See TracTickets for help on using tickets.