WordPress.org

Plugin Directory

Changeset 612408


Ignore:
Timestamp:
10/14/12 21:14:35 (19 months ago)
Author:
wpmuguru
Message:

permission check fix, props Bill Erickson, tag 0.1.5

Location:
genesis-simple-menus/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • genesis-simple-menus/trunk/readme.txt

    r574696 r612408  
    33Tags: genesis,genesiswp,studiopress,menu,navigation 
    44Requires at least: 3.0 
    5 Tested up to: 3.4.1 
    6 Stable tag: 0.1.4 
     5Tested up to: 3.4.2 
     6Stable tag: 0.1.5 
    77 
    88With Genesis, Simple Menus allows you to select a WP menu for secondary navigation on posts, pages, categories, tags or custom taxonomies. 
     
    2525== Changelog == 
    2626 
     27= 0.1.5 = 
     28* permission check fix 
     29 
    2730= 0.1.4 = 
    2831* add automatic support for custom taxonomies 
  • genesis-simple-menus/trunk/simple-menu.php

    r489122 r612408  
    44Plugin URI: http://www.studiopress.com/plugins/simple-menus 
    55Description: Genesis Simple Menus allows you to select a WordPress menu for secondary navigation on individual posts/pages. 
    6 Version: 0.1.4 
     6Version: 0.1.5 
    77Author: Ron Rennick 
    88Author URI: http://ronandandrea.com/ 
     
    131131        if ( $post->post_type == 'revision' ) return; 
    132132 
    133         $perm = 'edit_' . ( 'page' == $post->post_type ? 'post' : $post->post_type ) . 's'; 
     133        $perm = 'edit_' . ( 'page' == $post->post_type ? 'page' : 'post' ) . 's'; 
    134134        if ( current_user_can( $perm, $post_id ) ) { 
    135135            if( empty( $_POST[$this->field_name] ) ) 
Note: See TracChangeset for help on using the changeset viewer.