Plugin Directory

Changeset 2834904


Ignore:
Timestamp:
12/16/2022 07:22:40 AM (3 years ago)
Author:
daomapsieucap
Message:

Update to version 2.0.14 from GitHub

Location:
fiber-admin
Files:
10 edited
1 copied

Legend:

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

    r2790038 r2834904  
    11== Changelog ==
     2
     3= 2.0.14 =
     4*Release Date - 16 December 2022*
     5
     6* Fixed: Fix error when other plugins include SVG library.
     7* Fixed: Prevent to change the passed orderby in admin.
     8* Fixed: Fix wrong param in `simplexml_load_file` function.
    29
    310= 2.0.13 =
  • fiber-admin/tags/2.0.14/fiberadmin.php

    r2790038 r2834904  
    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.13
     6 * Version:           2.0.14
    77 * Requires at least: 5.2
    88 * Requires PHP:      7.0
  • fiber-admin/tags/2.0.14/includes/cpo.php

    r2790038 r2834904  
    139139    public function fiad_cpo_update_order($query){
    140140        if($query->is_main_query()){
    141             if(is_admin()){
     141            if(is_admin() && !isset($_GET['orderby'])){
    142142                // Change post order by default in admin
    143143                if(function_exists('get_current_screen')){
     
    172172        $taxonomy = $_POST['taxonomy'];
    173173       
    174         if($term_ids){
     174        if($term_ids && in_array($taxonomy, fiad_get_cpo_option('taxonomies'))){
    175175            $order_start = 0;
    176176           
     
    214214        if(is_admin()){
    215215            // Change taxonomy order by default in admin
    216             if(function_exists('get_current_screen')){
     216            if(function_exists('get_current_screen') && !isset($_GET['orderby'])){
    217217                $screen = get_current_screen();
    218218                if(fiad_is_screen_sortable() && $screen->taxonomy){
  • fiber-admin/tags/2.0.14/includes/image.php

    r2774044 r2834904  
    55}
    66
    7 if(fiad_get_miscellaneous_option('enable_svg') && !is_plugin_active('svg-support/svg-support.php')){
     7if(fiad_get_miscellaneous_option('enable_svg')
     8   && !is_plugin_active('svg-support/svg-support.php')
     9   && !interface_exists('enshrined\svgSanitize\data\AttributeInterface', false)){
    810    require_once(FIBERADMIN_DIR . 'lib/svg-sanitizer/data/AttributeInterface.php');
    911    require_once(FIBERADMIN_DIR . 'lib/svg-sanitizer/data/TagInterface.php');
     
    125127            //then get the attributes from xml.
    126128            if(empty($data) || empty($data['width']) || empty($data['height'])){
    127                 $xml     = simplexml_load_file(wp_get_attachment_url($id));
     129                $xml     = simplexml_load_file(get_attached_file($id));
    128130                $attr    = $xml->attributes();
    129131                $viewbox = explode(' ', $attr->viewBox);
  • fiber-admin/tags/2.0.14/readme.txt

    r2790038 r2834904  
    55Tested up to: 6.0.1
    66Requires PHP: 7.0
    7 Stable tag: 2.0.13
     7Stable tag: 2.0.14
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4747== Changelog ==
    4848
    49 = 2.0.13 =
    50 *Release Date - 26 September 2022*
     49= 2.0.14 =
     50*Release Date - 16 December 2022*
    5151
    52 * Fixed: Check before re-order CPO.
     52* Fixed: Fix error when other plugins include SVG library.
     53* Fixed: Prevent to change the passed orderby in admin.
     54* Fixed: Fix wrong param in `simplexml_load_file` function.
  • fiber-admin/trunk/changelog.txt

    r2790038 r2834904  
    11== Changelog ==
     2
     3= 2.0.14 =
     4*Release Date - 16 December 2022*
     5
     6* Fixed: Fix error when other plugins include SVG library.
     7* Fixed: Prevent to change the passed orderby in admin.
     8* Fixed: Fix wrong param in `simplexml_load_file` function.
    29
    310= 2.0.13 =
  • fiber-admin/trunk/fiberadmin.php

    r2790038 r2834904  
    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.13
     6 * Version:           2.0.14
    77 * Requires at least: 5.2
    88 * Requires PHP:      7.0
  • fiber-admin/trunk/includes/cpo.php

    r2790038 r2834904  
    139139    public function fiad_cpo_update_order($query){
    140140        if($query->is_main_query()){
    141             if(is_admin()){
     141            if(is_admin() && !isset($_GET['orderby'])){
    142142                // Change post order by default in admin
    143143                if(function_exists('get_current_screen')){
     
    172172        $taxonomy = $_POST['taxonomy'];
    173173       
    174         if($term_ids){
     174        if($term_ids && in_array($taxonomy, fiad_get_cpo_option('taxonomies'))){
    175175            $order_start = 0;
    176176           
     
    214214        if(is_admin()){
    215215            // Change taxonomy order by default in admin
    216             if(function_exists('get_current_screen')){
     216            if(function_exists('get_current_screen') && !isset($_GET['orderby'])){
    217217                $screen = get_current_screen();
    218218                if(fiad_is_screen_sortable() && $screen->taxonomy){
  • fiber-admin/trunk/includes/image.php

    r2774044 r2834904  
    55}
    66
    7 if(fiad_get_miscellaneous_option('enable_svg') && !is_plugin_active('svg-support/svg-support.php')){
     7if(fiad_get_miscellaneous_option('enable_svg')
     8   && !is_plugin_active('svg-support/svg-support.php')
     9   && !interface_exists('enshrined\svgSanitize\data\AttributeInterface', false)){
    810    require_once(FIBERADMIN_DIR . 'lib/svg-sanitizer/data/AttributeInterface.php');
    911    require_once(FIBERADMIN_DIR . 'lib/svg-sanitizer/data/TagInterface.php');
     
    125127            //then get the attributes from xml.
    126128            if(empty($data) || empty($data['width']) || empty($data['height'])){
    127                 $xml     = simplexml_load_file(wp_get_attachment_url($id));
     129                $xml     = simplexml_load_file(get_attached_file($id));
    128130                $attr    = $xml->attributes();
    129131                $viewbox = explode(' ', $attr->viewBox);
  • fiber-admin/trunk/readme.txt

    r2790038 r2834904  
    55Tested up to: 6.0.1
    66Requires PHP: 7.0
    7 Stable tag: 2.0.13
     7Stable tag: 2.0.14
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4747== Changelog ==
    4848
    49 = 2.0.13 =
    50 *Release Date - 26 September 2022*
     49= 2.0.14 =
     50*Release Date - 16 December 2022*
    5151
    52 * Fixed: Check before re-order CPO.
     52* Fixed: Fix error when other plugins include SVG library.
     53* Fixed: Prevent to change the passed orderby in admin.
     54* Fixed: Fix wrong param in `simplexml_load_file` function.
Note: See TracChangeset for help on using the changeset viewer.