Make WordPress Core

Changeset 56410


Ignore:
Timestamp:
08/17/2023 09:34:21 PM (3 years ago)
Author:
joedolson
Message:

Administration: Invalid argument passed in additional_classes.

Fix additional_classes argument passed as a string instead of an array. Follow up to [56409].

Props joedolson.
See #57791.

File:
1 edited

Legend:

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

    r56409 r56410  
    446446                $notice_args    = array(
    447447                        'type'               => 'warning',
    448                         'additional_classes' => 'inline',
     448                        'additional_classes' => array( 'inline' ),
    449449                );
    450450
Note: See TracChangeset for help on using the changeset viewer.