diff --git wp-admin/includes/template.php wp-admin/includes/template.php
index b3bdb9d..3eb3ea3 100644
|
|
function wp_terms_checklist($post_id = 0, $args = array()) { |
121 | 121 | $categories = (array) get_terms($taxonomy, array('get' => 'all')); |
122 | 122 | } |
123 | 123 | |
124 | | if ( $checked_ontop ) { |
| 124 | if ( apply_filters( 'show_checked_terms_on_top', $checked_ontop ) ) { |
125 | 125 | // Post process $categories rather than adding an exclude to the get_terms() query to keep the query the same across all posts (for any query cache) |
126 | 126 | $checked_categories = array(); |
127 | 127 | $keys = array_keys( $categories ); |