Changeset 5708
- Timestamp:
- 06/14/2007 10:45:40 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/install.php
r5631 r5708 83 83 <?php 84 84 $result = wp_install($weblog_title, 'admin', $admin_email, $public); 85 extract($result );85 extract($result, EXTR_SKIP); 86 86 ?> 87 87 -
trunk/wp-includes/author-template.php
r5701 r5708 371 371 372 372 $r = wp_parse_args( $args, $defaults ); 373 extract($r );373 extract($r, EXTR_SKIP); 374 374 375 375 $return = ''; -
trunk/wp-includes/bookmark-template.php
r5700 r5708 26 26 27 27 $r = wp_parse_args( $args, $defaults ); 28 extract( $r );28 extract( $r, EXTR_SKIP ); 29 29 30 30 return get_links($category, $before, $after, $between, $show_images, $orderby, $show_description, $show_rating, $limit, $show_updated, $echo); … … 248 248 249 249 $r = wp_parse_args( $args, $defaults ); 250 extract( $r );250 extract( $r, EXTR_SKIP ); 251 251 252 252 foreach ( (array) $bookmarks as $bookmark ) { … … 328 328 329 329 $r = wp_parse_args( $args, $defaults ); 330 extract( $r );330 extract( $r, EXTR_SKIP ); 331 331 332 332 $output = ''; -
trunk/wp-includes/bookmark.php
r5700 r5708 36 36 37 37 $r = wp_parse_args( $args, $defaults ); 38 extract( $r );38 extract( $r, EXTR_SKIP ); 39 39 40 40 $key = md5( serialize( $r ) ); -
trunk/wp-includes/classes.php
r5700 r5708 507 507 if ( $depth ) 508 508 $indent = str_repeat("\t", $depth); 509 extract($args );509 extract($args, EXTR_SKIP); 510 510 $css_class = 'page_item'; 511 511 $_current_page = get_page( $current_page ); … … 695 695 696 696 $r = wp_parse_args( $args, $defaults ); 697 extract( $r );697 extract( $r, EXTR_SKIP ); 698 698 699 699 if ( is_wp_error($id) ) { -
trunk/wp-includes/comment-template.php
r5666 r5708 286 286 $req = get_option('require_name_email'); 287 287 $commenter = wp_get_current_commenter(); 288 extract($commenter );288 extract($commenter, EXTR_SKIP); 289 289 290 290 // TODO: Use API instead of SELECTs. -
trunk/wp-includes/comment.php
r5666 r5708 182 182 function wp_allow_comment($commentdata) { 183 183 global $wpdb; 184 extract($commentdata );184 extract($commentdata, EXTR_SKIP); 185 185 186 186 // Simple duplicate check … … 335 335 function wp_insert_comment($commentdata) { 336 336 global $wpdb; 337 extract($commentdata );337 extract($commentdata, EXTR_SKIP); 338 338 339 339 if ( ! isset($comment_author_IP) ) … … 470 470 471 471 // Now extract the merged array. 472 extract($commentarr );472 extract($commentarr, EXTR_SKIP); 473 473 474 474 $comment_content = apply_filters('comment_save_pre', $comment_content); … … 532 532 $pingback_href_original_pos = 27; 533 533 534 extract(parse_url($url) );534 extract(parse_url($url), EXTR_SKIP); 535 535 536 536 if ( !isset($host) ) // Not an URL. This should never happen. -
trunk/wp-includes/general-template.php
r5700 r5708 331 331 332 332 $r = wp_parse_args( $args, $defaults ); 333 extract( $r );333 extract( $r, EXTR_SKIP ); 334 334 335 335 if ( '' == $type ) -
trunk/wp-includes/pluggable.php
r5700 r5708 169 169 170 170 // Compact the input, apply the filters, and extract them back out 171 extract( apply_filters( 'wp_mail', compact( 'to', 'subject', 'message', 'headers' ) ) );171 extract( apply_filters( 'wp_mail', compact( 'to', 'subject', 'message', 'headers' ) ), EXTR_SKIP ); 172 172 173 173 // Default headers -
trunk/wp-includes/post-template.php
r5707 r5708 144 144 145 145 $r = wp_parse_args( $args, $defaults ); 146 extract( $r );146 extract( $r, EXTR_SKIP ); 147 147 148 148 global $post, $id, $page, $numpages, $multipage, $more, $pagenow; … … 257 257 258 258 $r = wp_parse_args( $args, $defaults ); 259 extract( $r );259 extract( $r, EXTR_SKIP ); 260 260 261 261 $pages = get_pages($r); … … 288 288 289 289 $r = wp_parse_args( $args, $defaults ); 290 extract( $r );290 extract( $r, EXTR_SKIP ); 291 291 292 292 $output = ''; -
trunk/wp-includes/post.php
r5707 r5708 186 186 187 187 $r = wp_parse_args( $args, $defaults ); 188 extract( $r );188 extract( $r, EXTR_SKIP ); 189 189 190 190 $numberposts = (int) $numberposts; … … 496 496 497 497 // export array as variables 498 extract($postarr );498 extract($postarr, EXTR_SKIP); 499 499 500 500 // Are we updating or creating? … … 864 864 865 865 // import postdata as variables 866 extract($postdata );866 extract($postdata, EXTR_SKIP); 867 867 868 868 // form an excerpt … … 1051 1051 1052 1052 $r = wp_parse_args( $args, $defaults ); 1053 extract( $r );1053 extract( $r, EXTR_SKIP ); 1054 1054 1055 1055 $key = md5( serialize( $r ) ); … … 1205 1205 1206 1206 // Export array as variables 1207 extract($object );1207 extract($object, EXTR_SKIP); 1208 1208 1209 1209 // Get the basics. -
trunk/wp-includes/registration.php
r5627 r5708 46 46 global $wpdb; 47 47 48 extract($userdata );48 extract($userdata, EXTR_SKIP); 49 49 50 50 // Are we updating or creating? -
trunk/wp-includes/taxonomy.php
r5700 r5708 45 45 $defaults = array('ignore_empty' => false); 46 46 $args = wp_parse_args($args, $defaults); 47 extract($args );47 extract($args, EXTR_SKIP); 48 48 49 49 $where = ''; … … 70 70 $args['name'] = $term; 71 71 $args = sanitize_term($args, $taxonomy, 'db'); 72 extract($args );72 extract($args, EXTR_SKIP); 73 73 74 74 if ( empty($slug) ) … … 154 154 $defaults = array(); 155 155 $args = wp_parse_args($args, $defaults); 156 extract($args );156 extract($args, EXTR_SKIP); 157 157 158 158 if ( isset($default) ) { … … 215 215 $defaults = array( 'alias_of' => '', 'description' => '', 'parent' => 0, 'slug' => ''); 216 216 $args = wp_parse_args($args, $defaults); 217 extract($args );217 extract($args, EXTR_SKIP); 218 218 219 219 if ( empty($slug) ) … … 383 383 $defaults = array('order' => 'ASC'); 384 384 $args = wp_parse_args( $args, $defaults ); 385 extract($args );385 extract($args, EXTR_SKIP); 386 386 387 387 $terms = array_map('intval', $terms); … … 428 428 $defaults = array('orderby' => 'name', 'order' => 'ASC', 'fields' => 'all'); 429 429 $args = wp_parse_args( $args, $defaults ); 430 extract($args );430 extract($args, EXTR_SKIP); 431 431 432 432 if ( 'count' == $orderby ) … … 490 490 $args['hierarchical'] = false; 491 491 } 492 extract($args );492 extract($args, EXTR_SKIP); 493 493 494 494 if ( $child_of ) { -
trunk/wp-includes/user.php
r5700 r5708 193 193 194 194 $r = wp_parse_args( $args, $defaults ); 195 extract( $r );195 extract( $r, EXTR_SKIP ); 196 196 197 197 $query = "SELECT * FROM $wpdb->users"; -
trunk/wp-includes/widgets.php
r5700 r5708 390 390 function wp_widget_links($args) { 391 391 global $wp_db_version; 392 extract($args );392 extract($args, EXTR_SKIP); 393 393 if ( $wp_db_version < 3582 ) { 394 394 // This ONLY works with li/h2 sidebars.
Note: See TracChangeset
for help on using the changeset viewer.