Changes between Initial Version and Version 9 of Ticket #12334
- Timestamp:
- 05/13/10 21:19:21 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12334
- Property Status changed from new to closed
- Property Cc me@… added
- Property Milestone changed from Unassigned to 3.0
- Property Owner set to nacin
- Property Resolution changed from to fixed
-
Ticket #12334 – Description
initial v9 1 1 In wp-includes/capabilities.php around line 773: 2 2 {{{ 3 3 $cap_key = $wpdb->get_blog_prefix( $blog_id ); 4 4 $cap_key. 'capabilities'; 5 5 }}} 6 6 The author probably meant .= here. 7 7 8 8 In wp-admin/import/blogger.php around line 168: 9 9 {{{ 10 10 } elseif ( $tag['tag'] == 'SUMMARY' ) { 11 11 $blog['summary'] == $tag['value']; 12 12 }}} 13 13 The == on the second line there should obviously be just a single = 14 14 15 15 In wp-admin/includes/user.php around line 835: 16 16 {{{ 17 17 function default_password_nag_edit_user($user_ID, $old_data) { 18 18 global $user_ID; 19 19 }}} 20 20 The author overwrites the passed in $user_ID argument with the global version right away. This makes very little sense. Choose one or the other. 21 21 22 22 In wp-includes/class-simplepie.php around line 4070(!!) there are 3 lines of code that don't make sense: 23 23 {{{ 24 24 (int) $seconds = array_pop($temp); 25 25 (int) $minutes = array_pop($temp); 26 26 (int) $hours = array_pop($temp); 27 27 }}} 28 28 Those casts don't do anything. The author probably meant to put the cast on the right hand side perhaps?