Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Commit

Permalink
disable inputs for aws access id and secret when in our infrastructur…
Browse files Browse the repository at this point in the history
…e to prevent faulty inputs;
  • Loading branch information
Oleksandr Yarosh committed Sep 24, 2021
1 parent bb35678 commit 047b600
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "glomex/w3-total-cache",
"description": "Altered version of W3TC plugin with support for internal Glomex infrastructure",
"type": "wordpress-plugin",
"version": "2.1.8.1",
"version": "2.1.8.2",
"require-dev": {
"roave/security-advisories": "dev-master"
},
Expand Down
4 changes: 2 additions & 2 deletions inc/options/cdn/cf.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
<th style="width: 300px;"><label for="cdn_cf_key"><?php _e( 'Access key ID:', 'w3-total-cache' ); ?></label></th>
<td>
<input id="cdn_cf_key" class="w3tc-ignore-change" type="text"
<?php Util_Ui::sealing_disabled( 'cdn.' ) ?> name="cdn__cf__key" value="<?php echo esc_attr( $this->_config->get_string( 'cdn.cf.key' ) ); ?>" size="30" />
<?php Util_Ui::sealing_disabled( 'cdn.' ) ?> name="cdn__cf__key" value="<?php echo esc_attr( $this->_config->get_string( 'cdn.cf.key' ) ); ?>" size="30" <?= getenv('ECS_CREDENTIALS') ? 'disabled' : '' ?> />
</td>
</tr>
<tr>
<th><label for="cdn_cf_secret"><?php _e( 'Secret key:', 'w3-total-cache' ); ?></label></th>
<td>
<input id="cdn_cf_secret" class="w3tc-ignore-change" type="password"
<?php Util_Ui::sealing_disabled( 'cdn.' ) ?> name="cdn__cf__secret" value="<?php echo esc_attr( $this->_config->get_string( 'cdn.cf.secret' ) ); ?>" size="60" />
<?php Util_Ui::sealing_disabled( 'cdn.' ) ?> name="cdn__cf__secret" value="<?php echo esc_attr( $this->_config->get_string( 'cdn.cf.secret' ) ); ?>" size="60" <?= getenv('ECS_CREDENTIALS') ? 'disabled' : '' ?> />
</td>
</tr>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion w3-total-cache-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
}

define( 'W3TC', true );
define( 'W3TC_VERSION', '2.1.8.1' );
define( 'W3TC_VERSION', '2.1.8.2' );
define( 'W3TC_POWERED_BY', 'W3 Total Cache' );
define( 'W3TC_EMAIL', 'w3tc@w3-edge.com' );
define( 'W3TC_TEXT_DOMAIN', 'w3-total-cache' );
Expand Down
2 changes: 1 addition & 1 deletion w3-total-cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: W3 Total Cache
* Plugin URI: https://www.boldgrid.com/totalcache/
* Description: The highest rated and most complete WordPress performance plugin. Dramatically improve the speed and user experience of your site. Add browser, page, object and database caching as well as minify and content delivery network (CDN) to WordPress.
* Version: 2.1.8.1
* Version: 2.1.8.2
* Requires at least: 3.8
* Requires PHP: 5.6
* Author: BoldGrid
Expand Down

0 comments on commit 047b600

Please sign in to comment.