Opened 17 years ago
Closed 16 years ago
#12804 closed enhancement (fixed)
Make TwentyTen footer.php credits line filterable (for child themes)
| Reported by: | nathanrice | Owned by: | nathanrice |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Themes | Version: | 3.0 |
| Severity: | normal | Keywords: | twentyten, filter |
| Cc: | Focuses: |
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
@
17 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.