Ticket #44840: 44840.patch
File 44840.patch, 440 bytes (added by , 6 years ago) |
---|
-
src/wp-includes/post-formats.php
diff --git a/src/wp-includes/post-formats.php b/src/wp-includes/post-formats.php index eb6fef0380..4c27ab6e5b 100644
a b 15 15 * @return string|false The format if successful. False otherwise. 16 16 */ 17 17 function get_post_format( $post = null ) { 18 if ( ! $post = get_post( $post ) ) { 18 $post = get_post( $post ); 19 if ( ! $post ) { 19 20 return false; 20 21 } 21 22