Plugin Directory

Changeset 2636439


Ignore:
Timestamp:
11/28/2021 06:55:06 AM (4 years ago)
Author:
Lovinnagi
Message:

Minor updates

Location:
wp-category-sort/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-category-sort/trunk/readme.txt

    r2635506 r2636439  
    44Requires at least: 2.8
    55Tested up to: 5.8.1
    6 Stable tag: 2.0.1
     6Stable tag: 2.0.2
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • wp-category-sort/trunk/wp-category-sort.php

    r2635506 r2636439  
    44Plugin URI: https://wordpress.org/plugins/wp-category-sort/
    55Description: The WP Category Sort plugin allows you to easily reorder your categories the way you want via drag and drop.
    6 Version: 2.0.1
     6Version: 2.0.2
    77Author: Lovin Nagi
    88Author URI: https://profiles.wordpress.org/lovinnagi
     
    131131            die();
    132132
     133            // Set your custom capability through this filter.
     134            $custom_cap = apply_filters( 'wpcatsort_custom_cap', 'manage_categories' );
     135           
     136            if ( ! current_user_can( $custom_cap ) ) {
     137                die(esc_html__( 'You need a higher level of permission.', 'wpcatsort' ));
     138            }
     139
    133140            $data = stripslashes($_POST['order']);
    134141
Note: See TracChangeset for help on using the changeset viewer.