Make WordPress Core

Changeset 56590


Ignore:
Timestamp:
09/14/2023 10:08:27 PM (7 months ago)
Author:
joedolson
Message:

Administration: additional_classes is not a function.

Correct usage of additional_classes array parameter as if it were a function. Clearly, I'm getting tired and missing things. So many little changes. Follow up to [56573].

Props joedolson.
See #57791.

File:
1 edited

Legend:

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

    r56573 r56590  
    250250            $js_required_message,
    251251            array(
    252                 additional_classes( 'error', 'hide-if-js' ),
     252                'additional_classes' => array( 'error', 'hide-if-js' ),
    253253            )
    254254        );
Note: See TracChangeset for help on using the changeset viewer.