Weaver Xtreme Theme Support - Version 4.4.5

Version Description

See ChangeLog for changes to this version.

Download this release

Release Info

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

Code changes from version 4.4.1 to 4.4.5

admin/add-weaverx-sapi-options.php CHANGED
@@ -15,24 +15,13 @@ if ( current_user_can( 'edit_posts' ) ) {
15
  require_once( dirname( __FILE__ ) . '/admin-lib-ts-2.php' );
16
 
17
  add_action( 'weaverx_admin_saverestore', 'weaverx_ts_weaverx_admin_saverestore' );
18
-
19
  add_action( 'weaverx_admin_subthemes', 'weaverx_ts_weaverx_admin_subthemes' );
20
  add_action( 'weaverx_admin_mainopts', 'weaverx_ts_weaverx_admin_mainopts' );
21
  add_action( 'weaverx_admin_advancedopts', 'weaverx_ts_weaverx_admin_advancedopts' );
22
  }
23
 
24
- /* function wvrx_admin_error_notice() {
25
- echo 'This request contained ' . count( $_POST ) . ' POST vars, ' . count( $_GET ) . ' GET vars, and ' . count( $_COOKIE ) . ' Cookies.';
26
- echo '<pre>POST:'; var_dump($_POST); echo '</pre>';
27
- echo '<pre>GET:'; var_dump($_GET); echo '</pre>';
28
- echo '<pre>COOKIE:'; var_dump($_COOKIE); echo '</pre>';
29
- }
30
-
31
- //add_action( 'admin_notices', 'wvrx_admin_error_notice' );
32
- // admin actions function definitions
33
- */
34
-
35
  function weaverx_ts_weaverx_admin_subthemes() {
 
36
  require_once( dirname( __FILE__ ) . '/admin-subthemes.php' );
37
 
38
  weaverx_admin_subthemes();
15
  require_once( dirname( __FILE__ ) . '/admin-lib-ts-2.php' );
16
 
17
  add_action( 'weaverx_admin_saverestore', 'weaverx_ts_weaverx_admin_saverestore' );
 
18
  add_action( 'weaverx_admin_subthemes', 'weaverx_ts_weaverx_admin_subthemes' );
19
  add_action( 'weaverx_admin_mainopts', 'weaverx_ts_weaverx_admin_mainopts' );
20
  add_action( 'weaverx_admin_advancedopts', 'weaverx_ts_weaverx_admin_advancedopts' );
21
  }
22
 
 
 
 
 
 
 
 
 
 
 
 
23
  function weaverx_ts_weaverx_admin_subthemes() {
24
+
25
  require_once( dirname( __FILE__ ) . '/admin-subthemes.php' );
26
 
27
  weaverx_admin_subthemes();
admin/admin-advancedopts.php CHANGED
@@ -8,70 +8,16 @@ if ( ! defined( 'ABSPATH' ) ) {
8
  */
9
 
10
  function weaverx_admin_advancedopts() {
11
- if ( version_compare( WEAVERX_VERSION, '4.9.0', '>=' ) ) {
12
-
13
- echo '<h3>';
14
- echo __( 'Advanced Options', 'weaver-xtreme' );
15
- echo '</h3>';
16
-
17
- echo '<p>';
18
- echo _e( '<strong style="color:red;">NOTICE!</strong> The legacy interface no longer supports the <strong>Advanced Options</strong> interface. All of the legacy Advanced Options are now found in the Customizer. Click on the following links to open the equivalent Customizer tab.', 'weaver-extreme' );
19
 
20
- $customizer_link = 'href="' . trailingslashit( site_url() ) . 'wp-admin/customize.php" rel="noopener"';
21
- echo '</p><p>' . esc_html( 'Open the', 'weaver-xtreme' ) . ' ';
22
- echo '<strong><a ' . $customizer_link . '>' . esc_html( 'Customizer', 'weaver-xtreme' ) . '</a></strong> ';
23
- echo esc_html( 'menu for full top level option menus.', 'weaver-xtreme' ) . ' </p>';
24
-
25
- if ( 'where' == get_theme_mod( '_options_interface', 'where' ) ) { // WHERE interface
26
-
27
- echo '<hr /><h4>' . esc_html( 'You can select a link below to jump directly to a Customizer option menu using the "Where" style interface.', 'weaver-xtreme' ) . '</h4>';
28
  } else {
29
- echo '<hr /><h4>' . esc_html( 'You can select a link below to jump directly to a Customizer option menu using the "What" style interface.', 'weaver-xtreme' ) . '</h4>';
30
- }
31
-
32
-
33
-
34
- echo '<ul>';
35
-
36
- echo '<li><strong><a ' .
37
- 'href="' . trailingslashit( site_url() ) . 'wp-admin/customize.php?autofocus[section]=title_tagline" rel="noopener"'
38
- . '>' . esc_html( 'Site Identity', 'weaver-xtreme' ) . '</a></strong></li> ';
39
- if ( 'where' == get_theme_mod( '_options_interface', 'where' ) ) { // WHERE interface
40
-
41
- echo '<li><strong><a ' .
42
- 'href="' . trailingslashit( site_url() ) . 'wp-admin/customize.php?autofocus[section]=weaverx_htmlinj-head" rel="noopener"'
43
- . '>' . esc_html( '&lt;HEAD&gt; Section', 'weaver-xtreme' ) . '</a></strong></li> ';
44
-
45
- echo '<li><strong><a ' .
46
- 'href="' . trailingslashit( site_url() ) . 'wp-admin/customize.php?autofocus[section]=weaverx_htmlinj-injection" rel="noopener"'
47
- . '>' . esc_html( 'HTML Insertion', 'weaver-xtreme' ) . '</a></strong></li> ';
48
-
49
-
50
-
51
- } else { // WHAT
52
- echo '<li><strong><a ' .
53
- 'href="' . trailingslashit( site_url() ) . 'wp-admin/customize.php?autofocus[section]=weaverx_content-head" rel="noopener"'
54
- . '>' . esc_html( '&lt;HEAD&gt; Section', 'weaver-xtreme' ) . '</a></strong></li> ';
55
-
56
- echo '<li><strong><a ' .
57
- 'href="' . trailingslashit( site_url() ) . 'wp-admin/customize.php?autofocus[section]=weaverx_content-injection" rel="noopener"'
58
- . '>' . esc_html( 'HTML Insertion', 'weaver-xtreme' ) . '</a></strong></li> ';
59
-
60
  }
61
-
62
- echo '<li><strong><a ' .
63
- 'href="' . trailingslashit( site_url() ) . 'wp-admin/customize.php?autofocus[section]=weaverx_general_admin" rel="noopener"'
64
- . '>' . esc_html( 'Admin and Site Options', 'weaver-xtreme' ) . '</a></strong></li> ';
65
-
66
- echo '</ul></p>';
67
-
68
- return;
69
  }
70
-
71
- weaverx_admin_advancedopts4(); // Legacy version
72
- }
73
-
74
- if ( ! version_compare( WEAVERX_VERSION, '4.9.0', '>=' ) ) {
75
- require_once( dirname( __FILE__ ) . '/admin-advancedopts4.php' );
76
  }
77
 
8
  */
9
 
10
  function weaverx_admin_advancedopts() {
 
 
 
 
 
 
 
 
11
 
12
+ if ( version_compare( WEAVERX_VERSION, '4.9.0', '>=' ) ) {
13
+ if ( function_exists( 'weaverx_5_admin_advancedopts' ) ) {
14
+ weaverx_5_admin_advancedopts( true );
 
 
 
 
 
15
  } else {
16
+ echo '<p>' . __( 'Legacy Interface No Longer Supported', 'weaver-xtreme' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  }
18
+ } else {
19
+ require_once( dirname( __FILE__ ) . '/admin-advancedopts4.php' );
20
+ weaverx_admin_advancedopts4(); // Legacy version
 
 
 
 
 
21
  }
 
 
 
 
 
 
22
  }
23
 
admin/admin-mainopts.php CHANGED
@@ -14,104 +14,18 @@ function weaverx_admin_mainopts() {
14
  weaverx_alert( __( ' **** WARNING! ****\r\n\r\nYou are using a new Version 3 of the Weaver Xtreme Theme Support Plugin with an older version of the Weaver Xtreme Theme. Please update to the latest Version 3 of the Weaver Xtreme Theme.\r\n\r\nTHIS VERSION DOES NOT WORK WITH OLD VERSIONS OF WEAVER XTREME!' ) );
15
  }
16
 
17
- if ( version_compare( WEAVERX_VERSION, '4.9.0', '>=' ) ) {
18
- //
19
- //$trylink = 'href="' . trailingslashit( site_url() ) . 'wp-admin/customize.php?autofocus[section]=weaverx_starting-subtheme" rel="noopener"';
20
- $customizer_link = 'href="' . trailingslashit( site_url() ) . 'wp-admin/customize.php" rel="noopener"';
21
- echo '<h3>';
22
- echo __( 'Weaver Xtreme Main Options', 'weaver-xtreme' );
23
- echo '</h3>';
24
-
25
- echo '<p>';
26
- echo _e( '<strong style="color:red;">NOTICE!</strong> Beginning with <em>Weaver Extreme Version 5</em>, the legacy options interface is no longer supported. You must now use the <em>Customizer</em> interface.', 'weaver-extreme' );
27
-
28
- echo '</p><p>';
29
- echo _e( 'Why is the legacy options interface gone? There are a couple of important reasons. From the user viewpoint, the Customizer really does make it much easier to develop your design. While it may take a few seconds longer to load the Customizer, once it is open you get a what you see is what you get view of your design - instantly. From a technical standpoint, as Weaver Xtreme evolves and adds new features, it is simply a maintenance nightmare to keep both interfaces in sync. We decided to focus on the theme, not maintaining the obsolete legacy interface!', 'weaver-extreme' );
30
- echo '</p><p>' . esc_html( 'Open the', 'weaver-xtreme' ) . ' ';
31
- echo '<strong><a ' . $customizer_link . '>' . esc_html( 'Customizer', 'weaver-xtreme' ) . '</a></strong> ';
32
- echo esc_html( 'menu for full top level option menus.', 'weaver-xtreme' ) . ' </p>';
33
-
34
- if ( 'where' == get_theme_mod( '_options_interface', 'where' ) ) { // WHERE interface
35
-
36
- echo '<hr /><h4>' . esc_html( 'You can select a link below to jump directly to a Customizer option menu using the "Where" style interface.', 'weaver-xtreme' ) . '</h4></p>';
37
-
38
-
39
- echo '<ul>';
40
-
41
- echo '<li><strong><a ' .
42
- 'href="' . trailingslashit( site_url() ) . 'wp-admin/customize.php?autofocus[section]=weaverx_starting-subtheme" rel="noopener"'
43
- . '>' . esc_html( 'Try a Pre-defined Subtheme', 'weaver-xtreme' ) . '</a></strong></li> ';
44
-
45
- echo '<li><strong><a ' .
46
- 'href="' . trailingslashit( site_url() ) . 'wp-admin/customize.php?autofocus[panel]=weaverx_general" rel="noopener"'
47
- . '>' . esc_html( 'Admin Options', 'weaver-xtreme' ) . '</a></strong></li> ';
48
-
49
- echo '<li><strong><a ' .
50
- 'href="' . trailingslashit( site_url() ) . 'wp-admin/customize.php?autofocus[panel]=weaverx_where-global" rel="noopener"'
51
- . '>' . esc_html( 'Global Site Settings', 'weaver-xtreme' ) . '</a></strong></li> ';
52
-
53
- echo '<li><strong><a ' .
54
- 'href="' . trailingslashit( site_url() ) . 'wp-admin/customize.php?autofocus[panel]=weaverx_where-wrapping" rel="noopener"'
55
- . '>' . esc_html( 'Wrapping Areas', 'weaver-xtreme' ) . '</a></strong></li> ';
56
-
57
- echo '<li><strong><a ' .
58
- 'href="' . trailingslashit( site_url() ) . 'wp-admin/customize.php?autofocus[panel]=weaverx_where-sidebars" rel="noopener"'
59
- . '>' . esc_html( 'Sidebars &amp; Widgets', 'weaver-xtreme' ) . '</a></strong></li> ';
60
-
61
- echo '<li><strong><a ' .
62
- 'href="' . trailingslashit( site_url() ) . 'wp-admin/customize.php?autofocus[panel]=weaverx_where-header" rel="noopener"'
63
- . '>' . esc_html( 'Header', 'weaver-xtreme' ) . '</a></strong></li> ';
64
-
65
- echo '<li><strong><a ' .
66
- 'href="' . trailingslashit( site_url() ) . 'wp-admin/customize.php?autofocus[panel]=weaverx_where-menus" rel="noopener"'
67
- . '>' . esc_html( 'Menus', 'weaver-xtreme' ) . '</a></strong></li> ';
68
-
69
- echo '<li><strong><a ' .
70
- 'href="' . trailingslashit( site_url() ) . 'wp-admin/customize.php?autofocus[panel]=weaverx_where-infobar" rel="noopener"'
71
- . '>' . esc_html( 'Info Bar', 'weaver-xtreme' ) . '</a></strong></li> ';
72
-
73
- echo '<li><strong><a ' .
74
- 'href="' . trailingslashit( site_url() ) . 'wp-admin/customize.php?autofocus[panel]=weaverx_where-content" rel="noopener"'
75
- . '>' . esc_html( 'Content Areas', 'weaver-xtreme' ) . '</a></strong></li> ';
76
-
77
- echo '<li><strong><a ' .
78
- 'href="' . trailingslashit( site_url() ) . 'wp-admin/customize.php?autofocus[panel]=weaverx_where-posts" rel="noopener"'
79
- . '>' . esc_html( 'Post Specifics', 'weaver-xtreme' ) . '</a></strong></li> ';
80
-
81
- echo '<li><strong><a ' .
82
- 'href="' . trailingslashit( site_url() ) . 'wp-admin/customize.php?autofocus[panel]=weaverx_where-footer" rel="noopener"'
83
- . '>' . esc_html( 'Footer', 'weaver-xtreme' ) . '</a></strong></li> ';
84
-
85
- echo '<li><strong><a ' .
86
- 'href="' . trailingslashit( site_url() ) . 'wp-admin/customize.php?autofocus[panel]=weaverx_where-html-injection" rel="noopener"'
87
- . '>' . esc_html( 'HTML Injection', 'weaver-xtreme' ) . '</a></strong></li> ';
88
-
89
- echo '<li><strong><a ' .
90
- 'href="' . trailingslashit( site_url() ) . 'wp-admin/customize.php?autofocus[panel]=weaverx_where-custom" rel="noopener"'
91
- . '>' . esc_html( 'Custom CSS', 'weaver-xtreme' ) . '</a></strong></li> ';
92
-
93
- echo '<li><strong><a ' .
94
- 'href="' . trailingslashit( site_url() ) . 'wp-admin/customize.php?autofocus[panel]=weaverx_where-page-builder" rel="noopener"'
95
- . '>' . esc_html( 'Page Builders', 'weaver-xtreme' ) . '</a></strong></li> ';
96
-
97
- echo '<li><strong><a ' .
98
- 'href="' . trailingslashit( site_url() ) . 'wp-admin/customize.php?autofocus[panel]=weaverx_where-obsolete" rel="noopener"'
99
- . '>' . esc_html( 'Obsolete Options', 'weaver-xtreme' ) . '</a></strong></li> ';
100
-
101
-
102
- echo '</ul></p>';
103
-
104
-
105
- } else { // WHAT INTERFACE
106
-
107
  }
108
-
109
- return;
 
110
  }
111
 
112
- weaverx_admin_mainopts4();
113
- }
114
-
115
- if ( ! version_compare( WEAVERX_VERSION, '4.9.0', '>=' ) ) {
116
- require_once( dirname( __FILE__ ) . '/admin-mainopts4.php' );
117
  }
14
  weaverx_alert( __( ' **** WARNING! ****\r\n\r\nYou are using a new Version 3 of the Weaver Xtreme Theme Support Plugin with an older version of the Weaver Xtreme Theme. Please update to the latest Version 3 of the Weaver Xtreme Theme.\r\n\r\nTHIS VERSION DOES NOT WORK WITH OLD VERSIONS OF WEAVER XTREME!' ) );
15
  }
16
 
17
+ if ( version_compare( WEAVERX_VERSION, '4.9.0', '>=' )) {
18
+ if ( function_exists( 'weaverx_5_admin_mainopts' ) ) {
19
+ weaverx_5_admin_mainopts( true );
20
+ } else {
21
+ echo '<h3>';
22
+ echo __( 'Weaver Xtreme Main Options', 'weaver-xtreme' );
23
+ echo '</h3>';
24
+ echo '<p>' . __( 'Legacy Interface No Longer Supported', 'weaver-xtreme' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  }
26
+ } else {
27
+ require_once( dirname( __FILE__ ) . '/admin-mainopts4.php' );
28
+ weaverx_admin_mainopts4();
29
  }
30
 
 
 
 
 
 
31
  }
admin/admin-saverestore.php CHANGED
@@ -8,28 +8,16 @@ if ( ! defined( 'ABSPATH' ) ) {
8
  *
9
  */
10
 
11
-
12
  function weaverx_ts_admin_saverestore() {
13
 
14
  if ( version_compare( WEAVERX_VERSION, '4.9.0', '>=' ) ) {
15
- $trylink = 'href="' . trailingslashit( site_url() ) . 'wp-admin/customize.php?autofocus[panel]=weaverx_starting-subtheme" rel="noopener"';
16
- echo '<h3>';
17
- echo __( 'Save/Restore Theme Settings', 'weaver-xtreme' );
18
- echo '</h3>';
19
-
20
- echo '<p>';
21
- echo _e( '<strong style="color:red;">NOTICE!</strong> You can Save and Restore theme options from the Customizer.', 'weaver-xtreme' ) ;
22
-
23
- echo '</p><p><strong><a ' .
24
- 'href="' . trailingslashit( site_url() ) . 'wp-admin/customize.php?autofocus[panel]=weaverx_general" rel="noopener"'
25
- . '>' . esc_html( 'Admin "Save Settings" and "Restore Settings"', 'weaver-xtreme' ) . '</a></strong> </p>';
26
-
27
- return;
28
  }
29
-
30
- weaverx_ts_admin_saverestore4();
31
- }
32
-
33
- if ( ! version_compare( WEAVERX_VERSION, '4.9.0', '>=' ) ) {
34
- require_once( dirname( __FILE__ ) . '/admin-saverestore4.php' );
35
  }
8
  *
9
  */
10
 
 
11
  function weaverx_ts_admin_saverestore() {
12
 
13
  if ( version_compare( WEAVERX_VERSION, '4.9.0', '>=' ) ) {
14
+ if ( function_exists( 'weaverx_5_admin_saverestore' ) ) {
15
+ weaverx_5_admin_saverestore( true );
16
+ } else {
17
+ echo '<p>' . __( 'Legacy Interface No Longer Supported', 'weaver-xtreme' );
18
+ }
19
+ } else {
20
+ require_once( dirname( __FILE__ ) . '/admin-saverestore4.php' );
21
+ weaverx_ts_admin_saverestore4(); // Legacy version
 
 
 
 
 
22
  }
 
 
 
 
 
 
23
  }
admin/admin-subthemes.php CHANGED
@@ -11,23 +11,16 @@ if ( ! defined( 'ABSPATH' ) ) {
11
  function weaverx_admin_subthemes() {
12
 
13
  if ( version_compare( WEAVERX_VERSION, '4.9.0', '>=' ) ) {
14
- $trylink = 'href="' . trailingslashit( site_url() ) . 'wp-admin/customize.php?autofocus[section]=weaverx_starting-subtheme" rel="noopener"';
15
- echo '<h3>';
16
- echo __( 'Predefined Weaver Xtreme Subthemes', 'weaver-xtreme' );
17
- echo '</h3>';
18
 
19
- echo '<p>';
20
- echo _e( '<strong style="color:red;">NOTICE!</strong> The legacy interface no longer supports Subtheme selection. You can select a subtheme from the Customizer.', 'weaver-extreme' );
21
- echo '</p><p>' . esc_html( 'Open the Customizer', 'weaver-xtreme' ) . ' ';
22
- echo '<strong><a ' . $trylink . '>' . esc_html( 'Try a Pre-defined Subtheme', 'weaver-xtreme' ) . '</a></strong> </p>';
 
23
 
24
- return;
 
 
25
  }
26
-
27
- weaverx_admin_subthemes4();
28
- }
29
-
30
- if ( ! version_compare( WEAVERX_VERSION, '4.9.0', '>=' ) ) {
31
- require_once( dirname( __FILE__ ) . '/admin-subthemes4.php' );
32
  }
33
 
11
  function weaverx_admin_subthemes() {
12
 
13
  if ( version_compare( WEAVERX_VERSION, '4.9.0', '>=' ) ) {
 
 
 
 
14
 
15
+ if ( function_exists( 'weaverx_5_admin_subthemes' ) ) {
16
+ weaverx_5_admin_subthemes( true );
17
+ } else {
18
+ echo '<p>' . __( 'Legacy Interface No Longer Supported', 'weaver-xtreme' );
19
+ }
20
 
21
+ } else {
22
+ require_once( dirname( __FILE__ ) . '/admin-subthemes4.php' );
23
+ weaverx_admin_subthemes4();
24
  }
 
 
 
 
 
 
25
  }
26
 
readme.txt CHANGED
@@ -8,10 +8,10 @@ Author: wpweaver
8
  License: GPLv3 or later
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
  Text Domain: weaverx-theme-support
11
- Requires at least: 5.2
12
  Requires PHP: 5.6
13
- Tested up to: 5.6
14
- Stable tag: 4.4.1
15
 
16
  A useful shortcode and widget collection for Weaver Xtreme
17
 
@@ -79,6 +79,10 @@ See ChangeLog for changes to this version.
79
 
80
  == ChangeLog =
81
 
 
 
 
 
82
  = 4.4.1 =
83
  * Update: WP 5.6 compatibility
84
  * Added: Instructions to switch to Customizer for new Font transform and spacing options.
8
  License: GPLv3 or later
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
  Text Domain: weaverx-theme-support
11
+ Requires at least: 5.4
12
  Requires PHP: 5.6
13
+ Tested up to: 5.7
14
+ Stable tag: 4.4.5
15
 
16
  A useful shortcode and widget collection for Weaver Xtreme
17
 
79
 
80
  == ChangeLog =
81
 
82
+ = 4.4.2 =
83
+ * Update: WP 5.7 compatibility tag
84
+ * Added: More Weaver Xtreme 5 compatibility support
85
+
86
  = 4.4.1 =
87
  * Update: WP 5.6 compatibility
88
  * Added: Instructions to switch to Customizer for new Font transform and spacing options.
weaverx-ts.php CHANGED
@@ -5,12 +5,12 @@ Plugin URI: http://weavertheme.com/plugins
5
  Description: Weaver Xtreme Theme Support - Legacy Admin plus a package of useful shortcodes and widgets that integrate closely with the Weaver Xtreme theme.
6
  Author: wpweaver
7
  Author URI: http://weavertheme.com/about/
8
- Version: 4.4.1
9
  License: GPL V3
10
 
11
  Weaver Xtreme Theme Support
12
 
13
- Copyright (C) 2014-2020 Bruce E. Wampler - weaver@weavertheme.com
14
 
15
  This program is free software: you can redistribute it and/or modify
16
  it under the terms of the GNU General Public License as published by
@@ -37,24 +37,10 @@ function wvrx_ts_alert( $msg ) {
37
 
38
  if ( strpos( $theme, '/weaver-xtreme' ) !== false ) { // only load if Weaver Xtreme is the theme
39
 
40
- define( 'WVRX_TS_VERSION', '4.4.1' );
41
- define( 'WVRX_TS_MINIFY', '.min' ); // '' for dev, '.min' for production
42
  define( 'WVRX_TS_PAGEBUILDERS', true );
43
 
44
- /*if ( ! defined( 'WEAVER_GET_OPTION' ) ) {
45
- define( 'WEAVER_GET_OPTION', 'get_option' );
46
- }
47
- if ( ! defined( 'WEAVER_DELETE_OPTION' ) ) {
48
- define( 'WEAVER_DELETE_OPTION', 'delete_option' );
49
- }
50
- if ( ! defined( 'WEAVER_UPDATE_OPTION' ) ) {
51
- define( 'WEAVER_UPDATE_OPTION', 'update_option' );
52
- }
53
-
54
- if ( ! defined( 'WEAVER_SETTINGS_NAME' ) ) {
55
- define( 'WEAVER_SETTINGS_NAME', 'weaverx_settings' );
56
- }*/
57
-
58
 
59
  function wvrx_ts_installed() {
60
  return true;
5
  Description: Weaver Xtreme Theme Support - Legacy Admin plus a package of useful shortcodes and widgets that integrate closely with the Weaver Xtreme theme.
6
  Author: wpweaver
7
  Author URI: http://weavertheme.com/about/
8
+ Version: 4.4.5
9
  License: GPL V3
10
 
11
  Weaver Xtreme Theme Support
12
 
13
+ Copyright (C) 2014-2021 Bruce E. Wampler - weaver@weavertheme.com
14
 
15
  This program is free software: you can redistribute it and/or modify
16
  it under the terms of the GNU General Public License as published by
37
 
38
  if ( strpos( $theme, '/weaver-xtreme' ) !== false ) { // only load if Weaver Xtreme is the theme
39
 
40
+ define( 'WVRX_TS_VERSION', '4.4.5' );
41
+ define( 'WVRX_TS_MINIFY', '' ); // '' for dev, '.min' for production
42
  define( 'WVRX_TS_PAGEBUILDERS', true );
43
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44
 
45
  function wvrx_ts_installed() {
46
  return true;