WordPress.org

Make WordPress Core

Changeset 48509


Ignore:
Timestamp:
07/19/2020 05:09:43 PM (14 months ago)
Author:
azaozz
Message:

Upgrade/install: Fix/clarify the "Upload in a zip format" string.

Props greenshady, mariovalney.
See #9757.

Location:
trunk/src/wp-admin/includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/plugin-install.php

    r48390 r48509  
    350350    ?>
    351351<div class="upload-plugin">
    352     <p class="install-help"><?php _e( 'If you have a plugin in a .zip format, you may install it by uploading it here.' ); ?></p>
     352    <p class="install-help"><?php _e( 'If you have a plugin in a .zip format, you may install or update it by uploading it here.' ); ?></p>
    353353    <form method="post" enctype="multipart/form-data" class="wp-upload-form" action="<?php echo self_admin_url( 'update.php?action=upload-plugin' ); ?>">
    354354        <?php wp_nonce_field( 'plugin-upload' ); ?>
  • trunk/src/wp-admin/includes/theme-install.php

    r48495 r48509  
    180180function install_themes_upload() {
    181181    ?>
    182 <p class="install-help"><?php _e( 'If you have a theme in a .zip format, you may install it by uploading it here.' ); ?></p>
     182<p class="install-help"><?php _e( 'If you have a theme in a .zip format, you may install or update it by uploading it here.' ); ?></p>
    183183<form method="post" enctype="multipart/form-data" class="wp-upload-form" action="<?php echo self_admin_url( 'update.php?action=upload-theme' ); ?>">
    184184    <?php wp_nonce_field( 'theme-upload' ); ?>
Note: See TracChangeset for help on using the changeset viewer.