Make WordPress Core

Changeset 56663


Ignore:
Timestamp:
09/22/2023 06:17:44 PM (7 months ago)
Author:
joedolson
Message:

Administration: Remove duplicate wp_admin_notice() call.

Remove duplicate success message displayed in wp-admin/upload.php. Follow up to [56573].

Props davidbinda.
See #57791.

File:
1 edited

Legend:

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

    r56590 r56663  
    220220
    221221        <?php
    222         if ( ! empty( $message ) ) {
    223             wp_admin_notice(
    224                 $message,
    225                 array(
    226                     'id'                 => 'message',
    227                     'additional_classes' => array( 'updated' ),
    228                     'dismissible'        => true,
    229                 )
    230             );
    231         }
    232 
    233222        if ( ! empty( $message ) ) {
    234223            wp_admin_notice(
Note: See TracChangeset for help on using the changeset viewer.