mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 06:57:35 +01:00
Press This: don't check for already-hoisted global in press-this.php
.
See #37699. Built from https://develop.svn.wordpress.org/trunk@38466 git-svn-id: http://core.svn.wordpress.org/trunk@38407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0419d1e318
commit
69e7fe3c5b
@ -19,11 +19,5 @@ if ( ! current_user_can( 'edit_posts' ) || ! current_user_can( get_post_type_obj
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @global WP_Press_This $wp_press_this
|
||||
*/
|
||||
if ( empty( $GLOBALS['wp_press_this'] ) ) {
|
||||
$GLOBALS['wp_press_this'] = new WP_Press_This();
|
||||
}
|
||||
|
||||
$GLOBALS['wp_press_this']->html();
|
||||
$wp_press_this = new WP_Press_This();
|
||||
$wp_press_this->html();
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.7-alpha-38465';
|
||||
$wp_version = '4.7-alpha-38466';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user