Remove the_post_format_gallery(). see #24452.
git-svn-id: http://core.svn.wordpress.org/trunk@24570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
26873abe38
commit
8c9c035d94
|
@ -2242,15 +2242,6 @@ function get_post_gallery( $post_id = 0, $html = true ) {
|
|||
return reset( $data );
|
||||
}
|
||||
|
||||
/**
|
||||
* Output the first gallery in the current (@global) $post
|
||||
*
|
||||
* @since 3.6.0
|
||||
*/
|
||||
function the_post_format_gallery() {
|
||||
echo get_post_gallery();
|
||||
}
|
||||
|
||||
/**
|
||||
* Check a post's content for galleries and return the image srcs for the first found gallery
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue