Make WordPress Core


Ignore:
Location:
branches/3.1
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • branches/3.1/readme.html

    r17595 r17716  
    99<h1 id="logo">
    1010    <a href="http://wordpress.org/"><img alt="WordPress" src="wp-admin/images/wordpress-logo.png" width="250" height="68" /></a>
    11     <br /> Version 3.1.1
     11    <br /> Version 3.1.2
    1212</h1>
    1313<p style="text-align: center">Semantic Personal Publishing Platform</p>
  • branches/3.1/wp-admin/includes/class-wp-posts-list-table.php

    r17595 r17716  
    311311            $posts = $wp_query->posts;
    312312
     313        add_filter( 'the_title', 'esc_html' );
     314
    313315        if ( $this->hierarchical_display ) {
    314316            $this->_display_rows_hierarchical( $posts, $this->get_pagenum(), $per_page );
     
    320322    function _display_rows( $posts ) {
    321323        global $post, $mode;
    322 
    323         add_filter( 'the_title', 'esc_html' );
    324324
    325325        // Create array of post IDs.
     
    523523                    }
    524524
    525                     $post->post_title = esc_html( $post->post_title );
    526525                    $pad = str_repeat( '&#8212; ', $level );
    527526?>
  • branches/3.1/wp-admin/includes/update-core.php

    r17595 r17716  
    295295    $required_php_version = '4.3';
    296296    $required_mysql_version = '4.1.2';
    297     $wp_version = '3.1.1';
     297    $wp_version = '3.1.2';
    298298    $php_compat     = version_compare( $php_version, $required_php_version, '>=' );
    299299    $mysql_compat   = version_compare( $mysql_version, $required_mysql_version, '>=' ) || file_exists( WP_CONTENT_DIR . '/db.php' );
  • branches/3.1/wp-admin/press-this.php

    r17595 r17716  
    5757    }
    5858    // set the post_content and status
    59     $quick['post_status'] = isset($_POST['publish']) ? 'publish' : 'draft';
     59    if ( isset( $_POST['publish'] ) && current_user_can( 'publish_posts' ) )
     60        $quick['post_status'] = 'publish';
     61    elseif ( isset( $_POST['review'] ) )
     62        $quick['post_status'] = 'pending';
     63    else
     64        $quick['post_status'] = 'draft';
    6065    $quick['post_content'] = $content;
    6166    // error handling for media_sideload
  • branches/3.1/wp-includes/post-template.php

    r17595 r17716  
    11011101            $output .= ' selected="selected"';
    11021102        $output .= '>';
    1103         $title = esc_html($page->post_title);
    11041103        $title = apply_filters( 'list_pages', $page->post_title );
    1105         $output .= "$pad$title";
     1104        $output .= $pad . esc_html( $title );
    11061105        $output .= "</option>\n";
    11071106    }
  • branches/3.1/wp-includes/query.php

    r17595 r17716  
    15111511
    15121512            foreach ( $this->tax_query->queries as $tax_query ) {
    1513                 if ( 'IN' == $tax_query['operator'] ) {
     1513                if ( 'NOT IN' != $tax_query['operator'] ) {
    15141514                    switch ( $tax_query['taxonomy'] ) {
    15151515                        case 'category':
  • branches/3.1/wp-includes/user.php

    r17595 r17716  
    439439            $this->query_from .= " LEFT OUTER JOIN (
    440440                SELECT post_author, COUNT(*) as post_count
    441                 FROM wp_posts
     441                FROM $wpdb->posts
    442442                $where
    443443                GROUP BY post_author
  • branches/3.1/wp-includes/version.php

    r17595 r17716  
    2323 * @global string $wp_version
    2424 */
    25 $wp_version = '3.1.1';
     25$wp_version = '3.1.2';
    2626
    2727/**
Note: See TracChangeset for help on using the changeset viewer.