Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#15301 closed enhancement (fixed)

Add filter for admin title

Reported by: caesarsgrunt's profile caesarsgrunt Owned by:
Milestone: 3.1 Priority: normal
Severity: normal Version: 3.1
Component: Administration Keywords: has-patch
Focuses: Cc:

Description

It would be nice if there was a filter for the admin title, so that those of us with heavily-customised multisite installations could modify the title too.

A simple patch; I'll do it when I get time.
Unless there is some reason not to...

Attachments (3)

15301.1.diff (1004 bytes) - added by caesarsgrunt 14 years ago.
filter the admin title before printing it
15301.2.diff (1008 bytes) - added by caesarsgrunt 14 years ago.
also allow translation of the format string
15301.3.diff (975 bytes) - added by caesarsgrunt 14 years ago.
add spacing per coding standards, and leave $title as before

Download all attachments as: .zip

Change History (8)

#1 @caesarsgrunt
14 years ago

BTW, I have seen people edit the core files for this purpose - not something to be encouraged!

#2 @scribu
14 years ago

  • Type changed from feature request to enhancement

@caesarsgrunt
14 years ago

filter the admin title before printing it

@caesarsgrunt
14 years ago

also allow translation of the format string

#3 @caesarsgrunt
14 years ago

  • Keywords has-patch added

@caesarsgrunt
14 years ago

add spacing per coding standards, and leave $title as before

#4 @scribu
14 years ago

  • Milestone changed from Awaiting Review to 3.1

Looking good.

#5 @scribu
14 years ago

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

(In [16260]) Make admin screen titles filterable. Props caesarsgrunt. Fixes #15301

Note: See TracTickets for help on using tickets.