• Anonymous User 15418796

    (@anonymized-15418796)


    Thanks for developing the data export tools. I have one problem though. It’s with the generated emails notices that begin with “Howdy”. We cannot address our customers so informally but I can’t find any way to change it. I found plugins to change it on the admin bar but it did nothing to affect the outgoing emails. I absolutely have to change this. Does anyone have any solutions?

    • This topic was modified 6 years, 6 months ago by Anonymous User 15418796.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Check the user.php file. There should be filters in there that will allow you to change the text.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    “Howdy” is in a translatable string, so you could use a gettext function in your functions.php to translate it to something else.

    $ grep -i -r howdy * |grep -v plugins
    wordpress/wp-includes/ms-functions.php:		$welcome_email = __( 'Howdy USERNAME,
    wordpress/wp-includes/ms-functions.php:		$text = __( 'Howdy USERNAME,
    wordpress/wp-includes/ms-functions.php:	$email_text = __( 'Howdy ###USERNAME###,
    wordpress/wp-includes/admin-bar.php:	$howdy  = sprintf( __( 'Howdy, %s' ), '<span class="display-name">' . $current_user->display_name . '</span>' );
    wordpress/wp-includes/admin-bar.php:		'title'     => $howdy . $avatar,
    wordpress/wp-includes/user.php:		$email_text = __( 'Howdy ###USERNAME###,
    wordpress/wp-includes/user.php:		'Howdy,
    wordpress/wp-includes/user.php:			'Howdy,
    wordpress/wp-includes/user.php:			'Howdy,
    wordpress/wp-includes/user.php:		'Howdy,
    wordpress/wp-admin/js/user-profile.js:			 * Replaces "Howdy, *" in the admin toolbar whenever the display name dropdown is updated for one's own profile.
    wordpress/wp-admin/includes/schema.php:	$welcome_email = __( 'Howdy USERNAME,
    wordpress/wp-admin/includes/class-wp-automatic-updater.php:			$body .= sprintf( __( 'Howdy! Your site at %1$s has been updated automatically to WordPress %2$s.' ), home_url(), $core_update->current );
    wordpress/wp-admin/includes/misc.php:	$email_text = __( 'Howdy ###USERNAME###,
    wordpress/wp-admin/includes/file.php:'Howdy,
    wordpress/wp-admin/install.php:<h1><?php _ex( 'Welcome', 'Howdy' ); ?></h1>
    wordpress/wp-admin/install.php:<h1><?php _ex( 'Welcome', 'Howdy' ); ?></h1>
    wordpress/wp-admin/ms-delete-site.php:	$content = __( "Howdy ###USERNAME###,
    

    https://codex.www.ads-software.com/Plugin_API/Filter_Reference/gettext

    Thread Starter Anonymous User 15418796

    (@anonymized-15418796)

    @codev088 Okay! I found the offending text in the user.php file! But I am not good or confident about modifying core files because, well, because I use wordpress because I don’t know how or what I’m doing!

    Anyway, I downloaded and saved my existing user.php file, renamed it to userbkup.php (locally). I edited all of the ‘howdy’. I used notepad to do it and saved the new file (locally) as user.php. Three questions:

    1. Is it okay to do this in notepad?
    2. Do I just upload to overwrite the existing user.php?
    3. Will I have to do this every time there’s a theme or WP update?

    Thanks for your help!

    p.s. i’m terrified to make this change.

    @sterndata thanks for the counsel. Unfortunately, I’m just not smart enough to understand!

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    DO NOT MODIFY CORE FILES.

    Thread Starter Anonymous User 15418796

    (@anonymized-15418796)

    @sterndata I’m sure you’re right that it’s not advisable. I don’t think it would do me any good anyway. I think Wordfence will recognize the change and overwrite it to to match the clean core WP file. I’m back to the drawing board. “Howdy” is going to be the end of me.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Data Export/Delete Tool – “Howdy” must go’ is closed to new replies.