Changeset 55276 for trunk/src/wp-admin/includes/plugin-install.php
- Timestamp:
- 02/07/2023 05:08:26 PM (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin-install.php
r55197 r55276 321 321 <form class="search-form search-plugins" method="get"> 322 322 <input type="hidden" name="tab" value="search" /> 323 <label class="screen-reader-text" for="typeselector"><?php _e( 'Search plugins by:' ); ?></label> 323 <label class="screen-reader-text" for="typeselector"> 324 <?php 325 /* translators: Hidden accessibility text. */ 326 _e( 'Search plugins by:' ); 327 ?> 328 </label> 324 329 <select name="type" id="typeselector"> 325 330 <option value="term"<?php selected( 'term', $type ); ?>><?php _e( 'Keyword' ); ?></option> … … 327 332 <option value="tag"<?php selected( 'tag', $type ); ?>><?php _ex( 'Tag', 'Plugin Installer' ); ?></option> 328 333 </select> 329 <label class="screen-reader-text" for="search-plugins"><?php _e( 'Search Plugins' ); ?></label> 334 <label class="screen-reader-text" for="search-plugins"> 335 <?php 336 /* translators: Hidden accessibility text. */ 337 _e( 'Search Plugins' ); 338 ?> 339 </label> 330 340 <input type="search" name="s" id="search-plugins" value="<?php echo esc_attr( $term ); ?>" class="wp-filter-search" placeholder="<?php esc_attr_e( 'Search plugins...' ); ?>" /> 331 341 <?php submit_button( __( 'Search Plugins' ), 'hide-if-js', false, false, array( 'id' => 'search-submit' ) ); ?> … … 345 355 <form method="post" enctype="multipart/form-data" class="wp-upload-form" action="<?php echo esc_url( self_admin_url( 'update.php?action=upload-plugin' ) ); ?>"> 346 356 <?php wp_nonce_field( 'plugin-upload' ); ?> 347 <label class="screen-reader-text" for="pluginzip"><?php _e( 'Plugin zip file' ); ?></label> 357 <label class="screen-reader-text" for="pluginzip"> 358 <?php 359 /* translators: Hidden accessibility text. */ 360 _e( 'Plugin zip file' ); 361 ?> 362 </label> 348 363 <input type="file" id="pluginzip" name="pluginzip" accept=".zip" /> 349 364 <?php submit_button( __( 'Install Now' ), '', 'install-plugin-submit', false ); ?>
Note: See TracChangeset
for help on using the changeset viewer.