Skip to:
Content

BuddyPress.org

Opened 3 years ago

Last modified 2 years ago

#9062 assigned enhancement

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

Reported by: slaFFik Owned by:
Priority: low Milestone: Awaiting Contributions
Component: Emails Version:
Severity: normal 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
3 years ago

  • Milestone Awaiting Review14.0.0

#2 @espellcaste
2 years ago

  • Owner changed from DJPaul to espellcaste
  • Status newaccepted

#3 @espellcaste
2 years ago

  • Keywords needs-patch added
  • Milestone 14.0.0Awaiting Contributions
  • Owner espellcaste removed
  • Priority normallow
  • Status acceptedassigned

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.