Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
75d19ef32b | ||
|
|
61e239a533 | ||
|
|
ad2b485a1e | ||
|
|
e13b1c82de | ||
|
|
fb4caf3e06 | ||
|
|
b4a7b06241 | ||
|
|
3aa1494dc6 | ||
|
|
5c7e289e0f | ||
|
|
d4ad475e82 | ||
|
|
aaab3bbdbe | ||
|
|
56c6950788 |
@@ -8,7 +8,7 @@
|
||||
<body>
|
||||
<h1 id="logo">
|
||||
<a href="http://wordpress.org/"><img alt="WordPress" src="wp-admin/images/wordpress-logo.png" width="250" height="68" /></a>
|
||||
<br /> Version 3.1.1
|
||||
<br /> Version 3.1.2
|
||||
</h1>
|
||||
<p style="text-align: center">Semantic Personal Publishing Platform</p>
|
||||
|
||||
|
||||
@@ -310,6 +310,8 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
if ( empty( $posts ) )
|
||||
$posts = $wp_query->posts;
|
||||
|
||||
add_filter( 'the_title', 'esc_html' );
|
||||
|
||||
if ( $this->hierarchical_display ) {
|
||||
$this->_display_rows_hierarchical( $posts, $this->get_pagenum(), $per_page );
|
||||
} else {
|
||||
@@ -320,8 +322,6 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
function _display_rows( $posts ) {
|
||||
global $post, $mode;
|
||||
|
||||
add_filter( 'the_title', 'esc_html' );
|
||||
|
||||
// Create array of post IDs.
|
||||
$post_ids = array();
|
||||
|
||||
@@ -522,7 +522,6 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
}
|
||||
}
|
||||
|
||||
$post->post_title = esc_html( $post->post_title );
|
||||
$pad = str_repeat( '— ', $level );
|
||||
?>
|
||||
<td <?php echo $attributes ?>><strong><?php if ( $can_edit_post && $post->post_status != 'trash' ) { ?><a class="row-title" href="<?php echo $edit_link; ?>" title="<?php echo esc_attr( sprintf( __( 'Edit “%s”' ), $title ) ); ?>"><?php echo $pad; echo $title ?></a><?php } else { echo $pad; echo $title; }; _post_states( $post ); echo isset( $parent_name ) ? ' | ' . $post_type_object->labels->parent_item_colon . ' ' . esc_html( $parent_name ) : ''; ?></strong>
|
||||
|
||||
@@ -294,7 +294,7 @@ function update_core($from, $to) {
|
||||
$mysql_version = $wpdb->db_version();
|
||||
$required_php_version = '4.3';
|
||||
$required_mysql_version = '4.1.2';
|
||||
$wp_version = '3.1.1';
|
||||
$wp_version = '3.1.2';
|
||||
$php_compat = version_compare( $php_version, $required_php_version, '>=' );
|
||||
$mysql_compat = version_compare( $mysql_version, $required_mysql_version, '>=' ) || file_exists( WP_CONTENT_DIR . '/db.php' );
|
||||
|
||||
|
||||
@@ -56,7 +56,12 @@ function press_it() {
|
||||
}
|
||||
}
|
||||
// set the post_content and status
|
||||
$quick['post_status'] = isset($_POST['publish']) ? 'publish' : 'draft';
|
||||
if ( isset( $_POST['publish'] ) && current_user_can( 'publish_posts' ) )
|
||||
$quick['post_status'] = 'publish';
|
||||
elseif ( isset( $_POST['review'] ) )
|
||||
$quick['post_status'] = 'pending';
|
||||
else
|
||||
$quick['post_status'] = 'draft';
|
||||
$quick['post_content'] = $content;
|
||||
// error handling for media_sideload
|
||||
if ( is_wp_error($upload) ) {
|
||||
|
||||
@@ -1100,9 +1100,8 @@ class Walker_PageDropdown extends Walker {
|
||||
if ( $page->ID == $args['selected'] )
|
||||
$output .= ' selected="selected"';
|
||||
$output .= '>';
|
||||
$title = esc_html($page->post_title);
|
||||
$title = apply_filters( 'list_pages', $page->post_title );
|
||||
$output .= "$pad$title";
|
||||
$output .= $pad . esc_html( $title );
|
||||
$output .= "</option>\n";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1510,7 +1510,7 @@ class WP_Query {
|
||||
$this->parse_tax_query( $qv );
|
||||
|
||||
foreach ( $this->tax_query->queries as $tax_query ) {
|
||||
if ( 'IN' == $tax_query['operator'] ) {
|
||||
if ( 'NOT IN' != $tax_query['operator'] ) {
|
||||
switch ( $tax_query['taxonomy'] ) {
|
||||
case 'category':
|
||||
$this->is_category = true;
|
||||
|
||||
@@ -438,7 +438,7 @@ class WP_User_Query {
|
||||
$where = get_posts_by_author_sql('post');
|
||||
$this->query_from .= " LEFT OUTER JOIN (
|
||||
SELECT post_author, COUNT(*) as post_count
|
||||
FROM wp_posts
|
||||
FROM $wpdb->posts
|
||||
$where
|
||||
GROUP BY post_author
|
||||
) p ON ({$wpdb->users}.ID = p.post_author)
|
||||
|
||||
@@ -22,7 +22,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '3.1.1';
|
||||
$wp_version = '3.1.2';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
||||
Reference in New Issue
Block a user