Changeset 14315 for trunk/wp-admin/includes/post.php
- Timestamp:
- 04/30/2010 03:17:49 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/post.php
r14216 r14315 487 487 if ( !current_user_can( $ptype->edit_type_cap ) ) { 488 488 if ( 'page' == $ptype->name ) 489 return new WP_Error( 'edit_pages', __( 'You are not allowed to create pages on this blog.' ) );489 return new WP_Error( 'edit_pages', __( 'You are not allowed to create pages on this site.' ) ); 490 490 else 491 return new WP_Error( 'edit_posts', __( 'You are not allowed to create posts or drafts on this blog.' ) );491 return new WP_Error( 'edit_posts', __( 'You are not allowed to create posts or drafts on this site.' ) ); 492 492 } 493 493
Note: See TracChangeset
for help on using the changeset viewer.