WordPress.org

Plugin Directory

Changeset 418693


Ignore:
Timestamp:
08/03/11 11:28:50 (3 years ago)
Author:
tott
Message:

switch edit cap to correct value

Location:
easy-custom-fields/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • easy-custom-fields/trunk/easy-custom-fields.php

    r236744 r418693  
    430430                 
    431431                // Is the user allowed to edit the post or page? 
    432                 if ( !current_user_can( $post_type_object->edit_cap ) ) 
     432                if ( !current_user_can( $post_type_object->cap->edit_post ) ) 
    433433                    return $post->ID; 
    434434                 
  • easy-custom-fields/trunk/readme.txt

    r236744 r418693  
    33Tags: custom fields, post meta, post_meta, custom post fields 
    44Requires at least: 2.9.2 
    5 Tested up to: 3.0-beta1 
     5Tested up to: 3.2 
    66Stable tag: trunk 
    77 
Note: See TracChangeset for help on using the changeset viewer.