Make WordPress Core

Ticket #32194: 32194.2.diff

File 32194.2.diff, 1.3 KB (added by iandunn, 10 years ago)
  • src/wp-admin/css/edit.css

     
    15861586                font-size: 14px;
    15871587                padding: 0 10px 0 10px;
    15881588        }
     1589
     1590
     1591        /* Notification dialogs */
     1592        .notification-dialog {
     1593                left: auto;
     1594                width: auto;
     1595                margin-left: 1em;
     1596                margin-right: 1em;
     1597        }
     1598
     1599        #post-lock-dialog .post-locked-avatar {
     1600                display: none;
     1601        }
     1602
     1603        #post-lock-dialog .post-locking-author-name {
     1604                font-weight: bold;
     1605        }
     1606
     1607        #post-lock-dialog .post-locked-message a.button {
     1608                display: block;
     1609                margin-top: .75em;
     1610                text-align: center;
     1611        }
    15891612}
  • src/wp-admin/includes/post.php

     
    15191519                <?php
    15201520                        _e( 'This content is currently locked.' );
    15211521                        if ( $override )
    1522                                 printf( ' ' . __( 'If you take over, %s will be blocked from continuing to edit.' ), esc_html( $user->display_name ) );
     1522                                printf( ' ' . __( 'If you take over, <span class="post-locking-author-name">%s</span> will be blocked from continuing to edit.' ), esc_html( $user->display_name ) );
    15231523                ?>
    15241524                </p>
    15251525                <?php