Version Description
- New: support for direct file access for alternative editor style file creation
Download this release
Release Info
Developer | wpweaver |
Plugin | Weaver Xtreme Theme Support |
Version | 4.0.3 |
Comparing to | |
See all releases |
Code changes from version 4.0.2 to 4.0.3
- admin/assets/css/customizer.css +0 -29
- admin/assets/css/customizer.min.css +0 -1
- includes/wvrx-ts-runtime-lib.php +22 -3
- readme.txt +4 -1
- weaverx-ts.php +2 -2
admin/assets/css/customizer.css
DELETED
@@ -1,29 +0,0 @@
|
|
1 |
-
|
2 |
-
.use-theme-options {
|
3 |
-
text-align: center;
|
4 |
-
border-bottom: solid 1px #eee;
|
5 |
-
}
|
6 |
-
.use-theme-options a {
|
7 |
-
display: block;
|
8 |
-
padding: 9px 0;
|
9 |
-
color: white;
|
10 |
-
background: #43b3c4;
|
11 |
-
-webkit-transition: background 0.15s ease-in-out;
|
12 |
-
transition: background 0.15s ease-in-out;
|
13 |
-
}
|
14 |
-
.use-theme-options a:link, .use-theme-options a:visited, .use-theme-options a:hover, .use-theme-options a:active, .use-theme-options a:focus {
|
15 |
-
color: white;
|
16 |
-
}
|
17 |
-
.use-theme-options a:hover, .use-theme-options a:active, .use-theme-options a:focus {
|
18 |
-
background: #3ea5b3;
|
19 |
-
text-decoration: underline !important;
|
20 |
-
}
|
21 |
-
.use-theme-options a:hover span, .use-theme-options a:active span, .use-theme-options a:focus span {
|
22 |
-
right: -3px;
|
23 |
-
}
|
24 |
-
.use-theme-options span {
|
25 |
-
position: relative;
|
26 |
-
right: 0;
|
27 |
-
-webkit-transition: right 0.15s ease-in-out;
|
28 |
-
transition: right 0.15s ease-in-out;
|
29 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
admin/assets/css/customizer.min.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
.use-theme-options{text-align:center;border-bottom:solid 1px #eee}.use-theme-options a{display:block;padding:9px 0;color:white;background:#43b3c4;-webkit-transition:background .15s ease-in-out;transition:background .15s ease-in-out}.use-theme-options a:link,.use-theme-options a:visited,.use-theme-options a:hover,.use-theme-options a:active,.use-theme-options a:focus{color:white}.use-theme-options a:hover,.use-theme-options a:active,.use-theme-options a:focus{background:#3ea5b3;text-decoration:underline!important}.use-theme-options a:hover span,.use-theme-options a:active span,.use-theme-options a:focus span{right:-3px}.use-theme-options span{position:relative;right:0;-webkit-transition:right .15s ease-in-out;transition:right .15s ease-in-out}
|
|
includes/wvrx-ts-runtime-lib.php
CHANGED
@@ -200,9 +200,6 @@ function weaverx_ts_show_version_action() {
|
|
200 |
}
|
201 |
|
202 |
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
function weaverx_ts_get_sysinfo() {
|
207 |
|
208 |
global $wpdb;
|
@@ -296,4 +293,26 @@ function weaverx_ts_get_sysinfo() {
|
|
296 |
return $return;
|
297 |
}
|
298 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
299 |
?>
|
200 |
}
|
201 |
|
202 |
|
|
|
|
|
|
|
203 |
function weaverx_ts_get_sysinfo() {
|
204 |
|
205 |
global $wpdb;
|
293 |
return $return;
|
294 |
}
|
295 |
|
296 |
+
// ======== fallback file support ======
|
297 |
+
|
298 |
+
function weaverx_ts_write_to_upload( $filename, $output ) {
|
299 |
+
// some sytems fail using $wp_filesystem to create editor file. This will use direct PHP I/O (not allowed in themes) to avoid the problem.
|
300 |
+
|
301 |
+
// recreate the directory name
|
302 |
+
|
303 |
+
$upload_dir = wp_upload_dir(); // Grab uploads folder array
|
304 |
+
$dir = trailingslashit( $upload_dir['basedir'] ) . 'weaverx-subthemes'. DIRECTORY_SEPARATOR; // Set storage directory path
|
305 |
+
|
306 |
+
if (! wp_mkdir_p($dir) ) {
|
307 |
+
weaverx_f_file_access_fail(__('Directory not writable to save editor style file. You will have to check with your hosting company to have your installation fixed to allow directories to be created. Directory: ', 'weaver-xtreme' /*adm*/) . $dir);
|
308 |
+
}
|
309 |
+
|
310 |
+
$file = fopen ($dir . $filename, 'w');
|
311 |
+
if ( fwrite($file, $output) == false ) {
|
312 |
+
weaverx_f_file_access_fail(__('Unable to save editor style file. You will have to check with your hosting company to have your installation fixed to allow files to be created.', 'weaver-xtreme' /*adm*/) . $dir);
|
313 |
+
}
|
314 |
+
fclose( $file );
|
315 |
+
}
|
316 |
+
|
317 |
+
|
318 |
?>
|
readme.txt
CHANGED
@@ -11,7 +11,7 @@ Text Domain: weaverx-theme-support
|
|
11 |
Requires at least: 4.8
|
12 |
Requires PHP: 5.4
|
13 |
Tested up to: 4.9
|
14 |
-
Stable tag: 4.0.
|
15 |
|
16 |
A useful shortcode and widget collection for Weaver Xtreme
|
17 |
|
@@ -76,6 +76,9 @@ Support for this plugin can best be found at our forum - http://forum.weaverthem
|
|
76 |
See ChangeLog for changes to this version.
|
77 |
|
78 |
== ChangeLog ==
|
|
|
|
|
|
|
79 |
= 4.0.2 =
|
80 |
* Fix/Change - Removed (for now) the Boxed easy-width layout option.
|
81 |
|
11 |
Requires at least: 4.8
|
12 |
Requires PHP: 5.4
|
13 |
Tested up to: 4.9
|
14 |
+
Stable tag: 4.0.3
|
15 |
|
16 |
A useful shortcode and widget collection for Weaver Xtreme
|
17 |
|
76 |
See ChangeLog for changes to this version.
|
77 |
|
78 |
== ChangeLog ==
|
79 |
+
= 4.0.3 =
|
80 |
+
* New: support for direct file access for alternative editor style file creation
|
81 |
+
|
82 |
= 4.0.2 =
|
83 |
* Fix/Change - Removed (for now) the Boxed easy-width layout option.
|
84 |
|
weaverx-ts.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://weavertheme.com/plugins
|
|
5 |
Description: Weaver Xtreme Theme Support - a package of useful shortcodes and widgets that integrates closely with the Weaver Xtreme and Weaver Foundation themes.
|
6 |
Author: wpweaver
|
7 |
Author URI: http://weavertheme.com/about/
|
8 |
-
Version: 4.0.
|
9 |
License: GPL V3
|
10 |
|
11 |
Weaver Xtreme Theme Support
|
@@ -43,7 +43,7 @@ if ( function_exists( 'weavercore_ts_installed' ) ) {
|
|
43 |
|
44 |
if ( strpos( $theme, '/weaver-xtreme') !== false ) { // only load if Weaver Xtreme is the theme
|
45 |
|
46 |
-
define ('WVRX_TS_VERSION','4.0.
|
47 |
define ('WVRX_TS_MINIFY','.min'); // '' for dev, '.min' for production
|
48 |
define ('WVRX_TS_PAGEBUILDERS', true); // currently not safely implemented - will be in Weaver 4.0
|
49 |
|
5 |
Description: Weaver Xtreme Theme Support - a package of useful shortcodes and widgets that integrates closely with the Weaver Xtreme and Weaver Foundation themes.
|
6 |
Author: wpweaver
|
7 |
Author URI: http://weavertheme.com/about/
|
8 |
+
Version: 4.0.3
|
9 |
License: GPL V3
|
10 |
|
11 |
Weaver Xtreme Theme Support
|
43 |
|
44 |
if ( strpos( $theme, '/weaver-xtreme') !== false ) { // only load if Weaver Xtreme is the theme
|
45 |
|
46 |
+
define ('WVRX_TS_VERSION','4.0.3');
|
47 |
define ('WVRX_TS_MINIFY','.min'); // '' for dev, '.min' for production
|
48 |
define ('WVRX_TS_PAGEBUILDERS', true); // currently not safely implemented - will be in Weaver 4.0
|
49 |
|