WordPress.org

Make WordPress Core

Ticket #25603: 25603.4.diff

File 25603.4.diff, 11.0 KB (added by nacin, 6 years ago)
  • wp-admin/about.php

     
    1919
    2020<h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1>
    2121
    22 <div class="about-text"><?php printf( __( 'Thank you for updating to the latest version. WordPress %s makes your writing experience even better.' ), $display_version ); ?></div>
     22<div class="about-text"><?php printf( __( 'Thank you for updating to WordPress 3.7. You might not notice a thing, and we&#8217;re okay with that.' ), $display_version ); ?></div>
    2323
    2424<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
    2525
     
    3434</h2>
    3535
    3636<div class="changelog">
    37         <h3><?php _e( 'Colorful New Theme' ); ?></h3>
     37        <h3><?php _e( 'Background Updates' ); ?></h3>
    3838
    39         <div class="feature-section images-stagger-right">
    40                 <img alt="" src="<?php echo is_ssl() ? 'https://' : '//s.'; ?>wordpress.org/images/core/3.6/twentythirteen.png" class="image-66" />
    41                 <h4><?php _e( 'Introducing Twenty Thirteen' ); ?></h4>
    42                 <p><?php printf( __( "The new default theme puts focus on your content with a colorful, single-column design made for media-rich blogging." ) ); ?></p>
    43                 <p><?php _e( 'Inspired by modern art, Twenty Thirteen features quirky details, beautiful typography, and bold, high-contrast colors &mdash; all with a flexible layout that looks great on any device, big or small.' ); ?></p>
     39        <div class="feature-section col two-col">
     40                <div>
     41                        <h4><?php _e( 'Updates While You Sleep' ); ?></h4>
     42                        <img class="mel" src="update.png" />
     43                        <p><?php _e( 'With WordPress 3.7, you don’t have to lift a finger to apply maintenance and security updates. Most sites are now able to apply these updates automatically, in the background.' ); ?></p>
     44                        <p class="about-notice"><?php _e( 'Yes, your site will apply future security updates automatically.' ); ?></p>
     45                        <p><em>(or)</em></p>
     46                        <div class="error inline" style="display:block !important; float: none; width: auto; margin-right: 0"><p>
     47                                <?php printf( __( 'Sorry, your site is unable to update automatically, but when there is a new security release %s will be emailed.' ), esc_html( get_site_option( 'admin_email' ) ) ); ?>
     48                        </p></div>
     49                </div>
     50                <div class="last-feature">
     51                        <h4><?php _e( 'More Reliable Than Ever' ); ?></h4>
     52                        <p><?php _e( "The update process has been made much more secure and reliable, with dozens of new checks and safeguards." ); ?></p>
     53                        <p><?php _e( "You’ll still need to click “Update Now” once WordPress 3.8 is released, but we’ve never been more confident in that beautiful blue button." ); ?></p>
     54                </div>
    4455        </div>
    4556</div>
    4657
    4758<div class="changelog">
    48         <h3><?php _e( 'Write with Confidence' ); ?></h3>
     59        <h3><?php _e( 'Create Stronger Passwords' ); ?></h3>
    4960
    50         <div class="feature-section images-stagger-right">
    51                 <img alt="" src="<?php echo is_ssl() ? 'https://' : '//s.'; ?>wordpress.org/images/core/3.6/revisions.png" class="image-66" />
    52                 <h4><?php _e( 'Explore Revisions' ); ?></h4>
    53                 <p></p>
    54                 <p><?php _e( 'From the first word you write, WordPress saves every change. Each revision is always at your fingertips. Text is highlighted as you scroll through revisions at lightning speed, so you can see what changes have been made along the way.' ); ?></p>
    55                 <p><?php _e( 'It&#8217;s easy to compare two revisions from any point in time, and to restore a revision and go back to writing. Now you can be confident that no mistake is permanent.' ); ?></p>
    56         </div>
    57 
    5861        <div class="feature-section col two-col">
    5962                <div>
    60                         <h4><?php _e( 'Improved Autosaves' ); ?></h4>
    61                         <p><?php _e( 'Never lose a word you&#8217;ve written. Autosaving is now even better; whether your power goes out, your browser crashes, or you lose your internet connection, your content is safe.' ); ?></p>
     63                        <img class="mel" style="float:right; margin-right: 0" src="lock.png" />
     64                        <p style="margin-top: 0; margin-right: 109.563px"><?php _e( "Your password is your site’s first line of defense. It’s best to create passwords that are complex, long, unique, and esoteric. To that end, the password meter has been updated in WordPress 3.7 to recognize common mistakes that can weaken your password: dates, names, keyboard patterns (123456789), and even pop culture references. Try it out on the right." ); ?></p>
    6265                </div>
    6366                <div class="last-feature">
    64                         <h4><?php _e( 'Better Post Locking' ); ?></h4>
    65                         <p><?php _e( 'Always know who&#8217;s editing with live updates that appear in the list of posts. And if someone leaves for lunch with a post open, you can take over where they left off.' ); ?></p>
    66                 </div>
    67         </div>
    68 </div>
     67                        <?php wp_enqueue_script( 'user-profile' ); ?>
    6968
    70 <div class="changelog">
    71         <h3><?php _e( 'Support for Audio and Video' ); ?></h3>
     69                        <div class="about-password-meter" style="margin-top: 0">
     70                                <input type="password" id="pass1" size="25" value="" />
     71                                <p id="pass-strength-result"><?php _e( 'Strength indicator' ); ?></p>
     72                        </div>
    7273
    73         <div class="feature-section images-stagger-right">
    74                 <div class="video image-66"><?php
    75                         $sample_video = ( is_ssl() ? 'https://' : 'http://s.' ) . 'wordpress.org/images/core/3.6/sample-video';
    76                         $args = array(
    77                                 'mp4' => "$sample_video.mp4",
    78                                 'ogv' => "$sample_video.ogv",
    79                                 'width' => 625,
    80                                 'height' => 360,
    81                         );
    82                         // Opera 12 (Presto, pre-Chromium) fails to load ogv properly
    83                         // when combined with ME.js. Works fine in Opera 15.
    84                         // Don't serve ogv to Opera 12 to avoid complete brokeness.
    85                         if ( $GLOBALS['is_opera'] )
    86                                 unset( $args['ogv'] );
    87                         // Our current ME.js API is limited to shortcodes in posts.
    88                         echo wp_video_shortcode( $args );
    89                 ?></div>
    90                 <h4><?php _e( 'New Media Player' ); ?></h4>
    91                 <p><?php _e( 'Share your audio and video with the new built-in HTML5 media player. Upload files using the media manager and embed them in your posts.' ); ?></p>
    92 
    93                 <h4><?php _e( 'Embed Music from Spotify, Rdio, and SoundCloud' ); ?></h4>
    94                 <p><?php _e( 'Embed songs and albums from your favorite artists, or playlists you&#8217;ve mixed yourself. It&#8217;s as simple as pasting a URL into a post on its own line.' ); ?></p>
    95                 <p><?php printf( __( '(Love another service? Check out all of the <a href="%s">embeds</a> that WordPress supports.)' ), 'http://codex.wordpress.org/Embeds' ); ?></p>
     74                </div>
    9675        </div>
    9776</div>
    9877
    9978<div class="changelog">
    100         <h3><?php _e( 'Under the Hood' ); ?></h3>
    101 
    102         <div class="feature-section col three-col">
     79        <div class="feature-section col two-col">
    10380                <div>
    104                         <h4><?php _e( 'Audio/Video API' ); ?></h4>
    105                         <p><?php _e( 'The new audio/video APIs give developers access to powerful media metadata, like ID3 tags.' ); ?></p>
     81                        <h3><?php _e( 'Improved Search Results' ); ?></h3>
     82                        <img class="mel" src="search.png" />
     83                        <p><?php _e( 'Search results are now ordered by how well the search query matches a post, instead of ordered only by date. For example, when your search terms match a post title, that result will be pushed to the top.' ); ?></p>
    10684                </div>
    107                 <div>
    108                         <h4><?php _e( 'Semantic Markup' ); ?></h4>
    109                         <p><?php _e( 'Themes can now choose improved HTML5 markup for comment forms, search forms, and comment lists.' ); ?></p>
    110                 </div>
    11185                <div class="last-feature">
    112                         <h4><?php _e( 'JavaScript Utilities' ); ?></h4>
    113                         <p><?php _e( 'Handy JavaScript utilities ease common tasks like Ajax requests, templating, and Backbone view management.' ); ?></p>
     86                        <h3><?php _e( 'Better Global Support' ); ?></h3>
     87                        <img class="mel" src="global.png" />
     88                        <p><?php _e( 'Non-English versions of WordPress will receive faster and more complete translations. WordPress 3.7 adds support for automatically installing the right language files and keeping them up to date.' ); ?></p>
    11489                </div>
    11590        </div>
     91</div>
    11692
     93<div class="changelog">
     94        <h3><?php _e( 'Under the Hood' ); ?></h3>
     95
    11796        <div class="feature-section col three-col">
    11897                <div>
    119                         <h4><?php _e( 'Shortcode Improvements' ); ?></h4>
    120                         <p><?php _e( 'Search content for shortcodes with <code>has_shortcode()</code> and adjust shortcode attributes with a new filter.' ); ?></p>
     98                        <h4><?php _e( 'More Background Updates (Experimental)' ); ?></h4>
     99                        <p><?php _e( 'WordPress 3.7 comes with fine-grained update controls. Want WordPress to always update automatically, even for major feature releases? Want to always keep a certain plugin up to date in the background? Done and done.' ); ?></p>
    121100                </div>
    122101                <div>
    123                         <h4><?php _e( 'Revision Control' ); ?></h4>
    124                         <p><?php _e( 'Fine-grained revision controls allow you to keep a different number of revisions for each post type.' ); ?></p>
     102                        <h4><?php _e( 'Advanced Date Queries' ); ?></h4>
     103                        <p><?php _e( 'You can now query for posts within a date range, or that are older than or newer than a specific point in time. Or get really fancy: all posts written on Friday afternoons? Not&nbsp;a&nbsp;problem.' ); ?></p>
    125104                </div>
    126105                <div class="last-feature">
    127                         <h4><?php _e( 'External Libraries' ); ?></h4>
    128                         <p><?php
    129                                 /* translators: placeholders 2, 3 and 4 are version numbers */
    130                                 printf( __( 'New and updated libraries: <a href="%1$s">MediaElement.js</a>, jQuery %2$s, jQuery UI %3$s, jQuery Migrate, Backbone %4$s.' ), 'http://mediaelementjs.com/', '1.10.2', '1.10.3', '1.0' ); ?></p>
     106                        <h4><?php _e( 'Multisite Improvements' ); ?></h4>
     107                        <p><?php _e( '<code>wp_get_sites()</code> allows you to easily get an array of all the sites on your network without resorting to a direct database query &mdash; just one of many improvements to multisite in WordPress&nbsp;3.7.' ); ?></p>
    131108                </div>
    132         </div>
    133109</div>
    134110
    135111<div class="return-to-dashboard">
  • wp-admin/css/wp-admin.css

     
    57665766        display: none !important;
    57675767}
    57685768
     5769.about-wrap p.about-notice {
     5770        background-color: #ffffe0;
     5771        border: 1px solid #e6db55;
     5772        margin: 5px 0 15px;
     5773        padding: 0.4em 0.8em;
     5774        border-radius: 3px;
     5775        -webkit-border-radius: 3px;
     5776}
     5777
     5778.about-wrap .feature-section.two-col div.about-password-meter {
     5779        margin-top: 0.8em;
     5780        float: none;
     5781        width: 100%;
     5782}
     5783
     5784.about-wrap .about-password-meter input {
     5785        font-size: 250%;
     5786        width: 100%;
     5787}
     5788
     5789.about-wrap .about-password-meter #pass-strength-result {
     5790        width: 97.5%;
     5791        font-size: 150%;
     5792}
     5793
     5794.about-wrap #pass-strength-result {
     5795        font-weight: normal !important;
     5796}
     5797
     5798.about-wrap .feature-section img.mel {
     5799        border: 0;
     5800        box-shadow: none;
     5801        -webkit-box-shadow: none;
     5802        float: left;
     5803        width: 100px;
     5804        width: 100px;
     5805}
     5806
    57695807/* Typography */
    57705808
    57715809.about-wrap p {
  • wp-admin/js/password-strength-meter.js

     
    1414                        if ( ! $.isArray( blacklist ) )
    1515                                blacklist = [ blacklist.toString() ];
    1616
    17                         if (password1 != password2 && password2.length > 0)
     17                        if (password1 != password2 && password2 && password2.length > 0)
    1818                                return 5;
    1919
    2020                        var result = zxcvbn( password1, blacklist );