Changeset 9055 for trunk/wp-admin/edit-form-advanced.php
- Timestamp:
- 10/02/2008 04:10:54 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-advanced.php
r9054 r9055 375 375 <?php 376 376 } 377 add_meta_box('slugdiv', __('Post Slug'), 'post_slug_meta_box', 'post', 'normal', 'core'); 377 if ( !( 'pending' == $post->post_status && !current_user_can( 'publish_posts' ) ) ) 378 add_meta_box('slugdiv', __('Post Slug'), 'post_slug_meta_box', 'post', 'normal', 'core'); 378 379 379 380 $authors = get_editable_user_ids( $current_user->id ); // TODO: ROLE SYSTEM … … 482 483 <div class="inside"> 483 484 <?php $sample_permalink_html = get_sample_permalink_html($post->ID); ?> 485 <?php if ( !( 'pending' == $post->post_status && !current_user_can( 'publish_posts' ) ) ) { ?> 484 486 <div id="edit-slug-box"> 485 487 <?php if ( ! empty($post->ID) && ! empty($sample_permalink_html) ) : … … 487 489 endif; ?> 488 490 </div> 491 <?php } ?> 489 492 </div> 490 493 </div>
Note: See TracChangeset
for help on using the changeset viewer.