Make WordPress Core


Ignore:
Timestamp:
11/15/2021 10:16:32 PM (3 years ago)
Author:
joedolson
Message:

Commit Standards: Revert [52168] to correct commit message.

Used incorrect commit message..

Follow up to [52168].

See #42937.

File:
1 edited

Legend:

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

    r52168 r52169  
    11031103    $parents = ob_get_clean();
    11041104
    1105     require ABSPATH . 'wp-admin/includes/edit-tag-messages.php';
    1106 
    1107     $message = '';
    1108     if ( isset( $messages[ $tax->name ][1] ) ) {
    1109         $message = $messages[ $tax->name ][1];
    1110     } elseif ( isset( $messages['_item'][1] ) ) {
    1111         $message = $messages['_item'][1];
    1112     }
    1113 
    11141105    $x->add(
    11151106        array(
    11161107            'what'         => 'taxonomy',
    1117             'data'         => $message,
    11181108            'supplemental' => compact( 'parents', 'noparents' ),
    11191109        )
Note: See TracChangeset for help on using the changeset viewer.