mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Posts, Post Types: Simplify test_setup_postdata_loop()
.
The important part here is calling `the_content()` after setting up post data for another post without updating global `$post`. The `foreach()` loop is not necessary. Follow-up to [UT1289]. See #47824, #24330. Built from https://develop.svn.wordpress.org/trunk@48113 git-svn-id: http://core.svn.wordpress.org/trunk@47882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
88f54b22ba
commit
08d4e7dd69
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.5-alpha-48112';
|
$wp_version = '5.5-alpha-48113';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user