Changeset 16438 for trunk/wp-includes/post-template.php
- Timestamp:
- 11/17/2010 06:47:34 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post-template.php
r16432 r16438 231 231 /** 232 232 * Preview fix for javascript bug with foreign languages 233 * 233 * 234 234 * @since 3.1.0 235 235 * @access private … … 238 238 */ 239 239 function _convert_urlencoded_to_entities( $match ) { 240 return '&#' . base_convert( $match[1], 16, 10 ) . ';'; 240 return '&#' . base_convert( $match[1], 16, 10 ) . ';'; 241 241 } 242 242 … … 328 328 $classes[] = 'type-' . $post->post_type; 329 329 $classes[] = 'status-' . $post->post_status; 330 330 331 331 // Post Format 332 332 $post_format = get_post_format( $post->ID ); … … 340 340 if ( post_password_required($post->ID) ) 341 341 $classes[] = 'post-password-required'; 342 342 343 343 // sticky for Sticky Posts 344 344 if ( is_sticky($post->ID) && is_home() && !is_paged() ) … … 429 429 $classes[] = 'single-' . sanitize_html_class($post->post_type, $post_id); 430 430 $classes[] = 'postid-' . $post_id; 431 431 432 432 // Post Format 433 433 $post_format = get_post_format( $post->ID );
Note: See TracChangeset
for help on using the changeset viewer.