Skip to content

Commit

Permalink
Merge AUI v0.2.25
Browse files Browse the repository at this point in the history
  • Loading branch information
kprajapatii committed Sep 5, 2024
1 parent cb5e46d commit 3850cc4
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 15 deletions.
2 changes: 1 addition & 1 deletion vendor/ayecode/wp-ayecode-ui/ayecode-ui-loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
add_action('after_setup_theme', function () {
global $ayecode_ui_version,$ayecode_ui_file_key;
$this_version = "0.2.18";
$this_version = "0.2.25";
if(empty($ayecode_ui_version) || version_compare($this_version , $ayecode_ui_version, '>')){
$ayecode_ui_version = $this_version ;
$ayecode_ui_file_key = wp_hash( __FILE__ );
Expand Down
3 changes: 3 additions & 0 deletions vendor/ayecode/wp-ayecode-ui/change-log.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
= 0.2.25 - 2024-09-05 =
* Don't apply custom colors to wp-admin - CHANGED

= 0.2.24 - 2024-08-29 =
* Changes for search form conditional fields - CHANGED

Expand Down
2 changes: 1 addition & 1 deletion vendor/ayecode/wp-ayecode-ui/example-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: AyeCode UI
Plugin URI: https://ayecode.io/
Description: This is an example plugin to test AyeCode UI Quickly.
Version: 0.2.24
Version: 0.2.25
Author: AyeCode Ltd
Author URI: https://userswp.io
License: GPL-2.0+
Expand Down
10 changes: 7 additions & 3 deletions vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class AyeCode_UI_Settings {
*
* @var string
*/
public $version = '0.2.24';
public $version = '0.2.25';

/**
* Class textdomain.
Expand Down Expand Up @@ -1138,8 +1138,12 @@ public static function custom_css($compatibility = true) {
$is_fse = true;
}

if(!empty($colors)){
$custom_admin = $is_fse ? true : apply_filters('ayecode_ui_custom_admin', false );


if(!empty($colors) && $custom_admin ){
$d_colors = self::get_colors(true);
//print_r($d_colors);exit;

// $is_fse = !empty($_REQUEST['postType']) && $_REQUEST['postType']=='wp_template';
foreach($colors as $key => $color ){
Expand All @@ -1159,7 +1163,7 @@ public static function custom_css($compatibility = true) {
echo ' body.modal-open #adminmenuwrap{z-index:999} body.modal-open #wpadminbar{z-index:1025}';
}

if( $aui_bs5 && defined( 'BLOCKSTRAP_VERSION' ) ){
if( $aui_bs5 && defined( 'BLOCKSTRAP_VERSION' ) && $custom_admin ){
$css = '';
$theme_settings = wp_get_global_styles();

Expand Down
14 changes: 7 additions & 7 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,20 +55,20 @@
},
{
"name": "ayecode/wp-ayecode-ui",
"version": "0.2.24",
"version_normalized": "0.2.24.0",
"version": "0.2.25",
"version_normalized": "0.2.25.0",
"source": {
"type": "git",
"url": "https://github.com/AyeCode/wp-ayecode-ui.git",
"reference": "2f38efde33ec4d76610f020c42a56687fa0f201c"
"reference": "1fc1d0e5826988954a297ffc30a5d37486822509"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/AyeCode/wp-ayecode-ui/zipball/2f38efde33ec4d76610f020c42a56687fa0f201c",
"reference": "2f38efde33ec4d76610f020c42a56687fa0f201c",
"url": "https://api.github.com/repos/AyeCode/wp-ayecode-ui/zipball/1fc1d0e5826988954a297ffc30a5d37486822509",
"reference": "1fc1d0e5826988954a297ffc30a5d37486822509",
"shasum": ""
},
"time": "2024-08-29T16:41:25+00:00",
"time": "2024-09-05T14:29:37+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
Expand Down Expand Up @@ -97,7 +97,7 @@
],
"support": {
"issues": "https://github.com/AyeCode/wp-ayecode-ui/issues",
"source": "https://github.com/AyeCode/wp-ayecode-ui/tree/0.2.24"
"source": "https://github.com/AyeCode/wp-ayecode-ui/tree/0.2.25"
},
"install-path": "../ayecode/wp-ayecode-ui"
},
Expand Down
6 changes: 3 additions & 3 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
'dev_requirement' => false,
),
'ayecode/wp-ayecode-ui' => array(
'pretty_version' => '0.2.24',
'version' => '0.2.24.0',
'reference' => '2f38efde33ec4d76610f020c42a56687fa0f201c',
'pretty_version' => '0.2.25',
'version' => '0.2.25.0',
'reference' => '1fc1d0e5826988954a297ffc30a5d37486822509',
'type' => 'library',
'install_path' => __DIR__ . '/../ayecode/wp-ayecode-ui',
'aliases' => array(),
Expand Down

0 comments on commit 3850cc4

Please sign in to comment.