Changeset 60203
- Timestamp:
- 04/28/2025 08:49:19 PM (10 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/fonts.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/fonts.php
r59286 r60203 220 220 } 221 221 222 $font_faces = get_children(222 $font_faces_ids = get_children( 223 223 array( 224 224 'post_parent' => $post_id, 225 225 'post_type' => 'wp_font_face', 226 'fields' => 'ids', 226 227 ) 227 228 ); 228 229 229 foreach ( $font_faces as $font_face) {230 wp_delete_post( $font_face ->ID, true );230 foreach ( $font_faces_ids as $font_faces_id ) { 231 wp_delete_post( $font_faces_id, true ); 231 232 } 232 233 }
Note: See TracChangeset
for help on using the changeset viewer.