Changeset 2918433
- Timestamp:
- 05/29/2023 07:40:01 AM (14 months ago)
- Location:
- taxonomy-terms-order
- Files:
-
- 22 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
taxonomy-terms-order/trunk/languages/taxonomy-terms-order.po
r2890995 r2918433 3 3 "Project-Id-Version: Category Order and Taxonomy Terms Order\n" 4 4 "Report-Msgid-Bugs-To: \n" 5 "POT-Creation-Date: 2023-0 3-31 11:08+0300\n"6 "PO-Revision-Date: 2023-0 3-31 11:08+0300\n"5 "POT-Creation-Date: 2023-0+0300\n" 6 "PO-Revision-Date: 2023-0+0300\n" 7 7 "Last-Translator: NspCode <contact@nsp-code.com>\n" 8 8 "Language-Team: nsp-code <electronice_delphi@yahoo.com>\n" -
taxonomy-terms-order/trunk/readme.txt
r2890995 r2918433 4 4 Tags: category order,terms order, taxonomy order, admin order, categories sort, order category 5 5 Requires at least: 2.8 6 Tested up to: 6.2 7 Stable tag: 1.7. 56 Tested up to: 6.2 7 Stable tag: 1.7. 8 8 9 9 Order Categories and all custom taxonomies terms (hierarchically) using a Drag and Drop Sortable JavaScript capability. … … 60 60 61 61 == Change Log == 62 63 64 65 62 66 63 67 = 1.7.5 = -
taxonomy-terms-order/trunk/taxonomy-terms-order.php
r2890995 r2918433 4 4 Plugin URI: http://www.nsp-code.com 5 5 Description: Order Categories and all custom taxonomies terms (hierarchically) and child terms using a Drag and Drop Sortable javascript capability. 6 Version: 1.7. 56 Version: 1.7. 7 7 Author: Nsp-Code 8 8 Author URI: https://www.nsp-code.com … … 158 158 159 159 if ( $options['adminsort'] == "1" && (!isset($args['ignore_term_order']) || (isset($args['ignore_term_order']) && $args['ignore_term_order'] !== TRUE) ) ) 160 $clauses['orderby'] = 'ORDER BY t.term_order'; 160 { 161 if ( $clauses['orderby'] == 'ORDER BY t.name' ) 162 $clauses['orderby'] = 'ORDER BY t.term_order '. $clauses['order'] .', t.name'; 163 else 164 $clauses['orderby'] = 'ORDER BY t.term_order'; 165 166 } 161 167 162 168 return $clauses;
Note: See TracChangeset
for help on using the changeset viewer.