Weaver Xtreme Theme Support - Version 5.0.1

Version Description

  • Fix: coordination with Weaver Xtreme 5 file access
Download this release

Release Info

Developer wpweaver
Plugin Icon 128x128 Weaver Xtreme Theme Support
Version 5.0.1
Comparing to
See all releases

Code changes from version 5.0 to 5.0.1

admin/admin-advancedopts4.php CHANGED
@@ -262,18 +262,14 @@ Technically, these features are not part of the theme styling, but cover other a
262
  <br/>
263
  <hr/>
264
  <!-- ======== -->
265
- <?php
266
- if ( weaverx_f_file_access_available() ) {
267
- ?>
268
  <h3><?php _e( 'Inline CSS - (Xtreme-Plus Option)', 'weaver-xtreme' /*adm*/ ); ?></h3>
269
 
270
  <label><input type="checkbox" name="<?php weaverx_sapi_main_name( '_inline_style' ); ?>" id="_inline_style" <?php checked( weaverx_getopt_checked( '_inline_style' ) ); ?> />
271
  <?php _e( 'Generate inline CSS code rather than using style-weaverxt.css file.
272
  By default, Weaver Xtreme Plus will use the style-weaverxt.css file. &diams;', 'weaver-xtreme' /*adm*/ ); ?>
273
  </label><br/><br/>
274
- <?php
275
- }
276
- ?>
277
  <h3><?php _e( 'Disable Schema.org Structured Data', 'weaver-xtreme' /*adm*/ ); ?></h3>
278
 
279
  <label><input type="checkbox" name="<?php weaverx_sapi_main_name( '_no_schemea' ); ?>" id="_no_schemea" <?php checked( weaverx_getopt_checked( '_no_schemea' ) ); ?> />
262
  <br/>
263
  <hr/>
264
  <!-- ======== -->
265
+
 
 
266
  <h3><?php _e( 'Inline CSS - (Xtreme-Plus Option)', 'weaver-xtreme' /*adm*/ ); ?></h3>
267
 
268
  <label><input type="checkbox" name="<?php weaverx_sapi_main_name( '_inline_style' ); ?>" id="_inline_style" <?php checked( weaverx_getopt_checked( '_inline_style' ) ); ?> />
269
  <?php _e( 'Generate inline CSS code rather than using style-weaverxt.css file.
270
  By default, Weaver Xtreme Plus will use the style-weaverxt.css file. &diams;', 'weaver-xtreme' /*adm*/ ); ?>
271
  </label><br/><br/>
272
+
 
 
273
  <h3><?php _e( 'Disable Schema.org Structured Data', 'weaver-xtreme' /*adm*/ ); ?></h3>
274
 
275
  <label><input type="checkbox" name="<?php weaverx_sapi_main_name( '_no_schemea' ); ?>" id="_no_schemea" <?php checked( weaverx_getopt_checked( '_no_schemea' ) ); ?> />
includes/wvrx-ts-runtime-lib.php CHANGED
@@ -325,7 +325,7 @@ function weaverx_ts_write_to_upload( $filename, $output ) {
325
  $wp_filesystem->mkdir( $dir ); // Make a new folder 'weaverx-subthemes' for storing our file if not created already.
326
 
327
  if ( ! @is_writable( $dir ) ) { // direct php access
328
- if ( function_exists( 'weaverx_ts_write_to_upload' ) ) {
329
  return weaverx_ts_altwrite_to_upload( $filename, $output );
330
  } else {
331
  weaverx_f_file_access_fail( esc_html__( 'Directory not writable to save editor style file. Please install and activate the Weaver Xtreme Theme Support plugin. Directory: ', 'weaver-xtreme' ) . $dir );
325
  $wp_filesystem->mkdir( $dir ); // Make a new folder 'weaverx-subthemes' for storing our file if not created already.
326
 
327
  if ( ! @is_writable( $dir ) ) { // direct php access
328
+ if ( function_exists( 'weaverx_ts_altwrite_to_upload' ) ) {
329
  return weaverx_ts_altwrite_to_upload( $filename, $output );
330
  } else {
331
  weaverx_f_file_access_fail( esc_html__( 'Directory not writable to save editor style file. Please install and activate the Weaver Xtreme Theme Support plugin. Directory: ', 'weaver-xtreme' ) . $dir );
readme.txt CHANGED
@@ -11,7 +11,7 @@ Text Domain: weaverx-theme-support
11
  Requires at least: 5.4
12
  Requires PHP: 5.6
13
  Tested up to: 5.8
14
- Stable tag: 5.0
15
 
16
  A useful shortcode and widget collection for Weaver Xtreme
17
 
@@ -75,259 +75,12 @@ Support for this plugin can best be found at our forum - http://forum.weaverthem
75
  See ChangeLog for changes to this version.
76
 
77
  == ChangeLog =
 
 
 
78
  = 5.0 =
79
  * Update: Official release of Weaver Xtreme Support for Weaver Xtreme 5. Backward compatible with V 4.
80
 
81
- = 4.9.3 =
82
- * Tweak: V5 Beta options change
83
-
84
- = 4.9.2 =
85
- * Added: Delete V5 Beta data and files
86
-
87
- = 4.9 =
88
- * Update: WP compatibility tag update
89
- * Added: Version now compatible with both Weaver Xtreme 4 and 5.
90
-
91
- = 4.4.6 =
92
- * Update: WP compatibility tag
93
- * Fix: PHP 8 compatibility
94
-
95
- = 4.4.2 =
96
- * Update: WP 5.7 compatibility tag
97
- * Added: More Weaver Xtreme 5 compatibility support
98
-
99
- = 4.4.1 =
100
- * Update: WP 5.6 compatibility
101
- * Added: Instructions to switch to Customizer for new Font transform and spacing options.
102
- * Added: Beta compatibility support for upcoming Weaver Xtreme 5 - no significant differences with Weaver Xtreme 4.4
103
-
104
- = 4.4 =
105
- * Update: compatibility with Weaver Xtreme V 4.4
106
- * Added: Wrapper Align, Left/Right Padding in % for Align Wide and Align Full
107
- * Added: 'Clear One-Step Layout Settings'
108
-
109
- = 4.3.1 =
110
- * Update: WP Version compatibility
111
- * Tweak: fixed compatibility issue for [header] shortcode (had to remove srcset attribute)
112
-
113
- = 4.3 =
114
- * Update: WP Version compatibility
115
- * Tweak: skipped to 4.3 to match Weaver Xtreme version
116
-
117
- = 4.0.7 =
118
- * Update: WP Version compatibility
119
-
120
- = 4.0.6 =
121
- * Tweak: settings file version compatibility
122
-
123
- = 4.0.5 =
124
- * Fix: backward compatibility so doesn't crash Weaver Xtreme 3.
125
-
126
- * Fix:
127
- = 4.0.3 =
128
- * New: support for direct file access for alternative editor style file creation
129
-
130
- = 4.0.2 =
131
- * Fix/Change: - Removed (for now) the Boxed easy-width layout option.
132
-
133
- = 4.0 =
134
- * Change: Trying to make this plugin not essential. Have moved the per page/post stuff back into the theme where it belongs!
135
- * Quite a few currently popular themes now have per page/post options, so apparently meta_boxes are no longer disapproved.
136
-
137
- = 3.9 =
138
- * Implemented some new options for Weaver Xtreme 4.0. See the 4.0 readme.txt file
139
-
140
- = 3.2.1 =
141
- * Fix: reverted to PHP pre-5.4 compatibility
142
-
143
- = 3.2 =
144
- * New: Schema.org support - disable option
145
- * New: tabbed per page and per post option sections!
146
- * Fix: Main Options : Header : Site Title/Tagline menu link
147
-
148
- = 3.1.11 =
149
- * Added Per Post Body Class for Single Page View
150
-
151
- = 3.1.10 =
152
- * Update: WP 4.9 compatibility
153
-
154
- = 3.1.9 =
155
- * Fix: Recognize https: for vimeo link
156
- * Tweak: Added 'end=nnn' option for [ you_tube ] shortcode
157
- * Tweak: minor option wording change
158
- * Tweak: Legacy options interface: style text box height for some option values (e.g., margins)
159
-
160
- = 3.1.8 =
161
- * Fix: New editor style file no longer needs Weaver Xtreme Plus
162
- * New: Display message if need to save options to generate editor-style-wvrx.css file.
163
- * New: Support for Weaver Xtreme Plus archive per page alt theme
164
- * Tweak: Handle leading </p> in tabs shortcode
165
- * Tweak: improved styling for tab shortcode for improved visibility when loading
166
-
167
- = 3.1.7 =
168
- * Fix: Added new way to style the page/post editor. Some security plugins block previous method.
169
- * Tweak: updated page/post editor styling to better match theme settings - requires Weaver Xtreme 3.1.7 or later.
170
-
171
- = 3.1.6 =
172
- * New: Legacy options for Weaver Xtreme Plus 3.1
173
- * New: support for some new Weaver Xtreme Plus 3.1 options
174
- * Tweak: don't need plugin stylesheet anymore - included in Weaver Xtreme
175
- * Tweak: no need for separate JS lib - included in Weaver Xtreme
176
- * Note: jumped to 3.1.6 to match corresponding Weaver Xtreme version
177
- * WP 4.8 compatibility update
178
-
179
-
180
- = 3.1 =
181
- * New: Support for WordPress Custom Header Video
182
- * Tweak: show version in output
183
- * * Tweak: updated per page / per post option scan
184
- Fix: removed duplicated tagline width option
185
-
186
- = 3.0 =
187
- * New: Weaver Xtreme 3.0 compatibility
188
- * New: Added style= to [login]
189
- * Tweak: Minor changes to option order in some tabs
190
- * Update: update for WP 4.6 compatibility check
191
- * Fix: PHP 7 compatibility tweaks
192
-
193
- = 2.1.3 =
194
- * New: Weaver Xtreme now requires WP 4.5 - seriously, you should not run old versions of WP!
195
- * Fix: show per post options for custom post types now works correctly
196
- * New: support for showing widget areas on browser Print operation
197
-
198
- = 2.1.2 -
199
- * Change: The Per Page options for the RAW page template now show only those options related to the RAW template.
200
-
201
- = 2.1.1 =
202
- * Fix: current user in login widget
203
-
204
- = 2.1 =
205
- * Update: wp_get_current_user() deprecated call
206
- * Tweak: Corrected descriptions of default values for some area width options (100% vs. auto)
207
- * WARNING: This version corrects some incorrect wording in area width option descriptions.
208
- The functionality is identical, but the new wording is correct. No one had noticed the
209
- incorrect descriptions for a very long time, so it doesn't seem to be critical problem.
210
-
211
- = 2.0.4 =
212
- * Change: [header_image] updated to support WP 4.4 srcset image sizes
213
- * New: Pre and Post #header div position for Header Widget Area
214
- * New: Hide Font Family/Size options on Page/Post editor for Weaver Xtreme Plus
215
- * Fix: [tabs] box styling for current tab
216
-
217
-
218
- = 2.0.3 =
219
- * New: 'weaverx_paget_posts' filter to allow multiple page with posts templates in child themes
220
-
221
- = 2.0.2 =
222
- * Change: added required theme options support for Disable Integrated Google Fonts
223
-
224
- = 2.0.1 ==
225
- * Change: wp-updates.com is long term down, so remove update check
226
-
227
- = 2.0 =
228
- * Final tweaks for Weaver Xtreme 2.0
229
- * New: Google Fonts for Font Family selections
230
-
231
- = 1.10 =
232
- * New: Menu Bar Margin options
233
- * Tweak: Remove download .zip theme files
234
- * Tweak: Mini Menu top margin default
235
-
236
- = 1.9.7 =
237
- * More refinement
238
- * New: "Retain menu bar hover color" when sub menu open
239
- * Tweak: changed default of content bottom padding to 0.
240
-
241
- = 1.9.2 =
242
- * Continued refinement of interaction with Weaver 2.0. Weaver 2.0 will now retain some theme
243
- admin options (such as Save/Restore) which are not suitable for Theme Customizer.
244
-
245
- = 1.9.1 =
246
- * Weaver Xtreme 1.x users should continue to use this plugin, even with support for new version.
247
- * Add new options for Weaver Xtreme 2.0
248
-
249
- = 1.9 =
250
- * Changes to support Weaver Xtreme Version 2.0 (for alpha test versions)
251
-
252
- = 1.3.1 =
253
- * Changed translation text domain to 'weaverx-theme-support'
254
-
255
- = 1.3.1 =
256
- * Fixed: tab shortcode styling
257
-
258
- = 1.3 =
259
- * Fix WP_Widget PHP constructor
260
- * Test with WP 4.3
261
-
262
- = 1.2.1 =
263
- * Tweak: Per Post CSS rules are only supported by Weaver Xtreme Plus.
264
-
265
- = 1.2 =
266
- * New: Improved automatic version update for Weaver Xtreme -
267
- avoids critical update delays due to WordPress theme review process time lag
268
- * Fixed issue with tabs shortcode
269
-
270
- = 1.1 =
271
- * Fixed some wording (ATW Show Posts -> Weaver Show Posts)
272
- * Updated WP compatibility level
273
- * Added new per page multi-column
274
-
275
- = 1.0.4 =
276
- * Fix: minor styling issue
277
-
278
- = 1.0.3 =
279
- * Fix: extra " in [ youtube ]
280
-
281
- = 1.0.2 =
282
- * Fix: z-index rule for tab shortcode
283
-
284
- = 1.0.1 =
285
- * New - Per Page/Post Report from Add-ons menu
286
- * Fix: '\1234' values in per post style
287
- * Fix: Internal name of Per Post Style - may cause loss of previous setting - sorry
288
-
289
- = 1.0 =
290
- * Minor tweaks
291
- * wvrx_ shortcode prefix option
292
-
293
- = 0.96 =
294
- * Fixed bug with Per page options on Page with Posts
295
- * Internal optimizations
296
-
297
- = 0.95.1 =
298
- * Only load if Weaver Xtreme is the active theme.
299
-
300
- = 0.95 =
301
- * Changed [ site_title ] and [ site_tagline ] to match theme style as option
302
-
303
- = 0.10 =
304
- * Fixed per page options when used with old Xtreme Plus version
305
-
306
- = 0.9 =
307
- * Added Per Page and Per Post admin support to plugin (removed from Xtreme theme)
308
-
309
- = 0.8 =
310
- * Added [ box ]
311
-
312
- = 0.7 =
313
- * Fixes for [ show/hide_if]
314
- * Removed unused files
315
-
316
- = 0.6 =
317
- * Fixed [ show/hide_if ] for multiple conditions that include device
318
- * Changed interface to Weaver Xtreme - all codes now just in Weaver X Add-ons tab
319
-
320
- = 0.5 =
321
- * Added [ show/hide_if ], removed [ hide_mobile ], [show_if_logged_in]
322
- * Updated Doc
323
- * Added action for interface to Weaver Xtreme "Add-ons" tab
324
-
325
- = 0.4 =
326
- * Optimized loading of jslib - only needed by tab group, so not loaded until shortcode used
327
-
328
- = 0.3 =
329
- * Fixed video shortcodes
330
-
331
  = 0.1 =
332
 
333
  * initial release
11
  Requires at least: 5.4
12
  Requires PHP: 5.6
13
  Tested up to: 5.8
14
+ Stable tag: 5.0.1
15
 
16
  A useful shortcode and widget collection for Weaver Xtreme
17
 
75
  See ChangeLog for changes to this version.
76
 
77
  == ChangeLog =
78
+ = 5.0.1 =
79
+ * Fix: coordination with Weaver Xtreme 5 file access
80
+
81
  = 5.0 =
82
  * Update: Official release of Weaver Xtreme Support for Weaver Xtreme 5. Backward compatible with V 4.
83
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
84
  = 0.1 =
85
 
86
  * initial release
weaverx-ts.php CHANGED
@@ -6,7 +6,7 @@ Plugin URI: http://weavertheme.com/plugins
6
  Description: Weaver Xtreme Theme Support - Legacy Admin plus a package of useful shortcodes and widgets that integrate closely with the Weaver Xtreme theme.
7
  Author: wpweaver
8
  Author URI: http://weavertheme.com/about/
9
- Version: 5.0
10
  License: GPL V3
11
 
12
  Weaver Xtreme Theme Support
@@ -39,7 +39,7 @@ function wvrx_ts_alert( $msg ) {
39
  if ( strpos( $theme, '/weaver-xtreme' ) !== false ||
40
  strpos( $theme, '/weaver-xtreme-5' ) !== false) { // only load if Weaver Xtreme is the theme
41
 
42
- define( 'WVRX_TS_VERSION', '5.0' );
43
  define( 'WVRX_TS_MINIFY', '' ); // '' for dev, '.min' for production
44
  define( 'WVRX_TS_PAGEBUILDERS', true );
45
 
6
  Description: Weaver Xtreme Theme Support - Legacy Admin plus a package of useful shortcodes and widgets that integrate closely with the Weaver Xtreme theme.
7
  Author: wpweaver
8
  Author URI: http://weavertheme.com/about/
9
+ Version: 5.0.1
10
  License: GPL V3
11
 
12
  Weaver Xtreme Theme Support
39
  if ( strpos( $theme, '/weaver-xtreme' ) !== false ||
40
  strpos( $theme, '/weaver-xtreme-5' ) !== false) { // only load if Weaver Xtreme is the theme
41
 
42
+ define( 'WVRX_TS_VERSION', '5.0.1' );
43
  define( 'WVRX_TS_MINIFY', '' ); // '' for dev, '.min' for production
44
  define( 'WVRX_TS_PAGEBUILDERS', true );
45