Changeset 24146
- Timestamp:
- 04/30/2013 11:48:18 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post-formats.php
r24129 r24146 950 950 * @access private 951 951 */ 952 function _post_formats_title( $title, $post_id ) {953 if ( is_admin() || is_feed() || ! in_array( get_post_format( $post_id ), array( 'aside', 'status' ) ) )952 function _post_formats_title( $title, $post_id = 0 ) { 953 if ( ! $post_id || is_admin() || is_feed() || ! in_array( get_post_format( $post_id ), array( 'aside', 'status' ) ) ) 954 954 return $title; 955 955
Note: See TracChangeset
for help on using the changeset viewer.