Opened 15 years ago
Closed 15 years ago
#12804 closed enhancement (fixed)
Make TwentyTen footer.php credits line filterable (for child themes)
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | 3.0 |
Component: | Themes | Keywords: | twentyten, filter |
Focuses: | Cc: |
Description
Assuming we want people to build child themes based on TwentyTen, it makes sense to allow designers/developers to filter the credits line rather than replace the entire footer.php file.
This patch will allow the line to be filtered.
Attachments (1)
Change History (5)
#2
@
15 years ago
They are already filterable by using the i18n functions. see http://blog.ftwr.co.uk/archives/2010/01/02/mangling-strings-for-fun-and-profit/
Note: See
TracTickets for help on using
tickets.
If a child theme wants to put its own credits in then I think it would do better to over load footer.php or we add a action for additional credits to be added.
Filtering the output of all those translations / sprintf functions for them to be overloaded by a child theme on every page load is just a waste of cycles.