WordPress.org

Make WordPress Core

Ticket #12563: body_open.diff

File body_open.diff, 1.6 KB (added by joostdevalk, 5 years ago)

Patch

  • wp-includes/general-template.php

     
    15651565} 
    15661566 
    15671567/** 
     1568 * Fire the wp_body_open action 
     1569 * 
     1570 * @since 3.1 
     1571 * @uses do_action() Calls 'wp_body_open' hook. 
     1572 */ 
     1573function wp_body_open() { 
     1574        do_action('wp_body_open'); 
     1575} 
     1576 
     1577/** 
    15681578 * Display the links to the general feeds. 
    15691579 * 
    15701580 * @since 2.8.0 
  • wp-content/themes/classic/header.php

     
    2323</head> 
    2424 
    2525<body <?php body_class(); ?>> 
     26<?php wp_body_open(); ?> 
    2627<div id="rap"> 
    2728<h1 id="header"><a href="<?php bloginfo('url'); ?>/"><?php bloginfo('name'); ?></a></h1> 
    2829 
  • wp-content/themes/twentyten/header.php

     
    2626</head> 
    2727 
    2828<body <?php body_class(); ?>> 
     29<?php wp_body_open(); ?> 
    2930<div id="wrapper" class="hfeed"> 
    3031        <div id="header"> 
    3132                <div id="masthead"> 
  • wp-content/themes/default/header.php

     
    3333<?php wp_head(); ?> 
    3434</head> 
    3535<body <?php body_class(); ?>> 
     36<?php wp_body_open(); ?> 
    3637<div id="page"> 
    3738 
    3839