Skip to content

Commit 1be5670

Browse files
committed
Deploying version 0.3.1
1 parent 421c43c commit 1be5670

File tree

7 files changed

+60
-34
lines changed

7 files changed

+60
-34
lines changed

README.md

+7-4
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
**Donate link:** https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5VPMGLLK94XJC
44
**Tags:** amazon, amazon web services
55
**Requires at least:** 3.5
6-
**Tested up to:** 4.2.2
7-
**Stable tag:** 0.3
6+
**Tested up to:** 4.3
7+
**Stable tag:** trunk
88
**License:** GPLv3
99

1010
Houses the Amazon Web Services (AWS) PHP libraries and manages access keys. Required by other AWS plugins.
@@ -34,9 +34,12 @@ This plugin is required by other plugins, which uses its libraries and its setti
3434

3535
## Changelog ##
3636

37+
### 0.3.1 - 2015-07-29 ###
38+
* Bug fix: Style inconsistencies on the _Addons_ screen
39+
3740
### 0.3 - 2015-07-08 ###
3841
* New: Support for [IAM Roles on Amazon EC2](https://deliciousbrains.com/wp-offload-s3/doc/iam-roles/) using the `AWS_USE_EC2_IAM_ROLE` constant
39-
* New: Resigned _Access Keys_ and _Addons_ screens
42+
* New: Redesigned _Access Keys_ and _Addons_ screens
4043
* Improvement: _Settings_ menu item renamed to _Access Keys_
4144
* Improvement: _Access Keys_ link added to plugin row on _Plugins_ screen
4245
* Improvement: Activate addons directly from within _Addons_ screen
@@ -63,4 +66,4 @@ This plugin is required by other plugins, which uses its libraries and its setti
6366
* Improvement: Code formatting to WordPress standards
6467

6568
### 0.1 - 2013-09-20 ###
66-
* First release
69+
* First release

amazon-web-services.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Plugin URI: http://wordpress.org/extend/plugins/amazon-web-services/
55
Description: Includes the Amazon Web Services PHP libraries, stores access keys, and allows other plugins to hook into it.
66
Author: Brad Touesnard
7-
Version: 0.3
7+
Version: 0.3.1
88
Author URI: http://bradt.ca/
99
Network: True
1010
Text Domain: amazon-web-services
@@ -22,7 +22,7 @@
2222
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
2323
// **********************************************************************
2424

25-
$GLOBALS['aws_meta']['amazon-web-services']['version'] = '0.3';
25+
$GLOBALS['aws_meta']['amazon-web-services']['version'] = '0.3.1';
2626

2727
$GLOBALS['aws_meta']['amazon-web-services']['supported_addon_versions'] = array(
2828
'amazon-s3-and-cloudfront' => '0.9',

assets/css/styles.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/sass/styles.scss

+7-7
Original file line numberDiff line numberDiff line change
@@ -118,21 +118,21 @@ body.toplevel_page_amazon-web-services .wrap {
118118
}
119119
}
120120

121-
h1 {
122-
margin: 0;
121+
h1, h2 {
122+
padding: 0;
123123
color: #fff;
124-
font-size: 26px;
125124
line-height: 1;
126125
font-weight: 600;
127126
}
128127

128+
h1 {
129+
margin: 0;
130+
font-size: 26px;
131+
}
132+
129133
h2 {
130134
margin: 4px 0 0;
131-
padding: 0;
132135
font-size: 18px;
133-
line-height: 1;
134-
font-weight: 600;
135-
color: #fff;
136136
}
137137

138138
.label {

classes/wp-aws-compatibility-check.php

+20
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,19 @@ function is_parent_plugin_enabled() {
254254
return true;
255255
}
256256

257+
/**
258+
* Check the parent plugin is at a specific version
259+
*
260+
* @param string $version
261+
*
262+
* @return bool
263+
*/
264+
function is_parent_plugin_at_version( $version ) {
265+
$current_parent_plugin_version = isset( $GLOBALS['aws_meta'][ $this->parent_plugin_slug ]['version'] ) ? $GLOBALS['aws_meta'][ $this->parent_plugin_slug ]['version'] : 0;
266+
267+
return version_compare( $current_parent_plugin_version, $version, '>=' );
268+
}
269+
257270
/**
258271
* Get the compatibility error message
259272
*
@@ -386,6 +399,13 @@ function hook_admin_notices() {
386399
return;
387400
}
388401

402+
global $pagenow;
403+
404+
if ( 'update.php' === $pagenow && isset( $_GET['action'] ) && 'install-plugin' === $_GET['action'] ) {
405+
// Don't show notice when installing plugins
406+
return;
407+
}
408+
389409
$this->get_admin_notice();
390410
}
391411

languages/amazon-web-services-en.pot

+16-16
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: amazon-web-services\n"
1010
"Report-Msgid-Bugs-To: [email protected]\n"
11-
"POT-Creation-Date: 2015-07-08 13:07-0300\n"
11+
"POT-Creation-Date: 2015-07-29 09:49-0300\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -109,78 +109,78 @@ msgstr ""
109109
msgid "Settings"
110110
msgstr ""
111111

112-
#: classes/wp-aws-compatibility-check.php:276
112+
#: classes/wp-aws-compatibility-check.php:289
113113
msgid "deactivate"
114114
msgstr ""
115115

116-
#: classes/wp-aws-compatibility-check.php:277
116+
#: classes/wp-aws-compatibility-check.php:290
117117
#, php-format
118118
msgid "You can %s the %s plugin to get rid of this notice."
119119
msgstr ""
120120

121-
#: classes/wp-aws-compatibility-check.php:280
121+
#: classes/wp-aws-compatibility-check.php:293
122122
#, php-format
123123
msgid "%s has been disabled as it requires the %s plugin."
124124
msgstr ""
125125

126-
#: classes/wp-aws-compatibility-check.php:284
126+
#: classes/wp-aws-compatibility-check.php:297
127127
msgid "which is currently disabled."
128128
msgstr ""
129129

130-
#: classes/wp-aws-compatibility-check.php:286
130+
#: classes/wp-aws-compatibility-check.php:299
131131
msgid "It appears to be installed already."
132132
msgstr ""
133133

134-
#: classes/wp-aws-compatibility-check.php:288
134+
#: classes/wp-aws-compatibility-check.php:301
135135
msgctxt "Activate plugin"
136136
msgid "Activate it now."
137137
msgstr ""
138138

139-
#: classes/wp-aws-compatibility-check.php:295
139+
#: classes/wp-aws-compatibility-check.php:308
140140
#, php-format
141141
msgid "<a href=\"%s\">Install</a> and activate it."
142142
msgstr ""
143143

144-
#: classes/wp-aws-compatibility-check.php:306
144+
#: classes/wp-aws-compatibility-check.php:319
145145
#, php-format
146146
msgid ""
147147
"%s has been disabled as it requires version %s or later of the %s plugin."
148148
msgstr ""
149149

150-
#: classes/wp-aws-compatibility-check.php:309
150+
#: classes/wp-aws-compatibility-check.php:322
151151
#, php-format
152152
msgid "You currently have version %s installed."
153153
msgstr ""
154154

155-
#: classes/wp-aws-compatibility-check.php:316
155+
#: classes/wp-aws-compatibility-check.php:329
156156
#, php-format
157157
msgid "A valid license for %s is required to update."
158158
msgstr ""
159159

160-
#: classes/wp-aws-compatibility-check.php:324
160+
#: classes/wp-aws-compatibility-check.php:337
161161
msgid "Update to the latest version"
162162
msgstr ""
163163

164-
#: classes/wp-aws-compatibility-check.php:336
164+
#: classes/wp-aws-compatibility-check.php:349
165165
#, php-format
166166
msgid ""
167167
"%1$s has been disabled because it is not a supported addon of the %2$s "
168168
"plugin."
169169
msgstr ""
170170

171-
#: classes/wp-aws-compatibility-check.php:345
171+
#: classes/wp-aws-compatibility-check.php:358
172172
#, php-format
173173
msgid ""
174174
"%1$s has been disabled because it will not work with the version of the %2$s "
175175
"plugin installed. %1$s %3$s or later is required."
176176
msgstr ""
177177

178-
#: classes/wp-aws-compatibility-check.php:348
178+
#: classes/wp-aws-compatibility-check.php:361
179179
#, php-format
180180
msgid "Update %s to the latest version"
181181
msgstr ""
182182

183-
#: classes/wp-aws-compatibility-check.php:403
183+
#: classes/wp-aws-compatibility-check.php:423
184184
#, php-format
185185
msgid "The %s plugin has been deactivated."
186186
msgstr ""

readme.txt

+7-4
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Contributors: bradt
33
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5VPMGLLK94XJC
44
Tags: amazon, amazon web services
55
Requires at least: 3.5
6-
Tested up to: 4.2.2
7-
Stable tag: 0.3
6+
Tested up to: 4.3
7+
Stable tag: trunk
88
License: GPLv3
99

1010
Houses the Amazon Web Services (AWS) PHP libraries and manages access keys. Required by other AWS plugins.
@@ -32,9 +32,12 @@ This plugin is required by other plugins, which uses its libraries and its setti
3232

3333
== Changelog ==
3434

35+
= 0.3.1 - 2015-07-29 =
36+
* Bug fix: Style inconsistencies on the _Addons_ screen
37+
3538
= 0.3 - 2015-07-08 =
3639
* New: Support for [IAM Roles on Amazon EC2](https://deliciousbrains.com/wp-offload-s3/doc/iam-roles/) using the `AWS_USE_EC2_IAM_ROLE` constant
37-
* New: Resigned _Access Keys_ and _Addons_ screens
40+
* New: Redesigned _Access Keys_ and _Addons_ screens
3841
* Improvement: _Settings_ menu item renamed to _Access Keys_
3942
* Improvement: _Access Keys_ link added to plugin row on _Plugins_ screen
4043
* Improvement: Activate addons directly from within _Addons_ screen
@@ -61,4 +64,4 @@ This plugin is required by other plugins, which uses its libraries and its setti
6164
* Improvement: Code formatting to WordPress standards
6265

6366
= 0.1 - 2013-09-20 =
64-
* First release
67+
* First release

0 commit comments

Comments
 (0)