Changeset 33358 for branches/4.2/src/wp-includes/capabilities.php
- Timestamp:
- 07/22/2015 04:05:17 AM (11 years ago)
- File:
-
- 1 edited
-
branches/4.2/src/wp-includes/capabilities.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.2/src/wp-includes/capabilities.php
r32173 r33358 1144 1144 case 'edit_page': 1145 1145 $post = get_post( $args[0] ); 1146 if ( empty( $post ) ) 1146 if ( empty( $post ) ) { 1147 $caps[] = 'do_not_allow'; 1147 1148 break; 1149 } 1148 1150 1149 1151 if ( 'revision' == $post->post_type ) {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)