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:
parent
83a1dfb6b5
commit
aee898a1e7
@ -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
Block a user