WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/17/2010 06:47:34 PM (9 years ago)
Author:
ryan
Message:

Pinking shears

File:
1 edited

Legend:

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

    r16432 r16438  
    231231/**
    232232 * Preview fix for javascript bug with foreign languages
    233  * 
     233 *
    234234 * @since 3.1.0
    235235 * @access private
     
    238238 */
    239239function _convert_urlencoded_to_entities( $match ) {
    240     return '&#' . base_convert( $match[1], 16, 10 ) . ';'; 
     240    return '&#' . base_convert( $match[1], 16, 10 ) . ';';
    241241}
    242242
     
    328328    $classes[] = 'type-' . $post->post_type;
    329329    $classes[] = 'status-' . $post->post_status;
    330    
     330
    331331    // Post Format
    332332    $post_format = get_post_format( $post->ID );
     
    340340    if ( post_password_required($post->ID) )
    341341        $classes[] = 'post-password-required';
    342    
     342
    343343    // sticky for Sticky Posts
    344344    if ( is_sticky($post->ID) && is_home() && !is_paged() )
     
    429429        $classes[] = 'single-' . sanitize_html_class($post->post_type, $post_id);
    430430        $classes[] = 'postid-' . $post_id;
    431        
     431
    432432        // Post Format
    433433        $post_format = get_post_format( $post->ID );
Note: See TracChangeset for help on using the changeset viewer.