WordPress.org

Make WordPress Core

Changeset 10950


Ignore:
Timestamp:
04/16/2009 06:22:27 PM (9 years ago)
Author:
ryan
Message:

Add page class to get_boddy_class(). Props nathanrice. fixes #9514

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post-template.php

    r10947 r10950  
    411411        }
    412412    } elseif ( is_page() ) {
     413        $classes[] = 'page';
     414       
    413415        $wp_query->post = $wp_query->posts[0];
    414416        setup_postdata($wp_query->post);
Note: See TracChangeset for help on using the changeset viewer.