Make WordPress Core

Changeset 29512


Ignore:
Timestamp:
08/16/2014 10:00:00 AM (7 years ago)
Author:
ocean90
Message:

Use correct form name for translation updates.

props netweb.
fixes #28198.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/update-core.php

    r29206 r29512  
    346346    ?>
    347347    <h3><?php _e( 'Translations' ); ?></h3>
    348     <form method="post" action="<?php echo esc_url( $form_action ); ?>" name="upgrade-themes" class="upgrade">
     348    <form method="post" action="<?php echo esc_url( $form_action ); ?>" name="upgrade-translations" class="upgrade">
    349349        <p><?php _e( 'Some of your translations are out of date.' ); ?></p>
    350         <?php wp_nonce_field('upgrade-translations'); ?>
     350        <?php wp_nonce_field( 'upgrade-translations' ); ?>
    351351        <p><input class="button" type="submit" value="<?php esc_attr_e( 'Update Translations' ); ?>" name="upgrade" /></p>
    352352    </form>
Note: See TracChangeset for help on using the changeset viewer.