Changeset 31681 for trunk/src/wp-admin/plugins.php
- Timestamp:
- 03/09/2015 02:10:36 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/plugins.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/plugins.php
r31333 r31681 322 322 <?php submit_button( $data_to_delete ? __( 'Yes, Delete these files and data' ) : __( 'Yes, Delete these files' ), 'button', 'submit', false ); ?> 323 323 </form> 324 <form method="post" action="<?php echo esc_url(wp_get_referer()); ?>" style="display:inline;"> 324 <?php 325 $referer = wp_get_referer(); 326 ?> 327 <form method="post" action="<?php echo $referer ? esc_url( $referer ) : ''; ?>" style="display:inline;"> 325 328 <?php submit_button( __( 'No, Return me to the plugin list' ), 'button', 'submit', false ); ?> 326 329 </form>
Note: See TracChangeset
for help on using the changeset viewer.