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:
parent
14da950982
commit
19c3608dcc
|
@ -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++;
|
||||
|
|
Loading…
Reference in New Issue