Plugin Directory

Changeset 2714693


Ignore:
Timestamp:
04/26/2022 07:22:44 AM (4 years ago)
Author:
daomapsieucap
Message:

Update to version 2.0.4 from GitHub

Location:
fiber-admin
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • fiber-admin/tags/2.0.4/changelog.txt

    r2713694 r2714693  
    11== Changelog ==
     2
     3= 2.0.4 =
     4*Release Date - 26 April 2022*
     5
     6* Fixed: Fix bug with Override Default Query for Post Types doesn't work properly.
    27
    38= 2.0.3 =
  • fiber-admin/tags/2.0.4/fiberadmin.php

    r2713694 r2714693  
    44 * Plugin URI:        https://wordpress.org/plugins/fiber-admin/
    55 * Description:       💈 Bring multiple customization features to make your own WordPress admin.
    6  * Version:           2.0.3
     6 * Version:           2.0.4
    77 * Requires at least: 5.2
    88 * Requires PHP:      7.0
     
    2626 */
    2727
    28 const FIBERADMIN_VERSION  = '2.0.3';
     28const FIBERADMIN_VERSION  = '2.0.4';
    2929const FIBERADMIN_DEV_MODE = false;
    3030const FIBERADMIN_FILENAME = __FILE__;
  • fiber-admin/tags/2.0.4/includes/cpo.php

    r2616614 r2714693  
    105105   
    106106    public function fiad_cpo_update_order($query){
    107         if($query->is_main_query() && is_admin()){
    108             // Change post order by default in admin
    109             if(function_exists('get_current_screen')){
    110                 $screen = get_current_screen();
    111                 if(fiad_is_screen_sortable() && !$screen->taxonomy){
    112                     $query->set('orderby', 'menu_order');
    113                     $query->set('order', 'ASC');
    114                 }
    115             }
    116         }
    117        
    118         if(!is_admin() && fiad_get_cpo_option('override_default_query') && fiad_get_cpo_option('post_types')){
    119             if(is_home() || in_array($query->get('post_type'), fiad_get_cpo_option('post_types'))){
    120                 $query->set('orderby', 'menu_order');
    121                 $query->set('order', 'ASC');
     107        if($query->is_main_query()){
     108            if(is_admin()){
     109                // Change post order by default in admin
     110                if(function_exists('get_current_screen')){
     111                    $screen = get_current_screen();
     112                    if(fiad_is_screen_sortable() && !$screen->taxonomy){
     113                        $query->set('orderby', 'menu_order');
     114                        $query->set('order', 'ASC');
     115                    }
     116                }
     117            }else{
     118                if(fiad_get_cpo_option('override_default_query') && fiad_get_cpo_option('post_types')){
     119                    if(is_home() || in_array($query->get('post_type'), fiad_get_cpo_option('post_types'))){
     120                        $query->set('orderby', 'menu_order');
     121                        $query->set('order', 'ASC');
     122                    }
     123                }
    122124            }
    123125        }
  • fiber-admin/tags/2.0.4/readme.txt

    r2713694 r2714693  
    55Tested up to: 5.9.3
    66Requires PHP: 7.0
    7 Stable tag: 2.0.3
     7Stable tag: 2.0.4
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4747== Changelog ==
    4848
    49 = 2.0.3 =
    50 *Release Date - 23 April 2022*
     49= 2.0.4 =
     50*Release Date - 26 April 2022*
    5151
    52 * Fixed: Round up image size for SVG to be valid with W3C rule.
     52* Fixed: Fix bug with Override Default Query for Post Types doesn't work properly.
  • fiber-admin/trunk/changelog.txt

    r2713694 r2714693  
    11== Changelog ==
     2
     3= 2.0.4 =
     4*Release Date - 26 April 2022*
     5
     6* Fixed: Fix bug with Override Default Query for Post Types doesn't work properly.
    27
    38= 2.0.3 =
  • fiber-admin/trunk/fiberadmin.php

    r2713694 r2714693  
    44 * Plugin URI:        https://wordpress.org/plugins/fiber-admin/
    55 * Description:       💈 Bring multiple customization features to make your own WordPress admin.
    6  * Version:           2.0.3
     6 * Version:           2.0.4
    77 * Requires at least: 5.2
    88 * Requires PHP:      7.0
     
    2626 */
    2727
    28 const FIBERADMIN_VERSION  = '2.0.3';
     28const FIBERADMIN_VERSION  = '2.0.4';
    2929const FIBERADMIN_DEV_MODE = false;
    3030const FIBERADMIN_FILENAME = __FILE__;
  • fiber-admin/trunk/includes/cpo.php

    r2616614 r2714693  
    105105   
    106106    public function fiad_cpo_update_order($query){
    107         if($query->is_main_query() && is_admin()){
    108             // Change post order by default in admin
    109             if(function_exists('get_current_screen')){
    110                 $screen = get_current_screen();
    111                 if(fiad_is_screen_sortable() && !$screen->taxonomy){
    112                     $query->set('orderby', 'menu_order');
    113                     $query->set('order', 'ASC');
    114                 }
    115             }
    116         }
    117        
    118         if(!is_admin() && fiad_get_cpo_option('override_default_query') && fiad_get_cpo_option('post_types')){
    119             if(is_home() || in_array($query->get('post_type'), fiad_get_cpo_option('post_types'))){
    120                 $query->set('orderby', 'menu_order');
    121                 $query->set('order', 'ASC');
     107        if($query->is_main_query()){
     108            if(is_admin()){
     109                // Change post order by default in admin
     110                if(function_exists('get_current_screen')){
     111                    $screen = get_current_screen();
     112                    if(fiad_is_screen_sortable() && !$screen->taxonomy){
     113                        $query->set('orderby', 'menu_order');
     114                        $query->set('order', 'ASC');
     115                    }
     116                }
     117            }else{
     118                if(fiad_get_cpo_option('override_default_query') && fiad_get_cpo_option('post_types')){
     119                    if(is_home() || in_array($query->get('post_type'), fiad_get_cpo_option('post_types'))){
     120                        $query->set('orderby', 'menu_order');
     121                        $query->set('order', 'ASC');
     122                    }
     123                }
    122124            }
    123125        }
  • fiber-admin/trunk/readme.txt

    r2713694 r2714693  
    55Tested up to: 5.9.3
    66Requires PHP: 7.0
    7 Stable tag: 2.0.3
     7Stable tag: 2.0.4
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4747== Changelog ==
    4848
    49 = 2.0.3 =
    50 *Release Date - 23 April 2022*
     49= 2.0.4 =
     50*Release Date - 26 April 2022*
    5151
    52 * Fixed: Round up image size for SVG to be valid with W3C rule.
     52* Fixed: Fix bug with Override Default Query for Post Types doesn't work properly.
Note: See TracChangeset for help on using the changeset viewer.