Changeset 3276817
- Timestamp:
- 04/18/2025 02:57:20 PM (11 months ago)
- Location:
- query-wrangler/trunk
- Files:
-
- 3 edited
-
README.txt (modified) (2 diffs)
-
admin/query-admin-pages.php (modified) (1 diff)
-
includes/filters/post_types.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
query-wrangler/trunk/README.txt
r2910300 r3276817 4 4 Tags: query, pages, widget, admin, widgets, administration, manage, views, loop 5 5 Requires at least: 4 6 Tested up to: 6. 26 Tested up to: 6.8 7 7 Stable tag: trunk 8 8 … … 75 75 == Changelog == 76 76 77 = 1.5.54 = 78 79 * Security fixes update. 80 77 81 = 1.5.53 = 78 82 -
query-wrangler/trunk/admin/query-admin-pages.php
r2900239 r3276817 4 4 */ 5 5 function qw_page_handler() { 6 if ( !current_user_can('manage_options') ) { 7 die('nope'); 8 } 9 6 10 $redirect = FALSE; 7 11 // handle actions -
query-wrangler/trunk/includes/filters/post_types.php
r1254091 r3276817 172 172 // List all categories as checkboxes 173 173 foreach ( $post_types as $type ) { 174 if ( is_array( $filter['values']['post_types'] ) ) { 175 // see if our submitted value is 176 if ( in_array( $type, $filter['values']['post_types'] ) ) { 177 $type_checked = 'checked="checked"'; 178 } else { 179 $type_checked = ''; 180 } 174 // see if our submitted value is 175 if ( is_array( $filter['values']['post_types'] ) && in_array( $type, $filter['values']['post_types'] ) ) { 176 $type_checked = 'checked="checked"'; 177 } else { 178 $type_checked = ''; 181 179 } 182 180 ?>
Note: See TracChangeset
for help on using the changeset viewer.