Merged in feature/81-dev-dev01 (pull request #5)
auto-patch 81-dev-dev01-2023-12-05T22_45_26 * auto-patch 81-dev-dev01-2023-12-05T22_45_26
This commit is contained in:
@@ -638,7 +638,7 @@ function wp_iframe( $content_func, ...$args ) {
|
||||
*/
|
||||
function media_buttons( $editor_id = 'content' ) {
|
||||
static $instance = 0;
|
||||
$instance++;
|
||||
++$instance;
|
||||
|
||||
$post = get_post();
|
||||
|
||||
@@ -2083,13 +2083,11 @@ function media_upload_header() {
|
||||
*
|
||||
* @global string $type
|
||||
* @global string $tab
|
||||
* @global bool $is_IE
|
||||
* @global bool $is_opera
|
||||
*
|
||||
* @param array $errors
|
||||
*/
|
||||
function media_upload_form( $errors = null ) {
|
||||
global $type, $tab, $is_IE, $is_opera;
|
||||
global $type, $tab;
|
||||
|
||||
if ( ! _device_can_upload() ) {
|
||||
echo '<p>' . sprintf(
|
||||
|
||||
Reference in New Issue
Block a user