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