Changeset 2714693
- Timestamp:
- 04/26/2022 07:22:44 AM (4 years ago)
- Location:
- fiber-admin
- Files:
-
- 8 edited
- 1 copied
-
tags/2.0.4 (copied) (copied from fiber-admin/trunk)
-
tags/2.0.4/changelog.txt (modified) (1 diff)
-
tags/2.0.4/fiberadmin.php (modified) (2 diffs)
-
tags/2.0.4/includes/cpo.php (modified) (1 diff)
-
tags/2.0.4/readme.txt (modified) (2 diffs)
-
trunk/changelog.txt (modified) (1 diff)
-
trunk/fiberadmin.php (modified) (2 diffs)
-
trunk/includes/cpo.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
fiber-admin/tags/2.0.4/changelog.txt
r2713694 r2714693 1 1 == 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. 2 7 3 8 = 2.0.3 = -
fiber-admin/tags/2.0.4/fiberadmin.php
r2713694 r2714693 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. 36 * Version: 2.0.4 7 7 * Requires at least: 5.2 8 8 * Requires PHP: 7.0 … … 26 26 */ 27 27 28 const FIBERADMIN_VERSION = '2.0. 3';28 const FIBERADMIN_VERSION = '2.0.4'; 29 29 const FIBERADMIN_DEV_MODE = false; 30 30 const FIBERADMIN_FILENAME = __FILE__; -
fiber-admin/tags/2.0.4/includes/cpo.php
r2616614 r2714693 105 105 106 106 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 } 122 124 } 123 125 } -
fiber-admin/tags/2.0.4/readme.txt
r2713694 r2714693 5 5 Tested up to: 5.9.3 6 6 Requires PHP: 7.0 7 Stable tag: 2.0. 37 Stable tag: 2.0.4 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. 3=50 *Release Date - 2 3April 2022*49 = 2.0.4 = 50 *Release Date - 26 April 2022* 51 51 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 1 1 == 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. 2 7 3 8 = 2.0.3 = -
fiber-admin/trunk/fiberadmin.php
r2713694 r2714693 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. 36 * Version: 2.0.4 7 7 * Requires at least: 5.2 8 8 * Requires PHP: 7.0 … … 26 26 */ 27 27 28 const FIBERADMIN_VERSION = '2.0. 3';28 const FIBERADMIN_VERSION = '2.0.4'; 29 29 const FIBERADMIN_DEV_MODE = false; 30 30 const FIBERADMIN_FILENAME = __FILE__; -
fiber-admin/trunk/includes/cpo.php
r2616614 r2714693 105 105 106 106 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 } 122 124 } 123 125 } -
fiber-admin/trunk/readme.txt
r2713694 r2714693 5 5 Tested up to: 5.9.3 6 6 Requires PHP: 7.0 7 Stable tag: 2.0. 37 Stable tag: 2.0.4 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. 3=50 *Release Date - 2 3April 2022*49 = 2.0.4 = 50 *Release Date - 26 April 2022* 51 51 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.