WordPress.org

Make WordPress Core

Changeset 16900


Ignore:
Timestamp:
12/13/2010 09:21:50 PM (7 years ago)
Author:
ryan
Message:

Pink trailing whites.

Location:
trunk
Files:
35 edited

Legend:

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

    r16859 r16900  
    8484if ( get_user_setting('mfold') == 'f' )
    8585    $admin_body_class .= ' folded';
    86    
     86
    8787if ( is_admin_bar_showing() )
    88     $admin_body_class .= ' admin-bar'; 
     88    $admin_body_class .= ' admin-bar';
    8989
    9090if ( $is_iphone ) { ?>
  • trunk/wp-admin/edit-comments.php

    r16868 r16900  
    136136<div class="wrap">
    137137<?php screen_icon(); ?>
    138 <h2><?php 
     138<h2><?php
    139139if ( $post_id )
    140     echo sprintf(__('Comments on &#8220;%s&#8221;'), 
    141         sprintf('<a href="%s">%s</a>', 
    142             get_edit_post_link($post_id), 
     140    echo sprintf(__('Comments on &#8220;%s&#8221;'),
     141        sprintf('<a href="%s">%s</a>',
     142            get_edit_post_link($post_id),
    143143            wp_html_excerpt(_draft_or_post_title($post_id), 50)
    144144        )
  • trunk/wp-admin/edit.php

    r16868 r16900  
    88
    99/** WordPress Administration Bootstrap */
    10 require_once( './admin.php' );         
     10require_once( './admin.php' );
    1111$wp_list_table = get_list_table('WP_Posts_List_Table');
    1212$wp_list_table->check_permissions();
  • trunk/wp-admin/export.php

    r16733 r16900  
    2121<script type="text/javascript">
    2222//<![CDATA[
    23     jQuery(document).ready(function($){         
     23    jQuery(document).ready(function($){
    2424        var form = $('#export-filters'),
    2525            filters = form.find('.export-filters');
  • trunk/wp-admin/includes/class-wp-comments-list-table.php

    r16836 r16900  
    5454        $orderby = ( isset( $_REQUEST['orderby'] ) ) ? $_REQUEST['orderby'] : '';
    5555        $order = ( isset( $_REQUEST['order'] ) ) ? $_REQUEST['order'] : '';
    56        
     56
    5757        $comments_per_page = $this->get_items_per_page( 'edit_comments_per_page' );
    5858        $comments_per_page = apply_filters( 'comments_per_page', $comments_per_page, $comment_status );
     
    7171            'approved' => 'approve'
    7272        );
    73        
     73
    7474        $args = array(
    7575            'status' => isset( $status_map[$comment_status] ) ? $status_map[$comment_status] : $comment_status,
  • trunk/wp-admin/includes/class-wp-list-table.php

    r16602 r16900  
    517517
    518518    /**
    519      * Get a list of sortable columns. The format is: 
     519     * Get a list of sortable columns. The format is:
    520520     * 'internal-name' => 'orderby'
    521521     * or
    522522     * 'internal-name' => array( 'orderby', true )
    523523     *
    524      * The second format will make the initial sorting order be descending 
     524     * The second format will make the initial sorting order be descending
    525525     *
    526526     * @since 3.1.0
     
    560560            if ( !isset( $data[1] ) )
    561561                $data[1] = false;
    562            
     562
    563563            $sortable[$id] = $data;
    564564        }
  • trunk/wp-admin/includes/class-wp-ms-sites-list-table.php

    r16707 r16900  
    318318                    <?php }
    319319                    break;
    320                    
     320
    321321                default:
    322322                    echo "<td class='$column_name column-$column_name'$style>";
  • trunk/wp-admin/includes/class-wp-ms-users-list-table.php

    r16879 r16900  
    161161
    162162                $attributes = "$class$style";
    163                
     163
    164164
    165165                switch ( $column_name ) {
     
    220220                                    if ( !can_edit_network( $val->site_id ) )
    221221                                        continue;
    222                                    
     222
    223223                                    $path   = ( $val->path == '/' ) ? '' : $val->path;
    224224                                    echo '<span class="site-' . $val->site_id . '" >';
     
    227227                                    $actions = array();
    228228                                    $actions['edit'] = '<a href="'. esc_url( network_admin_url( 'site-info.php?id=' . $val->userblog_id ) ) .'">' . __( 'Edit' ) . '</a>';
    229                                    
     229
    230230                                    $class = '';
    231231                                    if ( get_blog_status( $val->userblog_id, 'spam' ) == 1 )
     
    237237                                    if ( get_blog_status( $val->userblog_id, 'archived' ) == 1 )
    238238                                        $class .= 'site-archived ';
    239                                    
     239
    240240                                    $actions['view'] = '<a class="' . $class . '" href="' .  esc_url( get_home_url( $val->userblog_id ) )  . '">' . __( 'View' ) . '</a>';
    241                                    
     241
    242242                                    $actions = apply_filters('ms_user_list_site_actions', $actions, $val->userblog_id);
    243                                    
     243
    244244                                    $i=0;
    245245                                    $action_count = count( $actions );
  • trunk/wp-admin/includes/class-wp-terms-list-table.php

    r16713 r16900  
    287287        $args['post_type'] = $post_type;
    288288
    289         return "<a href='" . add_query_arg( $args, 'edit.php' ) . "'>$count</a>";       
     289        return "<a href='" . add_query_arg( $args, 'edit.php' ) . "'>$count</a>";
    290290    }
    291291
  • trunk/wp-admin/includes/class-wp-users-list-table.php

    r16794 r16900  
    88 */
    99class WP_Users_List_Table extends WP_List_Table {
    10    
     10
    1111    var $site_id;
    1212    var $is_site_users;
    13    
     13
    1414    function WP_Users_List_Table() {
    1515        $screen = get_current_screen();
     
    5151            'search' => $usersearch
    5252        );
    53        
     53
    5454        if ( $this->is_site_users )
    5555            $args['blog_id'] = $this->site_id;
     
    8080
    8181        if ( $this->is_site_users ) {
    82             $url = 'site-users.php?id=' . $this->site_id;           
     82            $url = 'site-users.php?id=' . $this->site_id;
    8383            switch_to_blog( $this->site_id );
    8484            $users_of_blog = count_users();
     
    161161        if ( $this->is_site_users )
    162162            unset( $c['posts'] );
    163            
     163
    164164        return $c;
    165165    }
     
    172172            'posts'    => 'post_count',
    173173        );
    174        
     174
    175175        if ( $this->is_site_users )
    176176            unset( $c['posts'] );
     
    214214        $user_object = sanitize_user_object( $user_object, 'display' );
    215215        $email = $user_object->user_email;
    216        
     216
    217217        if ( $this->is_site_users )
    218218            $url = "site-users.php?id={$this->site_id}&amp;";
  • trunk/wp-admin/includes/dashboard.php

    r16841 r16900  
    145145            list($url) = explode( '#', add_query_arg( 'edit', false ), 2 );
    146146            $widget_name .= ' <span class="postbox-title-action"><a href="' . esc_url( $url ) . '">' . __( 'Cancel' ) . '</a></span>';
    147             $callback = '_wp_dashboard_control_callback'; 
    148         } else { 
    149             list($url) = explode( '#', add_query_arg( 'edit', $widget_id ), 2 ); 
     147            $callback = '_wp_dashboard_control_callback';
     148        } else {
     149            list($url) = explode( '#', add_query_arg( 'edit', $widget_id ), 2 );
    150150            $widget_name .= ' <span class="postbox-title-action"><a href="' . esc_url( "$url#$widget_id" ) . '" class="edit-box open-box">' . __( 'Configure' ) . '</a></span>';
    151151        }
  • trunk/wp-admin/includes/internal-linking.php

    r16827 r16900  
    118118</div>
    119119</form>
    120 <?php 
     120<?php
    121121}
    122122?>
  • trunk/wp-admin/includes/media.php

    r16773 r16900  
    14591459do_action('pre-upload-ui');
    14601460
    1461 if ( $flash ) : 
    1462 
    1463 // Set the post params, which SWFUpload will post back with the file, and pass 
     1461if ( $flash ) :
     1462
     1463// Set the post params, which SWFUpload will post back with the file, and pass
    14641464// them through a filter.
    14651465$post_params = array(
  • trunk/wp-admin/includes/ms.php

    r16847 r16900  
    722722/**
    723723 * Whether or not we can edit this network from this page
    724  * 
     724 *
    725725 * By default editing of network is restricted to the Network Admin for that site_id this allows for this to be overridden
    726  * 
     726 *
    727727 * @since 3.1.0
    728728 * @param integer $site_id The network/site id to check.
     
    730730function can_edit_network( $site_id ) {
    731731    global $wpdb;
    732        
     732
    733733    if ($site_id == $wpdb->siteid )
    734734        $result = true;
    735735    else
    736736        $result = false;
    737    
     737
    738738    return apply_filters( 'can_edit_network', $result, $site_id );
    739739}
  • trunk/wp-admin/includes/template.php

    r16882 r16900  
    876876            if ( !isset($wp_meta_boxes[$page][$a_context][$a_priority][$id]) )
    877877                continue;
    878    
     878
    879879            // If a core box was previously added or removed by a plugin, don't add.
    880880            if ( 'core' == $priority ) {
     
    15391539    global $hook_suffix, $current_screen, $current_user, $admin_body_class, $wp_locale;
    15401540    $admin_body_class = preg_replace('/[^a-z0-9_-]+/i', '-', $hook_suffix);
    1541    
     1541
    15421542?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    15431543<html xmlns="http://www.w3.org/1999/xhtml" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>>
  • trunk/wp-admin/js/common.dev.js

    r16874 r16900  
    4646    },
    4747
    48     toggle : function(el) {         
     48    toggle : function(el) {
    4949        el.slideToggle(150, function() {
    50             var id = el.parent().toggleClass( 'wp-menu-open' ).attr('id');         
     50            var id = el.parent().toggleClass( 'wp-menu-open' ).attr('id');
    5151            if ( id ) {
    5252                $('li.wp-has-submenu', '#adminmenu').each(function(i, e) {
    5353                    if ( id == e.id ) {
    54                         var v = $(e).hasClass('wp-menu-open') ? 'o' : 'c';                     
     54                        var v = $(e).hasClass('wp-menu-open') ? 'o' : 'c';
    5555                        setUserSetting( 'm'+i, v );
    5656                    }
  • trunk/wp-admin/js/theme.dev.js

    r16554 r16900  
    3636                    $( '#current-theme' ).slideToggle( 300 );
    3737                });
    38                
     38
    3939                return false;
    4040            });
  • trunk/wp-admin/network.php

    r16746 r16900  
    366366            unset( $keys_salts[ $c ] );
    367367    }
    368     if ( ! empty( $keys_salts ) ) { 
     368    if ( ! empty( $keys_salts ) ) {
    369369        $keys_salts_str = '';
    370370        $from_api = wp_remote_get( 'https://api.wordpress.org/secret-key/1.1/salt/' );
  • trunk/wp-admin/plugin-install.php

    r16776 r16900  
    1414if ( ! current_user_can('install_plugins') )
    1515    wp_die(__('You do not have sufficient permissions to install plugins on this site.'));
    16            
     16
    1717if ( is_multisite() && ! is_network_admin() ) {
    1818    wp_redirect( network_admin_url( 'plugin-install.php' ) );
  • trunk/wp-admin/plugins.php

    r16868 r16900  
    1212if ( !current_user_can('activate_plugins') )
    1313    wp_die( __( 'You do not have sufficient permissions to manage plugins for this site.' ) );
    14            
     14
    1515$wp_list_table = get_list_table('WP_Plugins_List_Table');
    1616$wp_list_table->check_permissions();
  • trunk/wp-admin/press-this.php

    r16571 r16900  
    333333    if ( user_can_richedit() ) {
    334334        wp_tiny_mce( true, array( 'height' => '370' ) );
    335         wp_tiny_mce_preload_dialogs(); 
     335        wp_tiny_mce_preload_dialogs();
    336336    }
    337337?>
  • trunk/wp-admin/theme-install.php

    r16776 r16900  
    99if ( !defined( 'IFRAME_REQUEST' ) && isset( $_GET['tab'] ) && ( 'theme-information' == $_GET['tab'] ) )
    1010    define( 'IFRAME_REQUEST', true );
    11    
     11
    1212/** WordPress Administration Bootstrap */
    1313require_once('./admin.php');
  • trunk/wp-admin/themes.php

    r16861 r16900  
    1111if ( !current_user_can('switch_themes') && !current_user_can('edit_theme_options') )
    1212    wp_die( __( 'Cheatin&#8217; uh?' ) );
    13            
     13
    1414$wp_list_table = get_list_table('WP_Themes_List_Table');
    1515$wp_list_table->check_permissions();
  • trunk/wp-includes/category-template.php

    r16888 r16900  
    6868    if ( ! $categories )
    6969        $categories = array();
    70    
     70
    7171    $categories = array_values( $categories );
    7272
     
    10741074        wp_cache_add($id, $terms, $taxonomy . '_relationships');
    10751075    }
    1076    
     1076
    10771077    $terms = apply_filters( 'get_the_terms', $terms, $id, $taxonomy );
    10781078
  • trunk/wp-includes/class-wp-admin-bar.php

    r16897 r16900  
    180180        add_action( 'admin_bar_menu', 'wp_admin_bar_shortlink_menu', 80 );
    181181        add_action( 'admin_bar_menu', 'wp_admin_bar_updates_menu', 70 );
    182        
     182
    183183        if ( !is_network_admin() && !is_user_admin() ) {
    184184            add_action( 'admin_bar_menu', 'wp_admin_bar_new_content_menu', 40 );
     
    186186            add_action( 'admin_bar_menu', 'wp_admin_bar_appearance_menu', 60 );
    187187        }
    188        
     188
    189189        do_action( 'add_admin_bar_menus' );
    190190    }
  • trunk/wp-includes/class-wp-xmlrpc-server.php

    r16873 r16900  
    11021102        if ( !current_user_can( 'edit_comment', $comment_ID ) )
    11031103            return new IXR_Error( 403, __( 'You are not allowed to moderate comments on this site.' ) );
    1104            
     1104
    11051105        do_action('xmlrpc_call', 'wp.deleteComment');
    11061106
     
    11361136        if ( !current_user_can( 'edit_comment', $comment_ID ) )
    11371137            return new IXR_Error( 403, __( 'You are not allowed to moderate comments on this site.' ) );
    1138            
     1138
    11391139        do_action('xmlrpc_call', 'wp.editComment');
    11401140
     
    16091609        return $attachments_struct;
    16101610    }
    1611    
    1612     /** 
    1613       * Retrives a list of post formats used by the site 
    1614       * 
     1611
     1612    /**
     1613      * Retrives a list of post formats used by the site
     1614      *
    16151615      * @since 3.1
    1616       * 
    1617       * @param array $args Method parameters. Contains: 
    1618       *  - blog_id 
    1619       *  - username 
    1620       *  - password 
    1621       * @return array 
    1622       */ 
     1616      *
     1617      * @param array $args Method parameters. Contains:
     1618      *  - blog_id
     1619      *  - username
     1620      *  - password
     1621      * @return array
     1622      */
    16231623    function wp_getPostFormats( $args ) {
    16241624        $this->escape( $args );
     
    16301630        if ( !$user = $this->login( $username, $password ) )
    16311631            return $this->error;
    1632            
     1632
    16331633        do_action( 'xmlrpc_call', 'wp.getPostFormats' );
    16341634        return get_post_format_strings();
    1635     } 
     1635    }
    16361636
    16371637    /* Blogger API functions.
     
    20932093
    20942094        do_action('xmlrpc_call', 'metaWeblog.newPost');
    2095        
     2095
    20962096        $page_template = '';
    20972097        if ( !empty( $content_struct['post_type'] ) ) {
     
    21282128                $cap = 'edit_posts';
    21292129            $error_message = __( 'Sorry, you are not allowed to publish posts on this site.' );
    2130             $post_type = 'post';           
     2130            $post_type = 'post';
    21312131        }
    21322132
     
    21352135
    21362136        // Check for a valid post format if one was given
    2137         if ( isset( $content_struct['wp_post_format'] ) ) { 
    2138             $content_struct['wp_post_format'] = sanitize_key( $content_struct['wp_post_format'] ); 
     2137        if ( isset( $content_struct['wp_post_format'] ) ) {
     2138            $content_struct['wp_post_format'] = sanitize_key( $content_struct['wp_post_format'] );
    21392139            if ( !array_key_exists( $content_struct['wp_post_format'], get_post_format_strings() ) ) {
    21402140                return new IXR_Error( 404, __( 'Invalid post format' ) );
     
    23312331
    23322332        $this->attach_uploads( $post_ID, $post_content );
    2333        
     2333
    23342334        // Handle post formats if assigned, value is validated earlier
    23352335        // in this function
    23362336        if ( isset( $content_struct['wp_post_format'] ) )
    2337             wp_set_post_terms( $post_ID, array( 'post-format-' . $content_struct['wp_post_format'] ), 'post_format' ); 
     2337            wp_set_post_terms( $post_ID, array( 'post-format-' . $content_struct['wp_post_format'] ), 'post_format' );
    23382338
    23392339        logIO('O', "Posted ! ID: $post_ID");
     
    24372437                $cap = 'edit_posts';
    24382438            $error_message = __( 'Sorry, you are not allowed to publish posts on this site.' );
    2439             $post_type = 'post';           
     2439            $post_type = 'post';
    24402440        }
    24412441
     
    24442444
    24452445        // Check for a valid post format if one was given
    2446         if ( isset( $content_struct['wp_post_format'] ) ) { 
    2447             $content_struct['wp_post_format'] = sanitize_key( $content_struct['wp_post_format'] ); 
     2446        if ( isset( $content_struct['wp_post_format'] ) ) {
     2447            $content_struct['wp_post_format'] = sanitize_key( $content_struct['wp_post_format'] );
    24482448            if ( !array_key_exists( $content_struct['wp_post_format'], get_post_format_strings() ) ) {
    24492449                return new IXR_Error( 404, __( 'Invalid post format' ) );
     
    26502650
    26512651        $this->attach_uploads( $ID, $post_content );
    2652        
     2652
    26532653        // Handle post formats if assigned, validation is handled
    26542654        // earlier in this function
    26552655        if ( isset( $content_struct['wp_post_format'] ) )
    2656             wp_set_post_terms( $post_ID, array( 'post-format-' . $content_struct['wp_post_format'] ), 'post_format' ); 
     2656            wp_set_post_terms( $post_ID, array( 'post-format-' . $content_struct['wp_post_format'] ), 'post_format' );
    26572657
    26582658        logIO('O',"(MW) Edited ! ID: $post_ID");
     
    27222722            if ( $postdata['post_status'] === 'future' )
    27232723                $postdata['post_status'] = 'publish';
    2724                
    2725             // Get post format 
     2724
     2725            // Get post format
    27262726            $post_format = get_post_format( $post_ID );
    27272727            if ( empty( $post_format ) )
     
    28492849            if ( $entry['post_status'] === 'future' )
    28502850                $entry['post_status'] = 'publish';
    2851                
    2852             // Get post format 
     2851
     2852            // Get post format
    28532853            $post_format = get_post_format( $entry['ID'] );
    28542854            if ( empty( $post_format ) )
  • trunk/wp-includes/css/admin-bar.dev.css

    r16897 r16900  
    2424}
    2525
    26 #wpadminbar ul, 
     26#wpadminbar ul,
    2727#wpadminbar ul li {
    2828    background: none;
     
    112112    background: #555;
    113113    background: -moz-linear-gradient(bottom,  #555,  #3e3e3e);
    114     background: -webkit-gradient(linear, left bottom, left top, from(#555), to(#3e3e3e));   
     114    background: -webkit-gradient(linear, left bottom, left top, from(#555), to(#3e3e3e));
    115115}
    116116
     
    210210    cursor: pointer;
    211211    float: left;
    212     background: #aaa; 
     212    background: #aaa;
    213213    background: -moz-linear-gradient(bottom,  #aaa,  #cecece);
    214214    background: -webkit-gradient(linear, left bottom, left top, from(#aaa), to(#cecece));
     
    223223
    224224#wpadminbar #adminbarsearch .adminbar-button:active {
    225     background: #a0a0a0; 
     225    background: #a0a0a0;
    226226    background:-moz-linear-gradient(bottom,  #a0a0a0,  #c1c1c1);
    227227    background:-webkit-gradient(linear, left bottom, left top, from(#a0a0a0), to(#c1c1c1));
  • trunk/wp-includes/css/jquery-ui-dialog.dev.css

    r16500 r16900  
    7272 */
    7373.wp-dialog { position: absolute; width: 300px; overflow: hidden; }
    74 .wp-dialog .ui-dialog-titlebar { position: relative; } 
     74.wp-dialog .ui-dialog-titlebar { position: relative; }
    7575.wp-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
    7676.wp-dialog .ui-dialog-content { position: relative; border: 0; padding: 0; background: none; overflow: auto; zoom: 1; }
  • trunk/wp-includes/functions.php

    r16828 r16900  
    41974197 * Each piece of metadata must be on its own line. Fields can not span multple
    41984198 * lines, the value will get cut at the end of the first line.
    4199  * 
     4199 *
    42004200 * If the file data is not within that first 8kiB, then the author should correct
    42014201 * their plugin file and move the data headers to the top.
  • trunk/wp-includes/js/wp-lists.dev.js

    r16486 r16900  
    325325            $el = $(el || document);
    326326
    327         $el.delegate( "form[class^=add:" + list.id + ":]", 'submit', function(){ 
    328             return list.wpList.add(this); 
     327        $el.delegate( "form[class^=add:" + list.id + ":]", 'submit', function(){
     328            return list.wpList.add(this);
    329329        });
    330330
     
    334334
    335335        $el.delegate( "[class^=delete:" + list.id + ":]", 'click', function(){
    336             return list.wpList.del(this); 
     336            return list.wpList.del(this);
    337337        });
    338338
  • trunk/wp-includes/ms-blogs.php

    r16808 r16900  
    672672function get_last_updated( $deprecated = '', $start = 0, $quantity = 40 ) {
    673673    global $wpdb;
    674    
     674
    675675    if ( ! empty( $deprecated ) )
    676676        _deprecated_argument( __FUNCTION__, 'MU' ); // never used
    677    
     677
    678678    return $wpdb->get_results( $wpdb->prepare("SELECT blog_id, domain, path FROM $wpdb->blogs WHERE site_id = %d AND public = '1' AND archived = '0' AND mature = '0' AND spam = '0' AND deleted = '0' AND last_updated != '0000-00-00 00:00:00' ORDER BY last_updated DESC limit %d, %d", $wpdb->siteid, $start, $quantity ) , ARRAY_A );
    679679}
  • trunk/wp-includes/post.php

    r16898 r16900  
    23192319    $post = get_post($postid, $mode);
    23202320
    2321     if ( 
     2321    if (
    23222322        ( OBJECT == $mode && empty( $post->ID ) ) ||
    23232323        ( OBJECT != $mode && empty( $post['ID'] ) )
     
    38283828    if ( 'attachment' != $post->post_type || empty( $url ) )
    38293829        return false;
    3830    
     3830
    38313831    return $url;
    38323832}
  • trunk/wp-includes/taxonomy.php

    r16854 r16900  
    605605
    606606            $query['terms'] = (array) $query['terms'];
    607            
     607
    608608            $this->queries[] = $query;
    609609        }
     
    707707     * @param string $taxonomy The taxonomy of the terms
    708708     * @param string $field The initial field
    709      * @param string $resulting_field The resulting field   
     709     * @param string $resulting_field The resulting field
    710710     */
    711711    function _transform_terms( &$terms, $taxonomy, $field, $resulting_field ) {
     
    15831583 * Will unlink the object from the taxonomy or taxonomies.
    15841584 *
    1585  * Will remove all relationships between the object and any terms in 
    1586  * a particular taxonomy or taxonomies. Does not remove the term or 
     1585 * Will remove all relationships between the object and any terms in
     1586 * a particular taxonomy or taxonomies. Does not remove the term or
    15871587 * taxonomy itself.
    15881588 *
     
    16981698    $tax_object = get_taxonomy( $taxonomy );
    16991699    foreach ( $tax_object->object_type as $object_type )
    1700         clean_object_term_cache( $objects, $object_type ); 
    1701    
     1700        clean_object_term_cache( $objects, $object_type );
     1701
    17021702    do_action( 'delete_term_taxonomy', $tt_id );
    17031703    $wpdb->query( $wpdb->prepare( "DELETE FROM $wpdb->term_taxonomy WHERE term_taxonomy_id = %d", $tt_id ) );
  • trunk/wp-includes/theme.php

    r16846 r16900  
    14801480    if ( ! current_theme_supports( 'custom-header' ) )
    14811481        return false;
    1482    
     1482
    14831483    $callback = get_theme_support( 'custom-header' );
    14841484    remove_action( 'wp_head', $callback[0]['callback'] );
     
    16201620    if ( ! current_theme_supports( 'custom-background' ) )
    16211621        return false;
    1622    
     1622
    16231623    $callback = get_theme_support( 'custom-background' );
    16241624    remove_action( 'wp_head', $callback[0]['callback'] );
  • trunk/wp-login.php

    r16870 r16900  
    678678if( d.value != '' )
    679679d.value = '';
    680 <?php 
     680<?php
    681681}
    682682}?>
Note: See TracChangeset for help on using the changeset viewer.