Remove unused global. Props ocean90. fixes #18484

git-svn-id: http://svn.automattic.com/wordpress/trunk@18605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2011-08-25 19:35:22 +00:00
parent 14da950982
commit 19c3608dcc
1 changed files with 1 additions and 1 deletions

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++;