Skip to:
Content

BuddyPress.org

Opened 6 months ago

Last modified 4 months ago

#9062 assigned enhancement

Emails default footer text should not hard-code year and site title

Reported by: slaffik's profile slaFFik Owned by:
Milestone: Awaiting Contributions Priority: low
Severity: normal Version:
Component: Emails Keywords: needs-patch
Cc:

Description

Right now it's:

© 2024 Site Title

In reality (IMO) it should be something like this:

© {{currentyear}} {{site.title}}

This will make it dynamic and admins won't need to update it every year and every time they change the site title.

this is an opportunity to add other email tags:

  • site.title
  • site.tagline
  • site.url
  • etc

Change History (3)

#1 @espellcaste
6 months ago

  • Milestone changed from Awaiting Review to 14.0.0

#2 @espellcaste
4 months ago

  • Owner changed from DJPaul to espellcaste
  • Status changed from new to accepted

#3 @espellcaste
4 months ago

  • Keywords needs-patch added
  • Milestone changed from 14.0.0 to Awaiting Contributions
  • Owner espellcaste deleted
  • Priority changed from normal to low
  • Status changed from accepted to assigned

I took a look at this and this is how it currently works. The date and site's title are added dynamically. However, the user has the choice of changing the footer text in the customizer.

Regarding the request to add new tokens in the Footer text field?!, I think this is a good idea. But just to be realistic, it is not our focus with this milestone.

If you could send a patch or a pr, I'd be happy to look into this. If not, better to punt it so that it is done together with other email-related work in the future.

Note: See TracTickets for help on using tickets.