简体   繁体   English

如何更改wordpress激活页面上的“激活您的帐户”消息?

[英]how to change “Activate Your Account” message on wordpress activation page?

Example: http://undeniable.info/img/temp_ss.png 示例: http//undeniable.info/img/temp_ss.png

I am using a user approval system therefore the message saying your account is active is not at all appropriate. 我使用的是用户批准系统,因此提示您的帐户有效的消息根本不合适。 We still want our users to confirm their emails so I want to change the messages "Account Activated" to "Account Email Validated" and "Activate Your Account" to "Validate Your Account Email" or something like that. 我们仍然希望我们的用户确认他们的电子邮件,因此我想将消息“已激活帐户”更改为“已验证帐户电子邮件”,并将“激活您的帐户”消息更改为“验证您的帐户电子邮件”或类似的消息。

grep -r "Activate Your Account" *.php

searching my entire public_html dir for these account activated messages returns nothing, whether upper or lower case. 在我的整个public_html目录中搜索这些帐户激活的消息,无论大小写均不返回任何内容。

Searched the entire wordpress database for these strings as well with no result. 在整个wordpress数据库中搜索这些字符串,也没有结果。

There are these activate.php files which have the activation page and a wp-activate.php file with text from the body of the page that is shown when user click on email link to "activate". 有这些activate.php文件具有激活页面和wp-activate.php文件,其中带有页面正文的文本,当用户单击电子邮件链接以“激活”时,该文本即显示。 But these templates don't contain that header message that says "Account Activated" like in the screenshot. 但是这些模板不包含如屏幕截图所示的标题为“ Account Activated”的标头消息。

Tried clearing wordpress caching system and browser cache. 尝试清除wordpress缓存系统和浏览器缓存。 I have no idea where these "Account Activated" and "Activate your Account" messages are coming from and I need to change them. 我不知道这些“已激活帐户”和“激活您的帐户”消息是从哪里来的,我需要更改它们。

Theme being used is woffice 正在使用的主题是woffice

Found it, my grep was wrong... 找到了,我的grep错误了...

grep -r "Activate Your Account" *

\\wp-content\\plugins\\buddypress\\bp-members\\classesclass-bp-members-theme-compat.php \\可湿性粉剂内容\\插件\\ BuddyPress的\\ BP-成员\\ classesclass-BP-成员-主题compat.php

$title = __( 'Activate Your Account', 'buddypress' );

if ( bp_account_was_activated() ) {
    $title = __( 'Account Activated', 'buddypress' );
}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM