Make WordPress Core

Changeset 57084


Ignore:
Timestamp:
11/08/2023 11:04:14 AM (13 months ago)
Author:
SergeyBiryukov
Message:

Administration: Fix typos in wp_admin_notice() arguments in a few instances.

Follow-up to [56570], [56599].

Props dlh, mukesh27, sumitbagthariya16.
Fixes #59830.

Location:
trunk/src/wp-admin
Files:
3 edited

Legend:

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

    r56599 r57084  
    10191019            $upload_directory_error,
    10201020            array(
    1021                 'additonal_classes' => array( 'error' ),
    1022                 'paragraph_wrap'    => false,
     1021                'additional_classes' => array( 'error' ),
     1022                'paragraph_wrap'     => false,
    10231023            )
    10241024        );
  • trunk/src/wp-admin/includes/update.php

    r56599 r57084  
    346346        $msg,
    347347        array(
    348             'type'              => 'warning',
    349             'additonal_classes' => array( 'update-nag', 'inline' ),
    350             'paragraph_wrap'    => false,
     348            'type'               => 'warning',
     349            'additional_classes' => array( 'update-nag', 'inline' ),
     350            'paragraph_wrap'     => false,
    351351        )
    352352    );
  • trunk/src/wp-admin/theme-editor.php

    r56600 r57084  
    196196        array(
    197197            'id'                 => 'message',
    198             'is-dismissible'     => true,
     198            'dismissible'        => true,
    199199            'additional_classes' => array( 'updated' ),
    200200        )
Note: See TracChangeset for help on using the changeset viewer.