Changeset 2834904
- Timestamp:
- 12/16/2022 07:22:40 AM (3 years ago)
- Location:
- fiber-admin
- Files:
-
- 10 edited
- 1 copied
-
tags/2.0.14 (copied) (copied from fiber-admin/trunk)
-
tags/2.0.14/changelog.txt (modified) (1 diff)
-
tags/2.0.14/fiberadmin.php (modified) (1 diff)
-
tags/2.0.14/includes/cpo.php (modified) (3 diffs)
-
tags/2.0.14/includes/image.php (modified) (2 diffs)
-
tags/2.0.14/readme.txt (modified) (2 diffs)
-
trunk/changelog.txt (modified) (1 diff)
-
trunk/fiberadmin.php (modified) (1 diff)
-
trunk/includes/cpo.php (modified) (3 diffs)
-
trunk/includes/image.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
fiber-admin/tags/2.0.14/changelog.txt
r2790038 r2834904 1 1 == 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. 2 9 3 10 = 2.0.13 = -
fiber-admin/tags/2.0.14/fiberadmin.php
r2790038 r2834904 4 4 * Plugin URI: https://wordpress.org/plugins/fiber-admin/ 5 5 * Description: 💈 Bring multiple customization features to make your own WordPress admin. 6 * Version: 2.0.1 36 * Version: 2.0.14 7 7 * Requires at least: 5.2 8 8 * Requires PHP: 7.0 -
fiber-admin/tags/2.0.14/includes/cpo.php
r2790038 r2834904 139 139 public function fiad_cpo_update_order($query){ 140 140 if($query->is_main_query()){ 141 if(is_admin() ){141 if(is_admin() && !isset($_GET['orderby'])){ 142 142 // Change post order by default in admin 143 143 if(function_exists('get_current_screen')){ … … 172 172 $taxonomy = $_POST['taxonomy']; 173 173 174 if($term_ids ){174 if($term_ids && in_array($taxonomy, fiad_get_cpo_option('taxonomies'))){ 175 175 $order_start = 0; 176 176 … … 214 214 if(is_admin()){ 215 215 // Change taxonomy order by default in admin 216 if(function_exists('get_current_screen') ){216 if(function_exists('get_current_screen') && !isset($_GET['orderby'])){ 217 217 $screen = get_current_screen(); 218 218 if(fiad_is_screen_sortable() && $screen->taxonomy){ -
fiber-admin/tags/2.0.14/includes/image.php
r2774044 r2834904 5 5 } 6 6 7 if(fiad_get_miscellaneous_option('enable_svg') && !is_plugin_active('svg-support/svg-support.php')){ 7 if(fiad_get_miscellaneous_option('enable_svg') 8 && !is_plugin_active('svg-support/svg-support.php') 9 && !interface_exists('enshrined\svgSanitize\data\AttributeInterface', false)){ 8 10 require_once(FIBERADMIN_DIR . 'lib/svg-sanitizer/data/AttributeInterface.php'); 9 11 require_once(FIBERADMIN_DIR . 'lib/svg-sanitizer/data/TagInterface.php'); … … 125 127 //then get the attributes from xml. 126 128 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)); 128 130 $attr = $xml->attributes(); 129 131 $viewbox = explode(' ', $attr->viewBox); -
fiber-admin/tags/2.0.14/readme.txt
r2790038 r2834904 5 5 Tested up to: 6.0.1 6 6 Requires PHP: 7.0 7 Stable tag: 2.0.1 37 Stable tag: 2.0.14 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 47 47 == Changelog == 48 48 49 = 2.0.1 3=50 *Release Date - 26 September 2022*49 = 2.0.14 = 50 *Release Date - 16 December 2022* 51 51 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 1 1 == 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. 2 9 3 10 = 2.0.13 = -
fiber-admin/trunk/fiberadmin.php
r2790038 r2834904 4 4 * Plugin URI: https://wordpress.org/plugins/fiber-admin/ 5 5 * Description: 💈 Bring multiple customization features to make your own WordPress admin. 6 * Version: 2.0.1 36 * Version: 2.0.14 7 7 * Requires at least: 5.2 8 8 * Requires PHP: 7.0 -
fiber-admin/trunk/includes/cpo.php
r2790038 r2834904 139 139 public function fiad_cpo_update_order($query){ 140 140 if($query->is_main_query()){ 141 if(is_admin() ){141 if(is_admin() && !isset($_GET['orderby'])){ 142 142 // Change post order by default in admin 143 143 if(function_exists('get_current_screen')){ … … 172 172 $taxonomy = $_POST['taxonomy']; 173 173 174 if($term_ids ){174 if($term_ids && in_array($taxonomy, fiad_get_cpo_option('taxonomies'))){ 175 175 $order_start = 0; 176 176 … … 214 214 if(is_admin()){ 215 215 // Change taxonomy order by default in admin 216 if(function_exists('get_current_screen') ){216 if(function_exists('get_current_screen') && !isset($_GET['orderby'])){ 217 217 $screen = get_current_screen(); 218 218 if(fiad_is_screen_sortable() && $screen->taxonomy){ -
fiber-admin/trunk/includes/image.php
r2774044 r2834904 5 5 } 6 6 7 if(fiad_get_miscellaneous_option('enable_svg') && !is_plugin_active('svg-support/svg-support.php')){ 7 if(fiad_get_miscellaneous_option('enable_svg') 8 && !is_plugin_active('svg-support/svg-support.php') 9 && !interface_exists('enshrined\svgSanitize\data\AttributeInterface', false)){ 8 10 require_once(FIBERADMIN_DIR . 'lib/svg-sanitizer/data/AttributeInterface.php'); 9 11 require_once(FIBERADMIN_DIR . 'lib/svg-sanitizer/data/TagInterface.php'); … … 125 127 //then get the attributes from xml. 126 128 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)); 128 130 $attr = $xml->attributes(); 129 131 $viewbox = explode(' ', $attr->viewBox); -
fiber-admin/trunk/readme.txt
r2790038 r2834904 5 5 Tested up to: 6.0.1 6 6 Requires PHP: 7.0 7 Stable tag: 2.0.1 37 Stable tag: 2.0.14 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 47 47 == Changelog == 48 48 49 = 2.0.1 3=50 *Release Date - 26 September 2022*49 = 2.0.14 = 50 *Release Date - 16 December 2022* 51 51 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.