WordPress.org

Make WordPress Core

Ticket #48887: 48887.patch

File 48887.patch, 1.9 KB (added by ramiy, 4 months ago)
  • wp-admin/admin-header.php

     
    204204</head>
    205205<?php
    206206/**
     207 * Fire the admin_body_open action in all admin pages.
     208 *
     209 * @since 5.4.0
     210 */
     211do_action( 'admin_body_open' );
     212
     213/**
    207214 * Filters the CSS classes for the body tag in the admin.
    208215 *
    209216 * This filter differs from the {@see 'post_class'} and {@see 'body_class'} filters
  • wp-includes/theme-compat/header-embed.php

     
    3030        ?>
    3131</head>
    3232<body <?php body_class(); ?>>
     33<?php
     34/**
     35 * Fire the embed_body_open action in the embed template.
     36 *
     37 * @since 5.4.0
     38 */
     39do_action( 'embed_body_open' );
     40?>
     41 No newline at end of file
  • wp-includes/theme-compat/header.php

     
    4949<?php wp_head(); ?>
    5050</head>
    5151<body <?php body_class(); ?>>
     52<?php wp_body_open(); ?>
     53
    5254<div id="page">
    5355
    5456<div id="header" role="banner">
  • wp-login.php

     
    197197        ?>
    198198        </head>
    199199        <body class="login no-js <?php echo esc_attr( implode( ' ', $classes ) ); ?>">
     200        <?php
     201        /**
     202         * Fire the login_body_open action in the login page.
     203         *
     204         * @since 5.4.0
     205         */
     206        do_action( 'login_body_open' );
     207        ?>
    200208        <script type="text/javascript">
    201209                document.body.className = document.body.className.replace('no-js','js');
    202210        </script>