Make WordPress Core

Changeset 56576 for trunk


Ignore:
Timestamp:
09/14/2023 05:48:41 AM (3 years ago)
Author:
costdev
Message:

Administration: Fix erroneous call to wp_admin().

In [56573], a typo caused wp_admin() to be called rather than wp_admin_notice().

This fixes the typo to correctly call wp_admin_notice().

Follow-up to [56573].

Props takayukister.
See #57791.

File:
1 edited

Legend:

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

    r56573 r56576  
    412412                }
    413413
    414                 wp_admin(
     414                wp_admin_notice(
    415415                        implode( "<br />\n", $messages ),
    416416                        array(
Note: See TracChangeset for help on using the changeset viewer.