\n"
@@ -31,7 +31,7 @@ msgid "Addons"
msgstr ""
#: classes/amazon-web-services.php:83
-#: classes/amazon-web-services.php:342
+#: classes/amazon-web-services.php:369
#: view/settings.php:16
msgid "Access Keys"
msgstr ""
@@ -44,53 +44,53 @@ msgstr ""
msgid "Amazon Web Services: Addons"
msgstr ""
-#: classes/amazon-web-services.php:290
+#: classes/amazon-web-services.php:318
#, php-format
msgid ""
"You must first set your AWS access keys to use this addon."
msgstr ""
-#: classes/amazon-web-services.php:355
+#: classes/amazon-web-services.php:382
msgid "WP Offload S3 Lite"
msgstr ""
-#: classes/amazon-web-services.php:360
+#: classes/amazon-web-services.php:387
msgid "WP Offload S3"
msgstr ""
-#: classes/amazon-web-services.php:366
-msgid "Assets"
+#: classes/amazon-web-services.php:393
+msgid "Assets Pull"
msgstr ""
-#: classes/amazon-web-services.php:370
+#: classes/amazon-web-services.php:397
msgid "Feature"
msgstr ""
-#: classes/amazon-web-services.php:416
+#: classes/amazon-web-services.php:443
msgctxt "Plugin already installed and activated"
msgid "Installed & Activated"
msgstr ""
-#: classes/amazon-web-services.php:418
+#: classes/amazon-web-services.php:445
msgctxt "Plugin already installed"
msgid "Installed"
msgstr ""
-#: classes/amazon-web-services.php:419
+#: classes/amazon-web-services.php:446
msgctxt "Activate plugin now"
msgid "Activate Now"
msgstr ""
-#: classes/amazon-web-services.php:422
+#: classes/amazon-web-services.php:449
msgctxt "Install plugin now"
msgid "Install Now"
msgstr ""
-#: classes/amazon-web-services.php:458
+#: classes/amazon-web-services.php:485
msgid "Visit Site"
msgstr ""
-#: classes/amazon-web-services.php:461
+#: classes/amazon-web-services.php:488
msgctxt "View plugin details"
msgid "View Details"
msgstr ""
@@ -121,7 +121,7 @@ msgid ""
"7.16.2+ compiled with OpenSSL and zlib. Your server currently has"
msgstr ""
-#: classes/aws-plugin-base.php:298
+#: classes/aws-plugin-base.php:360
msgid "Settings"
msgstr ""
@@ -217,38 +217,53 @@ msgstr ""
msgid "You have enabled the use of IAM roles for Amazon EC2 instances."
msgstr ""
-#: view/settings.php:27
+#: view/settings.php:29
+msgid ""
+"Please check your wp-config.php file as it looks like one of your defines is "
+"missing or incorrect."
+msgstr ""
+
+#: view/settings.php:35
+#, php-format
msgid ""
"You’ve already defined your AWS access keys in your wp-config.php. If "
-"you’d prefer to manage them here and store them in the database (not "
-"recommended), simply remove the lines from your wp-config."
+"you’d prefer to manage them here and store them in the database (not recommended), simply remove the lines from your wp-"
+"config."
msgstr ""
-#: view/settings.php:33
+#: view/settings.php:43
msgid ""
"We recommend defining your Access Keys in wp-config.php so long as you "
"don’t commit it to source control (you shouldn’t be). Simply "
"copy the following snippet and replace the stars with the keys."
msgstr ""
-#: view/settings.php:40
+#: view/settings.php:51
+#, php-format
+msgid ""
+"You’re storing your Access Keys in the database (not "
+"recommended)."
+msgstr ""
+
+#: view/settings.php:57
msgid ""
"If you’d rather store your Access Keys in the database, click here to reveal a form."
msgstr ""
-#: view/settings.php:56
+#: view/settings.php:74
msgid "Access Key ID:"
msgstr ""
-#: view/settings.php:62
+#: view/settings.php:80
msgid "Secret Access Key:"
msgstr ""
-#: view/settings.php:69
+#: view/settings.php:87
msgid "Save Changes"
msgstr ""
-#: view/settings.php:72
+#: view/settings.php:90
msgid "Remove Keys"
msgstr ""
diff --git a/readme.txt b/readme.txt
index 6c208c9..8f0d0e1 100644
--- a/readme.txt
+++ b/readme.txt
@@ -2,8 +2,8 @@
Contributors: bradt, deliciousbrains
Tags: amazon, amazon web services
Requires at least: 4.6
-Tested up to: 4.8
-Stable tag: 1.0.3
+Tested up to: 4.9
+Stable tag: 1.0.4
License: GPLv3
Houses the Amazon Web Services (AWS) PHP libraries and manages access keys. Required by other AWS plugins.
@@ -33,6 +33,13 @@ This plugin is required by other plugins, which use its libraries and its settin
== Changelog ==
+= 1.0.4 - 2017-11-20 =
+* Improvement: Compatibility with WordPress 4.9
+* Improvement: Compatibility with WP Offload S3 1.5.1
+* Bug fix: Reveal access keys form option shown when keys partially defined
+* Bug fix: WP_Error being passed to AWS methods
+* Bug fix: "More info" links can be broken across two lines
+
= 1.0.3 - 2017-06-19 =
* Improvement: Compatibility with WP Offload S3 1.5
diff --git a/view/settings.php b/view/settings.php
index 46e71de..98d985e 100644
--- a/view/settings.php
+++ b/view/settings.php
@@ -3,7 +3,7 @@
use_ec2_iam_roles(); ?>
- are_access_keys_set() && ! $use_ec2_iam_roles ) : ?>
+ needs_access_keys() ) : ?>
Check out the Quick Start Guide →', 'amazon-web-services' ), $this->dbrains_url( '/wp-offload-s3/doc/quick-start-guide/', array(
@@ -23,8 +23,18 @@
are_prefixed_key_constants_set() || $this->are_key_constants_set() ) ) : ?>
+ are_access_keys_set() ) : ?>
+
+
+
-
+ not recommended), simply remove the lines from your wp-config.', 'amazon-web-services' ), $this->dbrains_url( '/wp-offload-s3/doc/quick-start-guide/#save-access-keys', array(
+ 'utm_campaign' => 'support+docs',
+ ) ) ); ?>
@@ -36,9 +46,17 @@
define( 'DBI_AWS_ACCESS_KEY_ID', '********************' );
define( 'DBI_AWS_SECRET_ACCESS_KEY', '****************************************' );
-
- click here to reveal a form.', 'amazon-web-services' ); ?>
-
+ get_access_key_id() || $this->get_secret_access_key() ) : ?>
+
+ not recommended).', 'amazon-web-services' ), $this->dbrains_url( '/wp-offload-s3/doc/quick-start-guide/#save-access-keys', array(
+ 'utm_campaign' => 'support+docs',
+ ) ) ); ?>
+
+
+
+ click here to reveal a form.', 'amazon-web-services' ); ?>
+
+