Remove unused global. Props ocean90. fixes #18484

git-svn-id: https://develop.svn.wordpress.org/trunk@18605 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2011-08-25 19:35:22 +00:00
parent 83a1dfb6b5
commit aee898a1e7

View File

@ -756,7 +756,7 @@ add_shortcode('gallery', 'gallery_shortcode');
* @return string HTML content to display gallery.
*/
function gallery_shortcode($attr) {
global $post, $wp_locale;
global $post;
static $instance = 0;
$instance++;