Make WordPress Core

Ticket #12563: 12563.2.diff

File 12563.2.diff, 4.3 KB (added by welcher, 6 years ago)

Updated patch

  • src/wp-content/themes/twentyeleven/header.php

    diff --git src/wp-content/themes/twentyeleven/header.php src/wp-content/themes/twentyeleven/header.php
    index 78e9264f85..b91f33587f 100644
    if ( is_singular() && get_option( 'thread_comments' ) ) { 
    7373</head>
    7474
    7575<body <?php body_class(); ?>>
     76<?php wp_body_open(); ?>
    7677<div id="page" class="hfeed">
    7778        <header id="branding" role="banner">
    7879                        <hgroup>
  • src/wp-content/themes/twentyfifteen/header.php

    diff --git src/wp-content/themes/twentyfifteen/header.php src/wp-content/themes/twentyfifteen/header.php
    index dfb281f342..8f1eda5893 100644
     
    2222</head>
    2323
    2424<body <?php body_class(); ?>>
     25<?php wp_body_open(); ?>
    2526<div id="page" class="hfeed site">
    2627        <a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'twentyfifteen' ); ?></a>
    2728
  • src/wp-content/themes/twentyfourteen/header.php

    diff --git src/wp-content/themes/twentyfourteen/header.php src/wp-content/themes/twentyfourteen/header.php
    index 3207e73574..f515879b78 100644
     
    3131</head>
    3232
    3333<body <?php body_class(); ?>>
     34<?php wp_body_open(); ?>
    3435<div id="page" class="hfeed site">
    3536        <?php if ( get_header_image() ) : ?>
    3637        <div id="site-header">
  • src/wp-content/themes/twentyseventeen/header.php

    diff --git src/wp-content/themes/twentyseventeen/header.php src/wp-content/themes/twentyseventeen/header.php
    index 27148be6d4..0ac11c30ec 100644
     
    2323</head>
    2424
    2525<body <?php body_class(); ?>>
     26<?php wp_body_open(); ?>
    2627<div id="page" class="site">
    2728        <a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'twentyseventeen' ); ?></a>
    2829
  • src/wp-content/themes/twentysixteen/header.php

    diff --git src/wp-content/themes/twentysixteen/header.php src/wp-content/themes/twentysixteen/header.php
    index cb88d6e027..dcb3be9b1b 100644
     
    2222</head>
    2323
    2424<body <?php body_class(); ?>>
     25<?php wp_body_open(); ?>
    2526<div id="page" class="site">
    2627        <div class="site-inner">
    2728                <a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'twentysixteen' ); ?></a>
  • src/wp-content/themes/twentyten/header.php

    diff --git src/wp-content/themes/twentyten/header.php src/wp-content/themes/twentyten/header.php
    index d62acee0d1..7339ec1144 100644
    if ( is_singular() && get_option( 'thread_comments' ) ) { 
    6060</head>
    6161
    6262<body <?php body_class(); ?>>
     63<?php wp_body_open(); ?>
    6364<div id="wrapper" class="hfeed">
    6465        <div id="header">
    6566                <div id="masthead">
  • src/wp-content/themes/twentythirteen/header.php

    diff --git src/wp-content/themes/twentythirteen/header.php src/wp-content/themes/twentythirteen/header.php
    index 8343d76af2..83de92b409 100644
     
    3131</head>
    3232
    3333<body <?php body_class(); ?>>
     34        <?php wp_body_open(); ?>
    3435        <div id="page" class="hfeed site">
    3536                <header id="masthead" class="site-header" role="banner">
    3637                        <a class="home-link" href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
  • src/wp-content/themes/twentytwelve/header.php

    diff --git src/wp-content/themes/twentytwelve/header.php src/wp-content/themes/twentytwelve/header.php
    index cbd555c31c..3cc7422b05 100644
     
    3232</head>
    3333
    3434<body <?php body_class(); ?>>
     35<?php wp_body_open(); ?>
    3536<div id="page" class="hfeed site">
    3637        <header id="masthead" class="site-header" role="banner">
    3738                <hgroup>
  • src/wp-includes/general-template.php

    diff --git src/wp-includes/general-template.php src/wp-includes/general-template.php
    index 4d39696eb7..3e314aa4c4 100644
    function wp_footer() { 
    26832683        do_action( 'wp_footer' );
    26842684}
    26852685
     2686/**
     2687 * Fire the wp_body_open action
     2688 *
     2689 * * See {@see 'wp_body_open'}.
     2690 *
     2691 * @since 5.0
     2692 */
     2693function wp_body_open() {
     2694        /**
     2695         * Allows access to templates after the opening <body> tag.
     2696         *
     2697         * @since 5.0
     2698         */
     2699        do_action( 'wp_body_open' );
     2700}
     2701
    26862702/**
    26872703 * Display the links to the general feeds.
    26882704 *