Changeset 52169 for trunk/src/wp-admin/includes/ajax-actions.php
- Timestamp:
- 11/15/2021 10:16:32 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ajax-actions.php
r52168 r52169 1103 1103 $parents = ob_get_clean(); 1104 1104 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 1114 1105 $x->add( 1115 1106 array( 1116 1107 'what' => 'taxonomy', 1117 'data' => $message,1118 1108 'supplemental' => compact( 'parents', 'noparents' ), 1119 1109 )
Note: See TracChangeset
for help on using the changeset viewer.