Ticket #25497: site-users.php.patch
File site-users.php.patch, 1.2 KB (added by , 12 years ago) |
---|
-
site-users.php
164 164 $parent_file = 'sites.php'; 165 165 $submenu_file = 'sites.php'; 166 166 167 /** 168 * Disable showing add existing user form 169 * 170 * @since 3.1.0 171 * 172 * @param bool true 173 */ 167 174 if ( ! wp_is_large_network( 'users' ) && apply_filters( 'show_network_site_users_add_existing_form', true ) ) 168 175 wp_enqueue_script( 'user-suggest' ); 169 176 … … 243 250 244 251 </form> 245 252 246 <?php do_action( 'network_site_users_after_list_table', '' );?>253 <?php 247 254 248 <?php if ( current_user_can( 'promote_users' ) && apply_filters( 'show_network_site_users_add_existing_form', true ) ) : ?> 255 /** 256 * Fires after the listing of users table on the network admin 257 * 258 * @since 3.1.0 259 * 260 */ 261 do_action( 'network_site_users_after_list_table', '' );?> 262 263 <?php 264 //duplicate_hook 265 if ( current_user_can( 'promote_users' ) && apply_filters( 'show_network_site_users_add_existing_form', true ) ) : ?> 249 266 <h3 id="add-existing-user"><?php _e( 'Add Existing User' ); ?></h3> 250 267 <form action="site-users.php?action=adduser" id="adduser" method="post"> 251 268 <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" />