Skip to content

Commit bb7e973

Browse files
authored
Merge pull request #876 from kprajapatii/master
AUI 0.2.43, SD 1.2.31 & AyeCode Connect Helper 1.0.5
2 parents 133c214 + e9bfa2e commit bb7e973

13 files changed

Lines changed: 58 additions & 43 deletions

File tree

vendor/ayecode/ayecode-connect-helper/ayecode-connect-helper.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
class AyeCode_Connect_Helper {
1313

1414
// Hold the version number
15-
var $version = "1.0.4";
15+
var $version = "1.0.5";
1616

1717
// Hold the default strings.
1818
var $strings = array();
@@ -93,6 +93,13 @@ private function format_plugin_slug( $key ) {
9393
* Install and activate the AyeCode Connect Plugin
9494
*/
9595
public function ayecode_connect_install() {
96+
// Security check.
97+
check_ajax_referer( 'ayecode-connect-helper', 'security' );
98+
99+
if ( ! current_user_can( 'manage_options' ) ) {
100+
wp_send_json_error( $this->strings['error'] );
101+
}
102+
96103
// bail if localhost
97104
if ( $this->is_localhost() ) {
98105
wp_send_json_error( $this->strings['error_localhost'] );

vendor/ayecode/ayecode-connect-helper/change-log.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
= 1.0.5 - 2026-01-20 =
2+
* Extra sanitization for AyeCode Connect plugin install request - FIXED/SECURITY
3+
14
= 1.0.4 - 2023-12-14 =
25
* Update textdomain - CHANGED
36

vendor/ayecode/wp-ayecode-ui/ayecode-ui-loader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616
add_action('after_setup_theme', function () {
1717
global $ayecode_ui_version,$ayecode_ui_file_key;
18-
$this_version = "0.2.42";
18+
$this_version = "0.2.43";
1919
if(empty($ayecode_ui_version) || version_compare($this_version , $ayecode_ui_version, '>')){
2020
$ayecode_ui_version = $this_version ;
2121
$ayecode_ui_file_key = wp_hash( __FILE__ );

vendor/ayecode/wp-ayecode-ui/change-log.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
= 0.2.43 - 2026-01-22 =
2+
* Dropdown does not show the option selected if the field value is 0 - FIXED
3+
14
= 0.2.42 - 2025-10-30 =
25
* Detect Breakdance builder preview - ADDED
36

vendor/ayecode/wp-ayecode-ui/example-plugin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
Plugin Name: AyeCode UI
44
Plugin URI: https://ayecode.io/
55
Description: This is an example plugin to test AyeCode UI Quickly.
6-
Version: 0.2.42
6+
Version: 0.2.43
77
Author: AyeCode Ltd
88
Author URI: https://userswp.io
99
License: GPL-2.0+
1010
License URI: http://www.gnu.org/licenses/gpl-2.0.txt
1111
Text Domain: ayecode-ui
1212
Domain Path: /languages
1313
Requires at least: 5.0
14-
Tested up to: 6.8
14+
Tested up to: 6.9
1515
*/
1616

1717
// If this file is called directly, abort.

vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class AyeCode_UI_Settings {
3535
*
3636
* @var string
3737
*/
38-
public $version = '0.2.42';
38+
public $version = '0.2.43';
3939

4040
/**
4141
* Class textdomain.

vendor/ayecode/wp-ayecode-ui/includes/components/class-aui-component-input.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,6 @@ public static function select( $args = array() ) {
988988
} elseif ( ( $args['value'] === '0' || $args['value'] === 0 ) && ( $val === '0' || $val === 0 ) ) {
989989
$selected = selected( $args['value'], $val, false );
990990
}
991-
992991
$output .= '<option value="' . esc_attr( $val ) . '" ' . $selected . '>' . esc_attr( $name ) . '</option>';
993992
}
994993
}

vendor/ayecode/wp-super-duper/change-log.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
= 1.2.31 - 2026-01-22 =
2+
* Border radius can't be unset when border is set to default - FIXED
3+
14
= 1.2.30 - 2025-11-13 =
25
* Bricks block settings don't saves default value properly - FIXED
36

vendor/ayecode/wp-super-duper/sd-functions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ function sd_get_border_input( $type = 'border', $overwrite = array() ) {
232232
'rounded-bottom' => 'rounded-bottom',
233233
'rounded-left' => 'rounded-left',
234234
);
235-
$defaults['element_require'] = '([%border%]&&[%border%]!="0")';
235+
$defaults['element_require'] = '(([%border%]&&[%border%]!="0")||[%rounded%])';
236236
} elseif ( 'rounded_size' === $type ) {
237237
$defaults['title'] = __( 'Border radius size', 'ayecode-connect' );
238238

@@ -254,7 +254,7 @@ function sd_get_border_input( $type = 'border', $overwrite = array() ) {
254254
'lg' => __( 'Large', 'ayecode-connect' ),
255255
);
256256
}
257-
$defaults['element_require'] = '([%border%]&&[%border%]!="0")';
257+
$defaults['element_require'] = '(([%border%]&&[%border%]!="0")||[%rounded_size%]!="")';
258258
} elseif ( 'width' === $type ) { // BS%
259259
$defaults['title'] = __( 'Border width', 'ayecode-connect' );
260260
$defaults['options'] = array(

vendor/ayecode/wp-super-duper/sd-plugin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
* @wordpress-plugin
66
* Plugin Name: Super Duper - Examples
77
* Description: This is a Hello World test plugin for WP Super Duper Class.
8-
* Version: 1.2.30
8+
* Version: 1.2.31
99
* Author: AyeCode
1010
* Author URI: https://ayecode.io
1111
* Text Domain: super-duper
1212
* Domain Path: /languages
1313
* Requires at least: 5.0
14-
* Tested up to: 6.8
14+
* Tested up to: 6.9
1515
*/
1616

1717
if ( ! defined( 'ABSPATH' ) ) {

0 commit comments

Comments
 (0)