Make WordPress Core

Ticket #12828: 12828.patch

File 12828.patch, 1.6 KB (added by ocean90, 15 years ago)
  • wp-admin/includes/template.php

     
    34913491if ( get_user_setting('mfold') == 'f' )
    34923492        $admin_body_class .= ' folded';
    34933493?>
     3494<style type="text/css">
     3495/* fix for scrollbar in iframe*/
     3496html, body {
     3497height: 98%;
     3498}
     3499</style>
    34943500</head>
    34953501<body<?php if ( isset($GLOBALS['body_id']) ) echo ' id="' . $GLOBALS['body_id'] . '"'; ?>  class="wp-admin no-js<?php echo apply_filters( 'admin_body_class', '' ) . " $admin_body_class"; ?>">
    34963502<script type="text/javascript">
  • wp-admin/update-core.php

     
    418418        echo '<div class="wrap">';
    419419        screen_icon('plugins');
    420420        echo '<h2>' . esc_html__('Update Plugins') . '</h2>';
    421         echo "<iframe src='$url' style='width: 100%; height:100%; min-height:850px;'></iframe>";
     421        echo "<iframe src='$url' style='width: 100%; height:100%; min-height:500px' frameborder='0'></iframe>";
    422422        echo '</div>';
    423423} elseif ( 'do-theme-upgrade' == $action ) {
    424424        check_admin_referer('upgrade-core');
     
    441441        echo '<div class="wrap">';
    442442        screen_icon('themes');
    443443        echo '<h2>' . esc_html__('Update Themes') . '</h2>';
    444         echo "<iframe src='$url' style='width: 100%; height:100%; min-height:850px;'></iframe>";
     444        echo "<iframe src='$url' style='width: 100%; height:100%; min-height:500px;' frameborder='0'></iframe>";
    445445        echo '</div>';
    446446}
    447447