Skip to content

Commit

Permalink
Merge pull request #550 from WPWhiteSecurity/develop
Browse files Browse the repository at this point in the history
4.1.4 Release
  • Loading branch information
DannyWPWS authored Oct 6, 2020
2 parents 750b97d + eccb9cd commit 2b00a05
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 50 deletions.
2 changes: 1 addition & 1 deletion classes/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -1487,7 +1487,7 @@ public function generate_index_files() {
$wsal_working_dir = $this->get_working_dir_path();

// If the directory exists then generate index.php file for every sub-directory.
if ( ! empty( $wsal_working_dir ) && is_dir( $wsal_working_dir ) ) {
if ( ! is_wp_error( $wsal_working_dir ) && ! empty( $wsal_working_dir ) && is_dir( $wsal_working_dir ) ) {
// Generate index.php for the main directory.
if ( ! file_exists( $wsal_working_dir . DIRECTORY_SEPARATOR . 'index.php' ) ) {
// Generate index.php file.
Expand Down
4 changes: 2 additions & 2 deletions classes/ThirdPartyExtensions/YoastSeoExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ public function filter_installable_plugins( $plugins ) {
'addon_for' => 'wp-seo',
'title' => 'Yoast SEO',
'image_filename' => 'yoast.png',
'plugin_slug' => 'wp-activity-log-for-yoast-seo/activity-log-yoast-seo.php',
'plugin_basename' => 'activity-log-yoast-seo.php',
'plugin_slug' => 'activity-log-wp-seo/activity-log-wp-seo.php',
'plugin_basename' => 'activity-log-wp-seo.php',
'plugin_url' => 'https://downloads.wordpress.org/plugin/wp-activity-log-for-woocommerce.latest-stable.zip',
'event_tab_id' => '#tab-yeost-seo',
'plugin_description' => 'Keep a log of all the changes that you and your team do in the Yoast SEO metabox, plugin settings & much more.',
Expand Down
82 changes: 41 additions & 41 deletions languages/wp-security-audit-log.pot
Original file line number Diff line number Diff line change
Expand Up @@ -1670,175 +1670,175 @@ msgstr ""

#. translators: Username
#. translators: Username
#: wp-security-audit-log.php:909, wp-security-audit-log.php:936
#: wp-security-audit-log.php:910, wp-security-audit-log.php:937
msgid "Hey %1$s"
msgstr ""

#: wp-security-audit-log.php:910
#: wp-security-audit-log.php:911
msgid "Never miss an important update! Opt-in to our security and feature updates notifications, and non-sensitive diagnostic tracking with freemius.com."
msgstr ""

#: wp-security-audit-log.php:911, wp-security-audit-log.php:939
#: wp-security-audit-log.php:912, wp-security-audit-log.php:940
msgid "Note: "
msgstr ""

#: wp-security-audit-log.php:912, wp-security-audit-log.php:940
#: wp-security-audit-log.php:913, wp-security-audit-log.php:941
msgid "NO ACTIVITY LOG ACTIVITY & DATA IS SENT BACK TO OUR SERVERS."
msgstr ""

#. translators: 1: Plugin name. 2: Freemius link.
#: wp-security-audit-log.php:938
#: wp-security-audit-log.php:939
msgid "Please help us improve %2$s! If you opt-in, some non-sensitive data about your usage of %2$s will be sent to %5$s, a diagnostic tracking service we use. If you skip this, that's okay! %2$s will still work just fine."
msgstr ""

#. translators: Plugin name
#: wp-security-audit-log.php:960
#: wp-security-audit-log.php:961
msgid "Get a free 7-day trial of the premium edition of %s. No credit card required, no commitments!"
msgstr ""

#: wp-security-audit-log.php:961, classes/AlertManager.php:1140, extensions/external-db/classes/Connections.php:173
#: wp-security-audit-log.php:962, classes/AlertManager.php:1140, extensions/external-db/classes/Connections.php:173
msgid "WP Activity Log"
msgstr ""

#: wp-security-audit-log.php:965
#: wp-security-audit-log.php:966
msgid "Start free trial"
msgstr ""

#: wp-security-audit-log.php:1033
#: wp-security-audit-log.php:1034
msgid "You need to activate the licence key to use WP Activity Log Premium. %2$s"
msgstr ""

#: wp-security-audit-log.php:1034
#: wp-security-audit-log.php:1035
msgid "Activate the licence key now"
msgstr ""

#. translators: Number of sites
#: wp-security-audit-log.php:1051
#: wp-security-audit-log.php:1052
msgid "The license is limited to %s sub-sites. You need to upgrade your license to cover all the sub-sites on this network."
msgstr ""

#: wp-security-audit-log.php:1161
#: wp-security-audit-log.php:1162
msgid "Error: You do not have sufficient permissions to disable this custom field."
msgstr ""

#: wp-security-audit-log.php:1194
#: wp-security-audit-log.php:1195
msgid "Custom Field %1$s is no longer being monitored.<br />Enable the monitoring of this custom field again from the"
msgstr ""

#: wp-security-audit-log.php:1194
#: wp-security-audit-log.php:1195
msgid "Excluded Objects"
msgstr ""

#: wp-security-audit-log.php:1194
#: wp-security-audit-log.php:1195
msgid " tab in the plugin settings"
msgstr ""

#: wp-security-audit-log.php:1206
#: wp-security-audit-log.php:1207
msgid "Error: You do not have sufficient permissions to disable this alert."
msgstr ""

#: wp-security-audit-log.php:1229
#: wp-security-audit-log.php:1230
msgid "Alert %1$s is no longer being monitored.<br /> %2$s"
msgstr ""

#: wp-security-audit-log.php:1229
#: wp-security-audit-log.php:1230
msgid "You can enable this alert again from the Enable/Disable Alerts node in the plugin menu."
msgstr ""

#: wp-security-audit-log.php:1254, classes/Views/SetupWizard.php:275
#: wp-security-audit-log.php:1255, classes/Views/SetupWizard.php:275
msgid "Installing, please wait"
msgstr ""

#: wp-security-audit-log.php:1255, classes/Views/SetupWizard.php:276
#: wp-security-audit-log.php:1256, classes/Views/SetupWizard.php:276
msgid "Already installed"
msgstr ""

#: wp-security-audit-log.php:1256, classes/Utilities/PluginInstallAndActivate.php:107, classes/Views/SetupWizard.php:277, classes/Views/SetupWizard.php:894
#: wp-security-audit-log.php:1257, classes/Utilities/PluginInstallAndActivate.php:107, classes/Views/SetupWizard.php:277, classes/Views/SetupWizard.php:894
msgid "Extension installed"
msgstr ""

#: wp-security-audit-log.php:1257, classes/Views/SetupWizard.php:278
#: wp-security-audit-log.php:1258, classes/Views/SetupWizard.php:278
msgid "Extension activated"
msgstr ""

#: wp-security-audit-log.php:1258, classes/Views/SetupWizard.php:279
#: wp-security-audit-log.php:1259, classes/Views/SetupWizard.php:279
msgid "Install failed"
msgstr ""

#. translators: %s: PHP Version
#: wp-security-audit-log.php:1321
#: wp-security-audit-log.php:1322
msgid "You are using a version of PHP that is older than %s, which is no longer supported."
msgstr ""

#: wp-security-audit-log.php:1323
#: wp-security-audit-log.php:1324
msgid "Contact us on <a href=\"mailto:plugins@wpwhitesecurity.com\">plugins@wpwhitesecurity.com</a> to help you switch the version of PHP you are using."
msgstr ""

#. translators: %s: Activity Log for MainWP plugin hyperlink
#: wp-security-audit-log.php:1328
#: wp-security-audit-log.php:1329
msgid "Please install the %s plugin on the MainWP dashboard."
msgstr ""

#: wp-security-audit-log.php:1328
#: wp-security-audit-log.php:1329
msgid "Activity Log for MainWP"
msgstr ""

#. translators: %s: Getting started guide hyperlink
#: wp-security-audit-log.php:1330
#: wp-security-audit-log.php:1331
msgid "The WP Activity Log should be installed on the child sites only. Refer to the %s for more information."
msgstr ""

#: wp-security-audit-log.php:1330
#: wp-security-audit-log.php:1331
msgid "getting started guide"
msgstr ""

#: wp-security-audit-log.php:1401
#: wp-security-audit-log.php:1402
msgid "This plugin uses 3 tables in the WordPress database to store the activity log and settings. It seems that these tables were not created."
msgstr ""

#: wp-security-audit-log.php:1403
#: wp-security-audit-log.php:1404
msgid "This could happen because the database user does not have the right privileges to create the tables in the database. We recommend you to update the privileges and try enabling the plugin again."
msgstr ""

#. translators: %s: Support Hyperlink
#: wp-security-audit-log.php:1405
#: wp-security-audit-log.php:1406
msgid "If after doing so you still have issues, please send us an email on %s for assistance."
msgstr ""

#: wp-security-audit-log.php:1405
#: wp-security-audit-log.php:1406
msgid "support@wpsecurityauditlog.com"
msgstr ""

#: wp-security-audit-log.php:1887
#: wp-security-audit-log.php:1888
msgid "For security and auditing purposes, a record of all of your logged-in actions and changes within the WordPress dashboard will be recorded in an activity log with the <a href=\"https://wpactivitylog.com/\" target=\"_blank\">WP Activity Log plugin</a>. The audit log also includes the IP address where you accessed this site from."
msgstr ""

#: wp-security-audit-log.php:1906
#: wp-security-audit-log.php:1907
msgid "Every 6 hours"
msgstr ""

#: wp-security-audit-log.php:1910
#: wp-security-audit-log.php:1911
msgid "Every 45 minutes"
msgstr ""

#: wp-security-audit-log.php:1914
#: wp-security-audit-log.php:1915
msgid "Every 30 minutes"
msgstr ""

#: wp-security-audit-log.php:1918
#: wp-security-audit-log.php:1919
msgid "Every 15 minutes"
msgstr ""

#: wp-security-audit-log.php:1922
#: wp-security-audit-log.php:1923
msgid "Every 10 minutes"
msgstr ""

#: wp-security-audit-log.php:1926
#: wp-security-audit-log.php:1927
msgid "Every 1 minute"
msgstr ""

#. translators: 1. Deprecated method name 2. Version since deprecated
#: wp-security-audit-log.php:1940
#: wp-security-audit-log.php:1941
msgid "Method %1$s is deprecated since version %2$s!"
msgstr ""

Expand Down
9 changes: 5 additions & 4 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,11 @@ We need help translating the plugin and the activity log events. Please visit th

#### WP Activity Log extensions for third party plugins

* <strong>[WP Activity Log for WooCommerce](https://wpactivitylog.com/extensions/woocommerce-activity-log/?utm_source=wordpress.org&utm_medium=referral&utm_campaign=WSAL&utm_content=plugin+repos+description)</strong>: When you install this extension you keep a log of changes your team does to the WooCommerce store settings, orders, products, coupons _ much more.
* <strong>[WP Activity Log for WPForms](https://wpactivitylog.com/extensions/wpforms-activity-log/?utm_source=wordpress.org&utm_medium=referral&utm_campaign=WSAL&utm_content=plugin+repos+description)</strong>: When you install this extension you keep a log of changes your team does in the WPForms plugin, forms, form files, entries (leads) and more.
* <strong>[Activity Log for MainWP](https://wpactivitylog.com/extensions/mainwp-activity-log/?utm_source=wordpress.org&utm_medium=referral&utm_campaign=WSAL&utm_content=plugin+repos+description)</strong>: With this MainWP extension you keep a log of the MainWP network changes and can see the activity logs of all child sites from one central location - the MainWP dashboard.
* <strong>[WP Activity Log for bbPress](https://wordpress.org/plugins/wp-security-audit-log-add-on-for-bbpress/)</strong>: With this extension you can keep a log of changes in bbPress forums, topics, bbPress settings and more.
* <strong>[WP Activity Log for WooCommerce](https://wpactivitylog.com/extensions/woocommerce-activity-log/?utm_source=wordpress.org&utm_medium=referral&utm_campaign=WSAL&utm_content=plugin+repos+description)</strong>: Install this extension to keep a log of changes you and yourr team do in the WooCommerce store settings, orders, products, coupons and much more.
* <strong>[WP Activity Log for Yoast SEO](https://wpactivitylog.com/extensions/yoast-seo-activity-log/?utm_source=wordpress.org&utm_medium=referral&utm_campaign=WSAL&utm_content=plugin+repos+description)</strong>: Install this extension to keep a log of the Yoast SEO plugin settings changes, and also of the on-page SEO changes you and your team make in the Yoast SEO meta box.
* <strong>[WP Activity Log for WPForms](https://wpactivitylog.com/extensions/wpforms-activity-log/?utm_source=wordpress.org&utm_medium=referral&utm_campaign=WSAL&utm_content=plugin+repos+description)</strong>: Install this extension to keep a log of the changes your team does in the WPForms plugin settings, forms, form files, entries (leads) and more.
* <strong>[WP Activity Log for bbPress](https://wordpress.org/plugins/wp-security-audit-log-add-on-for-bbpress/)</strong>: Intall this extension to keep a log of changes in bbPress forums, topics, bbPress settings and more.
* <strong>[Activity Log for MainWP](https://wpactivitylog.com/extensions/mainwp-activity-log/?utm_source=wordpress.org&utm_medium=referral&utm_campaign=WSAL&utm_content=plugin+repos+description)</strong>: Install this MainWP extension to keep a log of the MainWP network changes and can see the activity logs of all child sites from one central location - the MainWP dashboard.

#### Related Links and Documentation

Expand Down
5 changes: 3 additions & 2 deletions wp-security-audit-log.php
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,8 @@ public function init_hooks() {
$bbpress_addon = new WSAL_BBPressExtension;
$woocommerce_addon = new WSAL_WooCommerceExtension;
$wpforms_addon = new WSAL_WPFormsExtension;
$gravityforms_addon = new WSAL_GravityFormsExtension;
// Comment out till ready.
//$gravityforms_addon = new WSAL_GravityFormsExtension;
}
}

Expand Down Expand Up @@ -616,7 +617,7 @@ public static function is_woocommerce_active() {
*/
public static function is_wpseo_active() {
return ( ( self::is_plugin_active( 'wordpress-seo/wp-seo.php' ) || self::is_plugin_active( 'wordpress-seo-premium/wp-seo-premium.php' ) )
&& ( self::is_plugin_active( 'activity-log-yoast-seo.php' ) )
&& ( self::is_plugin_active( 'activity-log-wp-seo.php' ) )
);
}

Expand Down

0 comments on commit 2b00a05

Please sign in to comment.