Changeset 34707
- Timestamp:
- 09/30/2015 12:46:15 AM (9 years ago)
- Location:
- trunk/src/wp-admin/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-list-table.php
r34467 r34707 1142 1142 wp_nonce_field( 'bulk-' . $this->_args['plural'] ); 1143 1143 } 1144 if ( $this->has_items() ) :?>1144 ?> 1145 1145 <div class="tablenav <?php echo esc_attr( $which ); ?>"> 1146 1146 1147 <?php if ( $this->has_items() ): ?> 1147 1148 <div class="alignleft actions bulkactions"> 1148 1149 <?php $this->bulk_actions( $which ); ?> 1149 1150 </div> 1150 <?php 1151 <?php endif; 1151 1152 $this->extra_tablenav( $which ); 1152 1153 $this->pagination( $which ); … … 1156 1157 </div> 1157 1158 <?php 1158 endif;1159 1159 } 1160 1160 -
trunk/src/wp-admin/includes/class-wp-users-list-table.php
r34636 r34707 218 218 ?> 219 219 <div class="alignleft actions"> 220 <?php if ( current_user_can( 'promote_users' ) ) : ?>220 <?php if ( current_user_can( 'promote_users' ) && $this->has_items() ) : ?> 221 221 <label class="screen-reader-text" for="<?php echo $id ?>"><?php _e( 'Change role to…' ) ?></label> 222 222 <select name="<?php echo $id ?>" id="<?php echo $id ?>">
Note: See TracChangeset
for help on using the changeset viewer.