Plugin Directory

Changeset 3276817


Ignore:
Timestamp:
04/18/2025 02:57:20 PM (11 months ago)
Author:
daggerhart
Message:

1.5.54

Location:
query-wrangler/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • query-wrangler/trunk/README.txt

    r2910300 r3276817  
    44Tags: query, pages, widget, admin, widgets, administration, manage, views, loop
    55Requires at least: 4
    6 Tested up to: 6.2
     6Tested up to: 6.8
    77Stable tag: trunk
    88
     
    7575== Changelog ==
    7676
     77= 1.5.54 =
     78
     79* Security fixes update.
     80
    7781= 1.5.53 =
    7882
  • query-wrangler/trunk/admin/query-admin-pages.php

    r2900239 r3276817  
    44 */
    55function qw_page_handler() {
     6    if ( !current_user_can('manage_options') ) {
     7        die('nope');
     8    }
     9
    610    $redirect = FALSE;
    711    // handle actions
  • query-wrangler/trunk/includes/filters/post_types.php

    r1254091 r3276817  
    172172        // List all categories as checkboxes
    173173        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 = '';
    181179            }
    182180            ?>
Note: See TracChangeset for help on using the changeset viewer.