Changeset 15742 for trunk/wp-admin/includes/default-list-tables.php
- Timestamp:
- 10/07/2010 09:10:35 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/default-list-tables.php
r15719 r15742 921 921 </label> 922 922 923 <?php if ( 'post' == $screen->post_type&& $can_publish && current_user_can( $post_type_object->cap->edit_others_posts ) ) : ?>923 <?php if ( post_type_supports( $screen->post_type, 'sticky' ) && $can_publish && current_user_can( $post_type_object->cap->edit_others_posts ) ) : ?> 924 924 925 925 <?php if ( $bulk ) : ?> … … 938 938 <label class="alignleft"> 939 939 <input type="checkbox" name="sticky" value="sticky" /> 940 <span class="checkbox-title"><?php _e( 'Make this poststicky' ); ?></span>940 <span class="checkbox-title"><?php _e( 'Make this sticky' ); ?></span> 941 941 </label> 942 942 943 943 <?php endif; // $bulk ?> 944 944 945 <?php endif; // !$is_page&& $can_publish && current_user_can( 'edit_others_cap' ) ?>945 <?php endif; // post_type_supports(sticky) && $can_publish && current_user_can( 'edit_others_cap' ) ?> 946 946 947 947 </div>
Note: See TracChangeset
for help on using the changeset viewer.