Ticket #11878: 11878.2.patch
File 11878.2.patch, 436 bytes (added by , 15 years ago) |
---|
-
wp-includes/post-template.php
304 304 * @return array Array of classes. 305 305 */ 306 306 function get_post_class( $class = '', $post_id = null ) { 307 if ( is_null($post_id) ) 308 $post_id = get_the_ID(); 309 307 310 $post = get_post($post_id); 308 311 309 312 $classes = array();