Remove the_post_format_gallery(). see #24452.
git-svn-id: https://develop.svn.wordpress.org/trunk@24570 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f89a4f5b21
commit
38e7f8d441
@ -2242,15 +2242,6 @@ function get_post_gallery( $post_id = 0, $html = true ) {
|
|||||||
return reset( $data );
|
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
|
* Check a post's content for galleries and return the image srcs for the first found gallery
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user