WordPress.org

Make WordPress Core

Changeset 18254


Ignore:
Timestamp:
06/10/2011 11:01:45 PM (10 years ago)
Author:
ryan
Message:

Bring out the pinking shears.

Location:
trunk
Files:
22 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/css/dashboard-rtl.dev.css

    r17941 r18254  
    4242}
    4343#dashboard_plugins .inside span {
    44      padding-left: 0; 
    45      padding-right: 5px; 
     44     padding-left: 0;
     45     padding-right: 5px;
    4646}
    4747#dashboard-widgets h3 .postbox-title-action {
  • trunk/wp-admin/css/nav-menu-rtl.dev.css

    r17941 r18254  
    9292/* Button Secondary Actions */
    9393.list-controls {
    94      float: right; 
     94     float: right;
    9595}
    9696.add-to-menu {
  • trunk/wp-admin/includes/class-wp-list-table.php

    r18222 r18254  
    289289        echo "<select name='action$two'>\n";
    290290        echo "<option value='-1' selected='selected'>" . __( 'Bulk Actions' ) . "</option>\n";
    291        
     291
    292292        foreach ( $this->_actions as $name => $title ) {
    293293            $class = 'edit' == $name ? ' class="hide-if-no-js"' : '';
  • trunk/wp-admin/includes/class-wp-ms-users-list-table.php

    r18090 r18254  
    193193                                }
    194194
    195                                 $actions = apply_filters( 'ms_user_row_actions', $actions, $user ); 
     195                                $actions = apply_filters( 'ms_user_row_actions', $actions, $user );
    196196                                echo $this->row_actions( $actions );
    197197                            ?>
  • trunk/wp-admin/includes/class-wp-plugins-list-table.php

    r18093 r18254  
    3232        ) );
    3333    }
    34    
     34
    3535    function get_table_classes() {
    3636        return array( 'widefat', $this->_args['plural'] );
  • trunk/wp-admin/includes/dashboard.php

    r18228 r18254  
    10591059        ob_start();
    10601060        call_user_func_array( $callback, $args );
    1061         set_transient( $cache_key, ob_get_flush(), 43200); // Default lifetime in cache of 12 hours (same as the feeds)     
     1061        set_transient( $cache_key, ob_get_flush(), 43200); // Default lifetime in cache of 12 hours (same as the feeds)
    10621062    }
    10631063
  • trunk/wp-admin/includes/post.php

    r18137 r18254  
    15821582        'extended_valid_elements' => 'article[*],aside[*],audio[*],canvas[*],command[*],datalist[*],details[*],embed[*],figcaption[*],figure[*],footer[*],header[*],hgroup[*],keygen[*],mark[*],meter[*],nav[*],output[*],progress[*],section[*],source[*],summary,time[*],video[*],wbr',
    15831583        'wpeditimage_disable_captions' => $no_captions,
    1584         'wp_fullscreen_content_css' => "$baseurl/plugins/wpfullscreen/css/wp-fullscreen.css", 
     1584        'wp_fullscreen_content_css' => "$baseurl/plugins/wpfullscreen/css/wp-fullscreen.css",
    15851585        'plugins' => implode( ',', $plugins ),
    15861586    );
     
    17391739function wp_quicktags() {
    17401740    global $tinymce_version;
    1741    
     1741
    17421742    wp_preload_dialogs( array( 'plugins' => 'wpdialogs,wplink,wpfullscreen' ) );
    1743    
     1743
    17441744    if ( !user_can_richedit() ) {
    17451745        wp_enqueue_style( 'tinymce-buttons', includes_url('js/tinymce/themes/advanced/skins/wp_theme/ui.css'), array(), $tinymce_version );
     
    17941794
    17951795    foreach ( $buttons as $button => $args ) {
    1796         if ( 'separator' == $args ) { ?> 
     1796        if ( 'separator' == $args ) { ?>
    17971797            <div><span aria-orientation="vertical" role="separator" class="mceSeparator"></span></div>
    17981798<?php       continue;
  • trunk/wp-admin/includes/update-core.php

    r17736 r18254  
    250250 * The contents of this array indicate any new bundled plugins/themes which
    251251 * should be installed with the WordPress Upgrade. These items will not be
    252  * re-installed in future upgrades, this behaviour is controlled by the 
     252 * re-installed in future upgrades, this behaviour is controlled by the
    253253 * introduced version present here being older than the current installed version.
    254254 *
  • trunk/wp-admin/js/edit-comments.dev.js

    r18114 r18254  
    501501            pid = $('#comment-' + r.supplemental.parent_approved);
    502502            updatePending( getCount( $('span.pending-count').eq(0) ) - 1 );
    503            
     503
    504504            if ( this.comments_listing == 'moderated' ) {
    505505                pid.animate( { 'backgroundColor':'#CCEEBB' }, 400, function(){
     
    514514        id = $(id);
    515515        t.addEvents(id);
    516         bg = id.hasClass('unapproved') ? '#FFFFE0' : id.closest('.widefat').css('backgroundColor');         
     516        bg = id.hasClass('unapproved') ? '#FFFFE0' : id.closest('.widefat').css('backgroundColor');
    517517
    518518        id.animate( { 'backgroundColor':'#CCEEBB' }, 300 )
  • trunk/wp-admin/js/inline-edit-post.dev.js

    r18222 r18254  
    120120            $('tr.inline-editor textarea[name="tags_input"]').suggest( 'admin-ajax.php?action=ajax-tag-search&tax='+tax, { delay: 500, minchars: 2, multiple: true, multipleSep: ", " } );
    121121        }
    122         $('html, body').animate( { scrollTop: 0 }, 'fast' ); 
     122        $('html, body').animate( { scrollTop: 0 }, 'fast' );
    123123    },
    124124
  • trunk/wp-admin/js/media-upload.dev.js

    r17701 r18254  
    5959
    6060    // store caret position in IE
    61     $(document).ready(function($){ 
    62         $('a.thickbox').click(function(){ 
     61    $(document).ready(function($){
     62        $('a.thickbox').click(function(){
    6363            var ed;
    6464
    65             if ( typeof tinyMCE != 'undefined' && tinymce.isIE && ( ed = tinyMCE.activeEditor ) && !ed.isHidden() ) { 
     65            if ( typeof tinyMCE != 'undefined' && tinymce.isIE && ( ed = tinyMCE.activeEditor ) && !ed.isHidden() ) {
    6666                ed.focus();
    67                 ed.windowManager.insertimagebookmark = ed.selection.getBookmark(); 
    68             } 
    69         }); 
    70     }); 
     67                ed.windowManager.insertimagebookmark = ed.selection.getBookmark();
     68            }
     69        });
     70    });
    7171
    7272})(jQuery);
  • trunk/wp-admin/menu.php

    r18169 r18254  
    182182
    183183    $menu[65] = array( sprintf( __('Plugins %s'), $count ), 'activate_plugins', 'plugins.php', '', 'menu-top menu-icon-plugins', 'menu-plugins', 'div' );
    184    
     184
    185185    $submenu['plugins.php'][5]  = array( __('Installed Plugins'), 'activate_plugins', 'plugins.php' );
    186186
  • trunk/wp-admin/press-this.php

    r18155 r18254  
    603603        <div class="postdivrich">
    604604            <ul id="actions" class="actions">
    605                 <li><?php _e( 'Add:' ); ?></li> 
     605                <li><?php _e( 'Add:' ); ?></li>
    606606                <li id="photo_button">
    607607                    <?php if ( current_user_can('upload_files') ) { ?><a title="<?php _e('Insert an Image'); ?>" href="#">
  • trunk/wp-includes/admin-bar.php

    r18233 r18254  
    101101function wp_admin_bar_dashboard_view_site_menu( $wp_admin_bar ) {
    102102    $user_id = get_current_user_id();
    103    
     103
    104104    if ( 0 != $user_id ) {
    105105        if ( is_admin() )
     
    260260    if ( ! is_multisite() && current_user_can( 'install_plugins' ) )
    261261        $actions[ 'plugin-install.php' ] = array( _x( 'Plugin', 'add new from admin bar' ), 'install_plugins', 'new-plugin' );
    262            
     262
    263263    if ( empty( $actions ) )
    264264        return;
  • trunk/wp-includes/author-template.php

    r18189 r18254  
    371371/**
    372372 * Does this site have more than one author
    373  * 
     373 *
    374374 * Checks to see if more than one author has published posts.
    375375 *
    376  * @since 3.2 
     376 * @since 3.2
    377377 * @return bool Whether or not we have more than one author
    378378 */
    379379function is_multi_author() {
    380380    global $wpdb;
    381    
     381
    382382    if ( false === ( $is_multi_author = wp_cache_get('is_multi_author', 'posts') ) ) {
    383383        $rows = (array) $wpdb->get_col("SELECT DISTINCT post_author FROM $wpdb->posts WHERE post_type = 'post' AND post_status = 'publish' LIMIT 2");
     
    389389}
    390390
    391 /** 
     391/**
    392392 * Helper function to clear the cache for number of authors.
    393  * 
     393 *
    394394 * @private
    395395 */
  • trunk/wp-includes/canonical.php

    r18079 r18254  
    185185                    } else { // Some query vars are set via $_GET. Unset those from $_GET that exist via the rewrite
    186186                        foreach ( $qv_remove as $_qv ) {
    187                             if ( isset($rewrite_vars[$_qv]) ) 
     187                            if ( isset($rewrite_vars[$_qv]) )
    188188                                $redirect['query'] = remove_query_arg($_qv, $redirect['query']);
    189189                        }
  • trunk/wp-includes/class-http.php

    r18185 r18254  
    9999        );
    100100
    101        
     101
    102102        // Pre-parse for the HEAD checks.
    103103        $args = wp_parse_args( $args );
     
    194194    /**
    195195     * Tests which transports are capable of supporting the request.
    196      * 
     196     *
    197197     * @since 3.2.0
    198198     * @access private
  • trunk/wp-includes/class-wp-xmlrpc-server.php

    r18119 r18254  
    10461046     * - 'number' - Default is 10. Total number of media items to retrieve.
    10471047     * - 'offset' - Default is 0. See {@link WP_Query::query()} for more.
    1048      * 
     1048     *
    10491049     * @since 2.7.0
    10501050     *
     
    11491149     * Edit comment.
    11501150     *
    1151      * Besides the common blog_id, username, and password arguments, it takes a 
     1151     * Besides the common blog_id, username, and password arguments, it takes a
    11521152     * comment_id integer and a content_struct array as last argument.
    11531153     *
     
    16841684        do_action( 'xmlrpc_call', 'wp.getPostFormats' );
    16851685
    1686         $formats = get_post_format_strings(); 
    1687 
    1688         # find out if they want a list of currently supports formats 
    1689         if ( isset( $args[3] ) && is_array( $args[3] ) ) { 
    1690             if ( $args[3]['show-supported'] ) { 
    1691                 if ( current_theme_supports( 'post-formats' ) ) { 
    1692                     $supported = get_theme_support( 'post-formats' ); 
    1693 
    1694                     $data['all'] = $formats; 
    1695                     $data['supported'] = $supported[0]; 
    1696 
    1697                     $formats = $data; 
    1698                 } 
    1699             } 
    1700         } 
     1686        $formats = get_post_format_strings();
     1687
     1688        # find out if they want a list of currently supports formats
     1689        if ( isset( $args[3] ) && is_array( $args[3] ) ) {
     1690            if ( $args[3]['show-supported'] ) {
     1691                if ( current_theme_supports( 'post-formats' ) ) {
     1692                    $supported = get_theme_support( 'post-formats' );
     1693
     1694                    $data['all'] = $formats;
     1695                    $data['supported'] = $supported[0];
     1696
     1697                    $formats = $data;
     1698                }
     1699            }
     1700        }
    17011701
    17021702        return $formats;
     
    21422142    /**
    21432143     * Create a new post.
    2144      * 
     2144     *
    21452145     * The 'content_struct' argument must contain:
    21462146     *  - title
     
    21512151     *  - mt_tb_ping_urls
    21522152     *  - categories
    2153      * 
     2153     *
    21542154     * Also, it can optionally contain:
    21552155     *  - wp_slug
  • trunk/wp-includes/deprecated.php

    r17681 r18254  
    26132613function wp_timezone_supported() {
    26142614    _deprecated_function( __FUNCTION__, '3.2' );
    2615  
     2615
    26162616    return true;
    26172617}
  • trunk/wp-includes/link-template.php

    r17728 r18254  
    15901590
    15911591    $nextpage = intval($paged) + 1;
    1592        
     1592
    15931593    if ( null === $label )
    15941594        $label = __( 'Next Page &raquo;' );
  • trunk/wp-includes/meta.php

    r18032 r18254  
    403403     * @access public
    404404     * @var string
    405      */ 
     405     */
    406406    public $relation;
    407407
  • trunk/wp-includes/taxonomy.php

    r18194 r18254  
    11321132 *
    11331133 * The 'cache_domain' argument enables a unique cache key to be produced when this query is stored
    1134  * in object cache. For instance, if you are using one of this function's filters to modify the 
     1134 * in object cache. For instance, if you are using one of this function's filters to modify the
    11351135 * query (such as 'terms_clauses'), setting 'cache_domain' to a unique value will not overwrite
    11361136 * the cache for similar queries. Default value is 'core'.
Note: See TracChangeset for help on using the changeset viewer.