WordPress.org

Make WordPress Core

Ticket #12563: 12563.3.diff

File 12563.3.diff, 4.4 KB (added by welcher, 3 years ago)

Adding docs and whitespace

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

    diff --git src/wp-content/themes/twentyeleven/header.php src/wp-content/themes/twentyeleven/header.php
    index f9be4f52e0..2b7f5b35eb 100644
     
    6868</head>
    6969
    7070<body <?php body_class(); ?>>
     71<?php wp_body_open(); ?>
    7172<div id="page" class="hfeed">
    7273        <header id="branding" role="banner">
    7374                        <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 28de34ed9f..1698d6b734 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 7286d88938..d1318d628a 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 d230c4f8db..083e18c9e0 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 1ff063b8f0..94a9f1e916 100644
     
    5555</head>
    5656
    5757<body <?php body_class(); ?>>
     58<?php wp_body_open(); ?>
    5859<div id="wrapper" class="hfeed">
    5960        <div id="header">
    6061                <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 094f74cc9f..3af541e013 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 c3b99d6f3d..c8dc7eea51 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>
     
    5051                <?php endif; ?>
    5152        </header><!-- #masthead -->
    5253
    53         <div id="main" class="wrapper">
    54  No newline at end of file
     54        <div id="main" class="wrapper">
  • src/wp-includes/general-template.php

    diff --git src/wp-includes/general-template.php src/wp-includes/general-template.php
    index 915aea540e..22d133b3f6 100644
    function wp_footer() { 
    26312631}
    26322632
    26332633/**
     2634 * Fire the wp_body_open action
     2635 *
     2636 * * See {@see 'wp_body_open'}.
     2637 *
     2638 * @since 5.0
     2639 */
     2640function wp_body_open() {
     2641        /**
     2642         * Allows access to templates after the opening <body> tag.
     2643         *
     2644         * @since 5.0
     2645         */
     2646        do_action( 'wp_body_open' );
     2647}
     2648
     2649/**
    26342650 * Display the links to the general feeds.
    26352651 *
    26362652 * @since 2.8.0