Changeset 56123
- Timestamp:
- 07/02/2023 08:02:45 AM (13 months ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/post.php
r56091 r56123 668 668 // Prevent wp_insert_post() from overwriting post format with the old data. 669 669 unset( $post_data['tax_input']['post_format'] ); 670 671 672 673 674 675 676 677 678 670 679 671 680 $post_id = wp_update_post( $post_data ); -
trunk/tests/phpunit/tests/admin/includesPost.php
r56091 r56123 292 292 $this->assertSame( 'aside', get_post_format( $post_ids[1] ) ); 293 293 $this->assertFalse( get_post_format( $post_ids[2] ) ); 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 294 360 } 295 361
Note: See TracChangeset
for help on using the changeset viewer.