Changeset 57181 for trunk/src/wp-admin/includes/media.php
- Timestamp:
- 12/11/2023 12:09:42 PM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/media.php
r56549 r57181 528 528 * by adding it to the function signature. 529 529 * 530 * @global int$body_id530 * @global string $body_id 531 531 * 532 532 * @param callable $content_func Function that outputs the content. … … 534 534 */ 535 535 function wp_iframe( $content_func, ...$args ) { 536 global $body_id; 537 536 538 _wp_admin_html_begin(); 537 539 ?> … … 604 606 $body_id_attr = ''; 605 607 606 if ( isset( $ GLOBALS['body_id']) ) {607 $body_id_attr = ' id="' . $ GLOBALS['body_id']. '"';608 if ( isset( $body_id ) ) { 609 $body_id_attr = ' id="' . $body_id . '"'; 608 610 } 609 611
Note: See TracChangeset
for help on using the changeset viewer.