WordPress.org

Make WordPress Core

Changeset 20944


Ignore:
Timestamp:
05/27/2012 04:25:43 PM (10 years ago)
Author:
ryan
Message:

Shears of vigorous pinking.

Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/about.php

    r20879 r20944  
    4949<div class="changelog">
    5050    <h3><?php _e( 'Custom Headers' ); ?></h3>
    51    
     51
    5252    <div class="feature-section">
    5353        <h4><?php _e( 'Flexible Sizes' ); ?></h4>
     
    8383            <h4><?php _e( 'Themes API' ); ?></h4>
    8484            <p><?php _e( 'WP_Theme, wp_get_themes(), wp_get_theme(). Faster, uses less memory, makes use of persistent caching.' ); ?></p>
    85            
     85
    8686            <h4><?php _e( 'Faster Main Query' ); ?></h4>
    8787            <p><?php _e( 'Post query optimized to avoid table scans.' ); ?></p>
     
    9090            <h4><?php _e( 'Custom Header and Background API' ); ?></h4>
    9191            <p><?php  _e( 'Custom header and background API relocated into the theme support API.' ); ?></p>
    92            
     92
    9393            <h4><?php _e( 'Faster Translations' ); ?></h4>
    9494            <p><?php _e( 'The number of strings loaded on the front end was greatly reduced, resulting in faster front page load times for localized installations.' ); ?></p>
     
    9797            <h4><?php _e( 'WP_Screen API' ); ?></h4>
    9898            <p><?php _e( 'More methods, more convenience!' ); ?></p>
    99            
     99
    100100            <h4><?php _e( 'External Libraries' ); ?></h4>
    101101            <p><?php _e( 'jQuery, jQuery UI, TinyMCE, Plupload, PHPMailer, SimplePie, and other libraries were updated. jQuery UI Touch Punch was introduced.' ); ?></p>
  • trunk/wp-admin/custom-header.php

    r20885 r20944  
    112112                '<p>' . __( 'You can choose from the theme&#8217;s default header images, or use one of your own. You can also customize how your Site Title and Tagline are displayed.') . '<p>'
    113113        ) );
    114        
     114
    115115        get_current_screen()->add_help_tab( array(
    116116            'id'      => 'set-header-image',
     
    122122                '<p>' . __( 'If you don&#8217;t want a header image to be displayed on your site at all, click the &#8220;Remove Header Image&#8221; button at the bottom of the Header Image section of this page. If you want to re-enable the header image later, you just have to select one of the other image options and click &#8220;Save Changes&#8221;.') . '</p>'
    123123        ) );
    124        
     124
    125125        get_current_screen()->add_help_tab( array(
    126126            'id'      => 'set-header-text',
  • trunk/wp-admin/includes/image.php

    r20808 r20944  
    441441function _copy_image_file( $attachment_id ) {
    442442    $dst_file = $src_file = get_attached_file( $attachment_id );
    443     if ( ! file_exists( $src_file ) ) 
     443    if ( ! file_exists( $src_file ) )
    444444        $src_file = _load_image_to_edit_path( $attachment_id );
    445445
    446446    if ( $src_file ) {
    447447        $dst_file = str_replace( basename( $dst_file ), 'copy-' . basename( $dst_file ), $dst_file );
    448         $dst_file = dirname( $dst_file ) . '/' . wp_unique_filename( dirname( $dst_file ), basename( $dst_file ) ); 
     448        $dst_file = dirname( $dst_file ) . '/' . wp_unique_filename( dirname( $dst_file ), basename( $dst_file ) );
    449449        if ( ! @copy( $src_file, $dst_file ) )
    450450            $dst_file = false;
  • trunk/wp-admin/js/custom-background.dev.js

    r20901 r20944  
    1717
    1818    $(document).ready(function() {
    19    
     19
    2020        $('#pickcolor').click(function() {
    2121            $('#colorPickerDiv').show();
    2222            return false;
    2323        });
    24    
     24
    2525        $('#clearcolor a').click( function(e) {
    2626            pickColor( $('#defaultcolor').val(), true );
    2727            e.preventDefault();
    2828        });
    29    
     29
    3030        $('#background-color').keyup(function() {
    3131            var _hex = $('#background-color').val(), hex = _hex;
     
    3838                pickColor( hex );
    3939        });
    40    
     40
    4141        $('input[name="background-position-x"]').change(function() {
    4242            $('#custom-background-image').css('background-position', $(this).val() + ' top');
    4343        });
    44    
     44
    4545        $('input[name="background-repeat"]').change(function() {
    4646            $('#custom-background-image').css('background-repeat', $(this).val());
    4747        });
    48    
     48
    4949        farbtastic = $.farbtastic('#colorPickerDiv', function(color) {
    5050            pickColor(color);
    5151        });
    5252        pickColor($('#background-color').val());
    53    
     53
    5454        $(document).mousedown(function(){
    5555            $('#colorPickerDiv').each(function(){
  • trunk/wp-admin/theme-install.php

    r20736 r20944  
    3737do_action('install_themes_pre_' . $tab); //Used to override the general interface, Eg, install or theme information.
    3838
    39 $help_overview = 
     39$help_overview =
    4040    '<p>' . sprintf(__('You can find additional themes for your site by using the Theme Browser/Installer on this screen, which will display themes from the <a href="%s" target="_blank">WordPress.org Theme Directory</a>. These themes are designed and developed by third parties, are available free of charge, and are compatible with the license WordPress uses.'), 'http://wordpress.org/extend/themes/') . '</p>' .
    4141    '<p>' . __('You can Search for themes by keyword, author, or tag, or can get more specific and search by criteria listed in the feature filter. Alternately, you can browse the themes that are Featured, Newest, or Recently Updated. When you find a theme you like, you can preview it or install it.') . '</p>' .
  • trunk/wp-includes/formatting.php

    r20859 r20944  
    21442144    $original_text = $text;
    21452145    $text = wp_strip_all_tags( $text );
    2146     /* translators: If your word count is based on single characters (East Asian characters), 
    2147        enter 'characters'. Otherwise, enter 'words'. Do not translate into your own language. */ 
     2146    /* translators: If your word count is based on single characters (East Asian characters),
     2147       enter 'characters'. Otherwise, enter 'words'. Do not translate into your own language. */
    21482148    if ( 'characters' == _x( 'words', 'word count: words or characters?' ) && preg_match( '/^utf\-?8$/i', get_option( 'blog_charset' ) ) ) {
    21492149        $text = trim( preg_replace( "/[\n\r\t ]+/", ' ', $text ), ' ' );
  • trunk/wp-includes/link-template.php

    r20828 r20944  
    22022202 *
    22032203 * @since 3.4.0
    2204  * 
     2204 *
    22052205 * @param string $url Absolute url that includes a scheme
    22062206 * @param string $scheme Optional. Scheme to give $url. Currently 'http', 'https', 'login', 'login_post', 'admin', or 'relative'.
Note: See TracChangeset for help on using the changeset viewer.