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

Bug fixes #477

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cdn_Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -773,6 +773,7 @@ public function w3tc_footer_comment( $strings ) {
function w3tc_attachment_url( $url ) {
static $allowed_files = null;

$empty = '';//Emty string initialization
if ( ( defined( 'WP_ADMIN' ) && $this->_config->get_boolean( 'cdn.admin.media_library' ) ) ||
( $this->can_cdn() && $this->can_cdn2( $empty ) ) ) {
$url = trim( $url );
Expand Down
8 changes: 4 additions & 4 deletions Generic_Page_Dashboard_View.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@
#w3tc-dashboard-widgets div.postbox,
#w3tc-dashboard-widgets #postbox-container-3 .hndle,
#w3tc-dashboard-widgets #postbox-container-3 .inside,
#w3tc-dashboard-widgets #postbox-container-3 .meta-box-sortables
#w3tc-dashboard-widgets #postbox-container-3 .widefat{
#w3tc-dashboard-widgets #postbox-container-3 .meta-box-sortables,
#w3tc-dashboard-widgets #postbox-container-3 .widefat {
background: none;
}
#w3tc-dashboard-widgets #postbox-container-3 .postbox,
#w3tc-dashboard-widgets #postbox-container-3 .hndle,
#w3tc-dashboard-widgets #postbox-container-3 .inside,
#w3tc-dashboard-widgets #postbox-container-3 .meta-box-sortables
#w3tc-dashboard-widgets #postbox-container-3 .widefat{
#w3tc-dashboard-widgets #postbox-container-3 .meta-box-sortables,
#w3tc-dashboard-widgets #postbox-container-3 .widefat {
border:none;
}
#w3tc-dashboard-widgets {
Expand Down
1 change: 0 additions & 1 deletion Generic_Plugin_Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,6 @@ function admin_notices() {
$error_messages = array(
'fancy_permalinks_disabled_pgcache' => sprintf( __( 'Fancy permalinks are disabled. Please %s it first, then re-attempt to enabling enhanced disk mode.', 'w3-total-cache' ), Util_Ui::button_link( 'enable', 'options-permalink.php' ) ),
'fancy_permalinks_disabled_browsercache' => sprintf( __( 'Fancy permalinks are disabled. Please %s it first, then re-attempt to enabling the \'Do not process 404 errors for static objects with WordPress\'.', 'w3-total-cache' ), Util_Ui::button_link( 'enable', 'options-permalink.php' ) ),
'support_request' => __( 'Failed to send support request.', 'w3-total-cache' ),
'support_request_type' => __( 'Please select request type.', 'w3-total-cache' ),
'support_request_url' => __( 'Please enter the address of the site in the site <acronym title="Uniform Resource Locator">URL</acronym> field.', 'w3-total-cache' ),
'support_request_name' => __( 'Please enter your name in the Name field', 'w3-total-cache' ),
Expand Down
2 changes: 1 addition & 1 deletion ObjectCache_WpObjectCache_Regular.php
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ private function _transient_fallback_get( $transient, $group ) {
if ( ! isset( $value ) )
$value = get_site_option( $transient_option );
} else {
$value == false;
$value = false;
}

return $value;
Expand Down