src/wp-admin/plugins.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 507-510 (lines=4) @@ | 
                                                            
                                    | 504 |  | ?></h1> | 
                                                            
                                    | 505 |  |  | 
                                                            
                                    | 506 |  | <?php | 
                                                            
                                    | 507 |  | if ( ( ! is_multisite() || is_network_admin() ) && current_user_can('install_plugins') ) { ?> | 
                                                            
                                    | 508 |  | 	<a href="<?php echo self_admin_url( 'plugin-install.php' ); ?>" class="page-title-action"><?php echo esc_html_x( 'Add New', 'plugin' ); ?></a> | 
                                                            
                                    | 509 |  | <?php | 
                                                            
                                    | 510 |  | } | 
                                                            
                                    | 511 |  |  | 
                                                            
                                    | 512 |  | if ( strlen( $s ) ) { | 
                                                            
                                    | 513 |  | 	/* translators: %s: search keywords */ | 
                                                                        
                 
                                                            
                    
src/wp-admin/user-edit.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 214-218 (lines=5) @@ | 
                                                            
                                    | 211 |  |  | 
                                                            
                                    | 212 |  | <?php | 
                                                            
                                    | 213 |  | if ( ! IS_PROFILE_PAGE ) { | 
                                                            
                                    | 214 |  | 	if ( current_user_can( 'create_users' ) ) { ?> | 
                                                            
                                    | 215 |  | 		<a href="user-new.php" class="page-title-action"><?php echo esc_html_x( 'Add New', 'user' ); ?></a> | 
                                                            
                                    | 216 |  | 	<?php } elseif ( is_multisite() && current_user_can( 'promote_users' ) ) { ?> | 
                                                            
                                    | 217 |  | 		<a href="user-new.php" class="page-title-action"><?php echo esc_html_x( 'Add Existing', 'user' ); ?></a> | 
                                                            
                                    | 218 |  | 	<?php } | 
                                                            
                                    | 219 |  | } | 
                                                            
                                    | 220 |  | ?> | 
                                                            
                                    | 221 |  |  |