WordPress.org

Make WordPress Core

Ticket #17144: 17144.quickpress.patch

File 17144.quickpress.patch, 1.1 KB (added by SergeyBiryukov, 7 years ago)
  • wp-admin/css/dashboard.dev.css

     
    280280        clear: both;
    281281        font-weight: normal;
    282282        text-align: right;
    283         padding-top: 5px;
     283        padding-top: 4px;
    284284        font-size: 12px;
    285285}
    286286
     
    302302}
    303303
    304304#dashboard_quick_press #media-buttons a {
     305        padding: 0 0 5px 10px;
    305306        vertical-align: bottom;
    306307}
    307308
     309#dashboard_quick_press #media-buttons img {
     310        vertical-align: middle;
     311}
     312
    308313#dashboard-widgets #dashboard_quick_press form p.submit {
    309314        margin-left: 4.6em;
    310315}
  • wp-admin/includes/dashboard.php

     
    532532
    533533                <?php if ( current_user_can( 'upload_files' ) ) : ?>
    534534                <div id="media-buttons" class="hide-if-no-js">
    535                         <?php do_action( 'media_buttons' ); ?>
     535                        <?php do_action( 'media_buttons', 'content' ); ?>
    536536                </div>
    537537                <?php endif; ?>
    538538