Bug in email text
Hi.
There is a bug in the email text.
The use of the text "Your %s Team", is supposed to use the blogname but this is implemented wrong in these files:
includes/theme-cron.php
includes/theme-emails.php
includes/theme-options.php
It is implemented like this:
Code:
$message .= sprintf( __( 'Your %s Team', APP_TD ), $blogname )
This causes the language text "Your %s Team" to always be displayed like Your ClassiPress Team, and not using the blogname option, because the constant "ClassiPress" is insterted in the placeholder before the blogname gets a chance.
It should have been implemented like this.
Code:
$message .= __( 'Your %s Team', $blogname ? $blogname : APP_TD )
But honestly these messages should not be hardcoded in the php files, it should be options in the wp_admin.