WordPress.org

Make WordPress Core

Changeset 6304


Ignore:
Timestamp:
11/01/07 16:20:16 (6 years ago)
Author:
ryan
Message:

Typo fix from DD32. Fixes uploads. fixes #5302

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post.php

    r6301 r6304  
    13071307    if ( empty($post_name) ) { 
    13081308        $post_name = sanitize_title($post_title, $post_ID); 
    1309         $wpdb->update( $wpdb->posts, compact( $post_name ), array( 'ID' => $post_ID ) ); 
     1309        $wpdb->update( $wpdb->posts, compact("post_name"), array( 'ID' => $post_ID ) ); 
    13101310    } 
    13111311 
Note: See TracChangeset for help on using the changeset viewer.