Changeset 33096 for trunk/src/wp-admin/includes/post.php
- Timestamp:
- 07/06/2015 10:40:59 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/post.php
r33054 r33096 386 386 wp_set_post_lock( $post_ID ); 387 387 388 if ( current_user_can( $ptype->cap->edit_others_posts ) ) {388 if ( current_user_can( $ptype->cap->edit_others_posts ) && current_user_can( $ptype->cap->publish_posts ) ) { 389 389 if ( ! empty( $post_data['sticky'] ) ) 390 390 stick_post( $post_ID );
Note: See TracChangeset
for help on using the changeset viewer.