Skip to content

Commit

Permalink
Merge pull request #516 from WPWhiteSecurity/plugin-rename
Browse files Browse the repository at this point in the history
Plugin rename - version 4.0.4
  • Loading branch information
WP White Security authored May 14, 2020
2 parents 6c48737 + 3f14d2b commit 5f97fa7
Show file tree
Hide file tree
Showing 25 changed files with 200 additions and 249 deletions.
4 changes: 2 additions & 2 deletions classes/AlertManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ public function Register( $info ) {
if ( isset( $this->_alerts[ $type ] ) ) {
add_action( 'admin_notices', array( $this, 'duplicate_event_notice' ) );
/* Translators: Event ID */
throw new Exception( sprintf( esc_html__( 'Event %s already registered with WP Security Audit Log.', 'wp-security-audit-log' ), $type ) );
throw new Exception( sprintf( esc_html__( 'Event %s already registered with WP Activity Log.', 'wp-security-audit-log' ), $type ) );
}

$this->_alerts[ $type ] = new WSAL_Alert( $type, $code, $catg, $subcatg, $desc, $mesg, $object, $event_type );
Expand Down Expand Up @@ -498,7 +498,7 @@ public function duplicate_event_notice() {
esc_attr( $class ),
'<span style="color:#dc3232; font-weight:bold;">' . esc_html__( 'ERROR:', 'wp-security-audit-log' ) . '</span>',
esc_html( $message ),
'<a href="https://www.wpsecurityauditlog.com/contact" target="_blank">' . esc_html__( 'Contact us', 'wp-security-audit-log' ) . '</a>'
'<a href="https://wpactivitylog.com/contact" target="_blank">' . esc_html__( 'Contact us', 'wp-security-audit-log' ) . '</a>'
);
}

Expand Down
2 changes: 1 addition & 1 deletion classes/Loggers/Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ private function AlertInject( $occurrence ) {
'utm_campaign' => 'WSAL',
'utm_content' => 'db+integrations',
),
'https://www.wpsecurityauditlog.com/premium-features/'
'https://wpactivitylog.com/features/'
);
$upgrade = '<a href="' . $upgrade_link . '">' . __( 'Upgrade to Premium', 'wp-security-audit-log' ) . '</a>';
$more_info = '<a href="' . $more_info_link . '" target="_blank">' . __( 'More Information', 'wp-security-audit-log' ) . '</a>';
Expand Down
2 changes: 1 addition & 1 deletion classes/Models/Occurrence.php
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ public function GetMessage( $meta_formatter = null, $highlight = false, $meta =
$this->_cachedmessage = isset( $cached_message ) ? $cached_message : sprintf(
/* Translators: 1: html that opens a link, 2: html that closes a link. */
__( 'Alert message was not available, this may have been a custom alert that no longer exists. Read more about custom events %1$shere%2$s.', 'wp-security-audit-log' ),
'<a href="https://www.wpsecurityauditlog.com/support-documentation/create-custom-alerts-wordpress-audit-trail/" target="_blank">',
'<a href="https://wpactivitylog.com/support/kb/create-custom-events-wordpress-activity-log/" target="_blank">',
'</a>'
);
}
Expand Down
4 changes: 2 additions & 2 deletions classes/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -1732,7 +1732,7 @@ public function meta_formatter( $name, $value, $occ_id, $highlight ) {
return '<a href="' . esc_url( $file_settings ) . '">' . esc_html__( 'Increase maximum file size limit', 'wp-security-audit-log' ) . '</a>';

case '%ContactSupport%' === $name:
return '<a href="https://www.wpsecurityauditlog.com/contact/" target="_blank">' . esc_html__( 'Contact Support', 'wp-security-audit-log' ) . '</a>';
return '<a href="https://wpactivitylog.com/contact/" target="_blank">' . esc_html__( 'Contact Support', 'wp-security-audit-log' ) . '</a>';

case '%LineBreak%' === $name:
return '<br>';
Expand Down Expand Up @@ -1975,7 +1975,7 @@ public function slack_meta_formatter( $name, $value, $occ_id, $highlight ) {
return '<' . esc_url( $file_settings ) . '|' . esc_html__( 'plugin settings', 'wp-security-audit-log' ) . '>';

case '%ContactSupport%' === $name:
return '<https://www.wpsecurityauditlog.com/contact|' . esc_html__( 'contact our support', 'wp-security-audit-log' ) . '>';
return '<https://wpactivitylog.com/contact|' . esc_html__( 'contact our support', 'wp-security-audit-log' ) . '>';

case '%LineBreak%' === $name:
return;
Expand Down
4 changes: 2 additions & 2 deletions classes/Utilities/Emailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ public static function send_deactivation_email() {
}

/* Translators: %s: Home URL */
$subject = sprintf( esc_html__( 'WP Security Audit Log plugin disabled on %s', 'wp-security-audit-log' ), $safe_url );
$subject = sprintf( esc_html__( 'WP Activity Log plugin disabled on %s', 'wp-security-audit-log' ), $safe_url );

// Set template body.
$body = esc_html__( 'Hello admin,', 'wp-security-audit-log' );
$body .= '<br>';
$body .= '<br>';

/* Translators: 1. User display name, 2. Home URL, 3. Date and time */
$body .= sprintf( esc_html__( 'This is a notification to let you know that the user %1$s has deactivated the plugin WP Security Audit Log on the website %2$s on %3$s.', 'wp-security-audit-log' ), $display_name, '<a href="' . $home_url . '" target="_blank">' . $safe_url . '</a>', $date_time );
$body .= sprintf( esc_html__( 'This is a notification to let you know that the user %1$s has deactivated the plugin WP Activity Log on the website %2$s on %3$s.', 'wp-security-audit-log' ), $display_name, '<a href="' . $home_url . '" target="_blank">' . $safe_url . '</a>', $date_time );

/**
* Get the email address to deliver the deactivation email to.
Expand Down
2 changes: 1 addition & 1 deletion classes/Utilities/PluginInstallAndActivate.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function render() {
$our_plugins = $this->get_installable_plugins();
?>
<table id="tab-third-party-plugins" class="form-table wp-list-table wsal-tab widefat fixed" style="display: table;" cellspacing="0">
<p class="description"><?php esc_html_e( 'WP Security Audit Log can keep a log of changes done on other plugins. Install the relevant add-on from the below list to keep a log of changes done on that plugin.', 'wp-security-audit-log' ); ?></p>
<p class="description"><?php esc_html_e( 'WP Activity Log can keep a log of changes done on other plugins. Install the relevant add-on from the below list to keep a log of changes done on that plugin.', 'wp-security-audit-log' ); ?></p>
<tbody>
<tr>
<td class="addon-td">
Expand Down
4 changes: 2 additions & 2 deletions classes/ViewManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@ public function AddAdminMenus() {
if ( $this->_plugin->settings->CurrentUserCan( 'view' ) && count( $this->views ) ) {
// Add main menu.
$this->views[0]->hook_suffix = add_menu_page(
'WP Security Audit Log',
'Audit Log',
'WP Activity Log',
'WP Activity Log',
'read', // No capability requirement.
$this->views[0]->GetSafeViewName(),
array( $this, 'RenderViewBody' ),
Expand Down
20 changes: 10 additions & 10 deletions classes/Views/AuditLog.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public function __construct( WpSecurityAuditLog $plugin ) {
),
2 => array(
'head' => __( 'See who logged in on your site in real-time, generate reports, get SMS & email alerts of critical changes and more!', 'wp-security-audit-log' ),
'desc' => __( 'Unlock these and other powerful features with WP Security Audit Log Premium.', 'wp-security-audit-log' ),
'desc' => __( 'Unlock these and other powerful features with WP Activity Log Premium.', 'wp-security-audit-log' ),
),
);

Expand Down Expand Up @@ -165,8 +165,8 @@ public function AdminNoticesPremium() {

// If user is not super admin and website is multisite then change the URL.
if ( $this->_plugin->IsMultisite() && ! is_super_admin() ) {
$buy_now = 'https://www.wpsecurityauditlog.com/pricing/';
$trial_link = 'https://www.wpsecurityauditlog.com/pricing/';
$buy_now = 'https://wpactivitylog.com/pricing/';
$trial_link = 'https://wpactivitylog.com/pricing/';
} elseif ( $this->_plugin->IsMultisite() && is_super_admin() ) {
$buy_now = add_query_arg( 'page', 'wsal-auditlog-pricing', network_admin_url( 'admin.php' ) );
$trial_link = add_query_arg( $trial_args, network_admin_url( 'admin.php' ) );
Expand All @@ -179,7 +179,7 @@ public function AdminNoticesPremium() {
'utm_campaign' => 'WSAL',
'utm_content' => 'tell+me+more',
),
'https://www.wpsecurityauditlog.com/premium-features/'
'https://wpactivitylog.com/features/'
);
?>
<?php wp_nonce_field( 'wsal_dismiss_advert', 'wsal-dismiss-advert', false, true ); ?>
Expand Down Expand Up @@ -230,8 +230,8 @@ public function AdminNoticesPremium() {
if ( ! is_multisite() || ( is_multisite() && is_network_admin() ) ) :
?>
<div class="notice notice-success">
<p><strong><?php esc_html_e( 'Help WP Security Audit Log improve.', 'wp-security-audit-log' ); ?></strong></p>
<p><?php echo esc_html__( 'Gathering non-sensitive diagnostic data about the plugin install helps us improve the plugin. When you opt-in, you also subscribe to our announcements (you can opt-out at any time). If you would rather opt-out, we will not collect any data.', 'wp-security-audit-log' ) . ' <a href="https://www.wpsecurityauditlog.com/support-documentation/non-sensitive-diagnostic-data/" target="_blank">' . esc_html__( 'Read more about what we collect.', 'wp-security-audit-log' ) . '</a>'; ?></p>
<p><strong><?php esc_html_e( 'Help WP Activity Log improve.', 'wp-security-audit-log' ); ?></strong></p>
<p><?php echo esc_html__( 'Gathering non-sensitive diagnostic data about the plugin install helps us improve the plugin. When you opt-in, you also subscribe to our announcements (you can opt-out at any time). If you would rather opt-out, we will not collect any data.', 'wp-security-audit-log' ) . ' <a href="https://wpactivitylog.com/support/kb/non-sensitive-diagnostic-data/" target="_blank">' . esc_html__( 'Read more about what we collect.', 'wp-security-audit-log' ) . '</a>'; ?></p>
<p>
<a href="javascript:;" class="button button-primary" onclick="wsal_freemius_opt_in(this)" data-opt="yes"><?php esc_html_e( 'Sure, opt-in', 'wp-security-audit-log' ); ?></a>
<a href="javascript:;" class="button" onclick="wsal_freemius_opt_in(this)" data-opt="no"><?php esc_html_e( 'No, thank you', 'wp-security-audit-log' ); ?></a>
Expand Down Expand Up @@ -349,7 +349,7 @@ public function HasPluginShortcutLink() {
* Method: Get View Title.
*/
public function GetTitle() {
return __( 'Audit Log Viewer', 'wp-security-audit-log' );
return __( 'Activity Log Viewer', 'wp-security-audit-log' );
}

/**
Expand All @@ -376,7 +376,7 @@ private function get_icon_encoded() {
* Method: Get View Name.
*/
public function GetName() {
return __( 'Audit Log Viewer', 'wp-security-audit-log' );
return __( 'Activity Log Viewer', 'wp-security-audit-log' );
}

/**
Expand Down Expand Up @@ -579,7 +579,7 @@ public function Render() {
?>
<div data-remodal-id="wsal-setup-modal">
<button data-remodal-action="close" class="remodal-close"></button>
<p><?php esc_html_e( 'Thank you for installing WP Security Audit Log. Do you want to run the wizard to configure the basic plugin settings?', 'wp-security-audit-log' ); ?></p>
<p><?php esc_html_e( 'Thank you for installing WP Activity Log. Do you want to run the wizard to configure the basic plugin settings?', 'wp-security-audit-log' ); ?></p>
<br>
<button data-remodal-action="confirm" class="remodal-confirm"><?php esc_html_e( 'Yes', 'wp-security-audit-log' ); ?></button>
<button data-remodal-action="cancel" class="remodal-cancel"><?php esc_html_e( 'No', 'wp-security-audit-log' ); ?></button>
Expand Down Expand Up @@ -1144,7 +1144,7 @@ public function register_privacy_pointer( $pointer ) {
'<h3> %s </h3> <p> %s </p> <p><strong>%s</strong></p>',
__( 'WordPress Activity Log', 'wp-security-audit-log' ),
__( 'When a user makes a change on your website the plugin will keep a record of that event here. Right now there is nothing because this is a new install.', 'wp-security-audit-log' ),
__( 'Thank you for using WP Security Audit Log', 'wp-security-audit-log' )
__( 'Thank you for using WP Activity Log', 'wp-security-audit-log' )
),
'position' => array(
'edge' => 'left',
Expand Down
28 changes: 14 additions & 14 deletions classes/Views/Help.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,39 +175,39 @@ public function tab_help() {
?>
<div class="wsal-help-section">
<h2 class="wsal-tab__heading"><?php esc_html_e( 'Getting Started', 'wp-security-audit-log' ); ?></h2>
<p><?php esc_html_e( 'Getting started with WP Security Audit Log is really easy; once the plugin is installed it will automatically keep a log of everything that is happening on your website and you do not need to do anything. Watch the video below for a quick overview of the plugin.', 'wp-security-audit-log' ); ?></p>
<p><?php esc_html_e( 'Getting started with WP Activity Log is really easy; once the plugin is installed it will automatically keep a log of everything that is happening on your website and you do not need to do anything. Watch the video below for a quick overview of the plugin.', 'wp-security-audit-log' ); ?></p>
<p><iframe class="wsal-youtube-embed" width="100%" height="315" src="https://www.youtube.com/embed/1nopATCS-CQ?rel=0" frameborder="0" allowfullscreen></iframe></p>
</div>
<div class="wsal-help-section">
<h2 class="wsal-tab__heading"><?php esc_html_e( 'Plugin Support', 'wp-security-audit-log' ); ?></h2>
<p>
<?php esc_html_e( 'Have you encountered or noticed any issues while using WP Security Audit Log plugin?', 'wp-security-audit-log' ); ?>
<?php esc_html_e( 'Have you encountered or noticed any issues while using WP Activity Log plugin?', 'wp-security-audit-log' ); ?>
<?php esc_html_e( 'Or you want to report something to us? Click any of the options below to post on the plugin\'s forum or contact our support directly.', 'wp-security-audit-log' ); ?>
</p><p>
<a class="button" href="https://wordpress.org/support/plugin/wp-security-audit-log" target="_blank"><?php esc_html_e( 'Free Support Forum', 'wp-security-audit-log' ); ?></a>
&nbsp;&nbsp;&nbsp;&nbsp;
<a class="button" href="https://www.wpsecurityauditlog.com/support/submit-ticket/?utm_source=plugin&utm_medium=referral&utm_campaign=WSAL&utm_content=free+support+email" target="_blank"><?php esc_html_e( 'Free Support Email', 'wp-security-audit-log' ); ?></a>
<a class="button" href="https://wpactivitylog.com/support/submit-ticket/?utm_source=plugin&utm_medium=referral&utm_campaign=WSAL&utm_content=free+support+email" target="_blank"><?php esc_html_e( 'Free Support Email', 'wp-security-audit-log' ); ?></a>
</p>
</div>
<div class="wsal-help-section">
<h2 class="wsal-tab__heading"><?php esc_html_e( 'Plugin Documentation', 'wp-security-audit-log' ); ?></h2>
<p>
<?php esc_html_e( 'For more technical information about the WP Security Audit Log plugin please visit the plugin’s knowledge base.', 'wp-security-audit-log' ); ?>
<?php esc_html_e( 'For more technical information about the WP Activity Log plugin please visit the plugin’s knowledge base.', 'wp-security-audit-log' ); ?>
<?php esc_html_e( 'Refer to the list of WordPress security events for a complete list of Events and IDs that the plugin uses to keep a log of all the changes in the WordPress audit log.', 'wp-security-audit-log' ); ?>
</p><p>
<a class="button" href="https://www.wpsecurityauditlog.com/?utm_source=plugin&utm_medium=referral&utm_campaign=WSAL&utm_content=plugin+website" target="_blank"><?php esc_html_e( 'Plugin Website', 'wp-security-audit-log' ); ?></a>
<a class="button" href="https://wpactivitylog.com/?utm_source=plugin&utm_medium=referral&utm_campaign=WSAL&utm_content=plugin+website" target="_blank"><?php esc_html_e( 'Plugin Website', 'wp-security-audit-log' ); ?></a>
&nbsp;&nbsp;&nbsp;&nbsp;
<a class="button" href="https://www.wpsecurityauditlog.com/support-documentation/?utm_source=plugin&utm_medium=referral&utm_campaign=WSAL&utm_content=knowledge+base" target="_blank"><?php esc_html_e( 'Knowledge Base', 'wp-security-audit-log' ); ?></a>
<a class="button" href="https://wpactivitylog.com/support/?utm_source=plugin&utm_medium=referral&utm_campaign=WSAL&utm_content=knowledge+base" target="_blank"><?php esc_html_e( 'Knowledge Base', 'wp-security-audit-log' ); ?></a>
&nbsp;&nbsp;&nbsp;&nbsp;
<a class="button" href="https://www.wpsecurityauditlog.com/support-documentation/list-wordpress-audit-trail-alerts/?utm_source=plugin&utm_medium=referral&utm_campaign=WSAL&utm_content=list+events" target="_blank"><?php esc_html_e( 'List of activity logs event IDs', 'wp-security-audit-log' ); ?></a>
<a class="button" href="https://wpactivitylog.com/support/kb/list-wordpress-activity-log-event-ids/?utm_source=plugin&utm_medium=referral&utm_campaign=WSAL&utm_content=list+events" target="_blank"><?php esc_html_e( 'List of activity logs event IDs', 'wp-security-audit-log' ); ?></a>
</p>
</div>
<div class="wsal-help-section">
<h2 class="wsal-tab__heading"><?php esc_html_e( 'Rate WP Security Audit Log', 'wp-security-audit-log' ); ?></h2>
<h2 class="wsal-tab__heading"><?php esc_html_e( 'Rate WP Activity Log', 'wp-security-audit-log' ); ?></h2>
<p>
<?php esc_html_e( 'We work really hard to deliver a plugin that enables you to keep a record of all the changes that are happening on your WordPress.', 'wp-security-audit-log' ); ?>
<?php esc_html_e( 'It takes thousands of man-hours every year and endless amount of dedication to research, develop and maintain the free edition of WP Security Audit Log.', 'wp-security-audit-log' ); ?>
<?php esc_html_e( 'Therefore if you like what you see, and find WP Security Audit Log useful we ask you nothing more than to please rate our plugin.', 'wp-security-audit-log' ); ?>
<?php esc_html_e( 'It takes thousands of man-hours every year and endless amount of dedication to research, develop and maintain the free edition of WP Activity Log.', 'wp-security-audit-log' ); ?>
<?php esc_html_e( 'Therefore if you like what you see, and find WP Activity Log useful we ask you nothing more than to please rate our plugin.', 'wp-security-audit-log' ); ?>
<?php esc_html_e( 'We appreciate every star!', 'wp-security-audit-log' ); ?>
</p>
<p>
Expand Down Expand Up @@ -267,7 +267,7 @@ private function sidebar() {
'img' => trailingslashit( WSAL_BASE_URL ) . 'img/help/activity-log-for-mainwp.jpg',
'desc' => __( 'See the child sites activity logs from the central MainWP dashboard', 'wp-security-audit-log' ),
'alt' => 'Activity Log for MainWP',
'link' => 'https://www.wpsecurityauditlog.com/activity-log-mainwp-extension/?utm_source=plugin&utm_medium=referral&utm_campaign=AL4MWP&utm_content=WSAL+banner',
'link' => 'https://wpactivitylog.com/extensions/mainwp-activity-log/?utm_source=plugin&utm_medium=referral&utm_campaign=AL4MWP&utm_content=WSAL+banner',
),
);
?>
Expand Down Expand Up @@ -380,7 +380,7 @@ public function get_sysinfo() {
}

if (
'WP Security Audit Log' === $plugin['Name']
'WP Activity Log' === $plugin['Name']
&& wsal_freemius()->can_use_premium_code()
) {
$update = ( array_key_exists( $plugin_path, $updates ) ) ? ' (needs update - ' . $updates[ $plugin_path ]->update->new_version . ')' : '';
Expand All @@ -400,7 +400,7 @@ public function get_sysinfo() {
}

if (
'WP Security Audit Log' === $plugin['Name']
'WP Activity Log' === $plugin['Name']
&& wsal_freemius()->can_use_premium_code()
) {
$update = ( array_key_exists( $plugin_path, $updates ) ) ? ' (needs update - ' . $updates[ $plugin_path ]->update->new_version . ')' : '';
Expand All @@ -426,7 +426,7 @@ public function get_sysinfo() {
}

if (
'WP Security Audit Log' === $plugin['Name']
'WP Activity Log' === $plugin['Name']
&& wsal_freemius()->can_use_premium_code()
) {
$update = ( array_key_exists( $plugin_path, $updates ) ) ? ' (needs update - ' . $updates[ $plugin_path ]->update->new_version . ')' : '';
Expand Down
2 changes: 1 addition & 1 deletion classes/Views/LogInUsers.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class WSAL_Views_LogInUsers extends WSAL_AbstractView {
* Method: Get View Title.
*/
public function GetTitle() {
return __( 'User Sessions Management Add-On', 'wp-security-audit-log' );
return __( 'User Sessions Management Extension', 'wp-security-audit-log' );
}

/**
Expand Down
2 changes: 1 addition & 1 deletion classes/Views/Reports.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class WSAL_Views_Reports extends WSAL_AbstractView {
* Method: Get View Title.
*/
public function GetTitle() {
return __( 'Reports Add-On', 'wp-security-audit-log' );
return __( 'Reports Extension', 'wp-security-audit-log' );
}

/**
Expand Down
2 changes: 1 addition & 1 deletion classes/Views/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class WSAL_Views_Search extends WSAL_AbstractView {
* Method: Get View Title.
*/
public function GetTitle() {
return __( 'Search Add-On', 'wp-security-audit-log' );
return __( 'Search Extension', 'wp-security-audit-log' );
}

/**
Expand Down
Loading

0 comments on commit 5f97fa7

Please sign in to comment.