Changeset 56710 for trunk/src/wp-includes/blocks/post-content.php
- Timestamp:
- 09/26/2023 02:20:18 PM (3 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/blocks/post-content.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks/post-content.php
r55246 r56710 35 35 36 36 $seen_ids[ $post_id ] = true; 37 38 // Check is needed for backward compatibility with third-party plugins39 // that might rely on the `in_the_loop` check; calling `the_post` sets it to true.40 if ( ! in_the_loop() && have_posts() ) {41 the_post();42 }43 37 44 38 // When inside the main loop, we want to use queried object
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)