Changeset 5714
- Timestamp:
- 06/15/2007 05:45:21 PM (18 years ago)
- Location:
- branches/2.2
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/wp-admin/admin-db.php
r5289 r5714 83 83 global $wpdb; 84 84 85 extract($catarr );85 extract($catarr, EXTR_SKIP); 86 86 87 87 if( trim( $cat_name ) == '' ) … … 298 298 global $wpdb, $current_user; 299 299 300 extract($linkdata );300 extract($linkdata, EXTR_SKIP); 301 301 302 302 $update = false; -
branches/2.2/wp-admin/install.php
r4766 r5714 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 -
branches/2.2/wp-includes/author-template.php
r5135 r5714 184 184 'feed' => '', 'feed_image' => ''); 185 185 $r = array_merge($defaults, $r); 186 extract($r );186 extract($r, EXTR_SKIP); 187 187 188 188 // TODO: Move select to get_authors(). -
branches/2.2/wp-includes/bookmark-template.php
r5153 r5714 254 254 'after' => '</li>', 'between' => "\n"); 255 255 $r = array_merge($defaults, $r); 256 extract($r );256 extract($r, EXTR_SKIP); 257 257 258 258 foreach ( (array) $bookmarks as $bookmark ) { … … 332 332 'category_before' => '<li id="%id" class="%class">', 'category_after' => '</li>'); 333 333 $r = array_merge($defaults, $r); 334 extract($r );334 extract($r, EXTR_SKIP); 335 335 336 336 $output = ''; -
branches/2.2/wp-includes/bookmark.php
r5248 r5714 35 35 'category_name' => '', 'hide_invisible' => 1, 'show_updated' => 0, 'include' => '', 'exclude' => ''); 36 36 $r = array_merge($defaults, $r); 37 extract($r );37 extract($r, EXTR_SKIP); 38 38 39 39 $key = md5( serialize( $r ) ); -
branches/2.2/wp-includes/category-template.php
r5591 r5714 192 192 $r = array_merge($defaults, $r); 193 193 $r['include_last_update_time'] = $r['show_last_update']; 194 extract($r );194 extract($r, EXTR_SKIP); 195 195 196 196 $categories = get_categories($r); … … 243 243 if ( isset($r['show_date']) ) 244 244 $r['include_last_update_time'] = $r['show_date']; 245 extract($r );245 extract($r, EXTR_SKIP); 246 246 247 247 $categories = get_categories($r); -
branches/2.2/wp-includes/category.php
r5296 r5714 29 29 $r['orderby'] = "cat_" . $r['orderby']; // restricts order by to cat_ID and cat_name fields 30 30 $r['number'] = (int) $r['number']; 31 extract($r );31 extract($r, EXTR_SKIP); 32 32 33 33 $key = md5( serialize( $r ) ); -
branches/2.2/wp-includes/classes.php
r5289 r5714 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 ); … … 697 697 698 698 $r = array_merge($defaults, $r); 699 extract($r );699 extract($r, EXTR_SKIP); 700 700 701 701 if ( is_wp_error($id) ) { -
branches/2.2/wp-includes/comment-template.php
r5626 r5714 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. -
branches/2.2/wp-includes/comment.php
r5119 r5714 179 179 function wp_allow_comment($commentdata) { 180 180 global $wpdb; 181 extract($commentdata );181 extract($commentdata, EXTR_SKIP); 182 182 183 183 // Simple duplicate check … … 326 326 function wp_insert_comment($commentdata) { 327 327 global $wpdb; 328 extract($commentdata );328 extract($commentdata, EXTR_SKIP); 329 329 330 330 if ( ! isset($comment_author_IP) ) … … 458 458 459 459 // Now extract the merged array. 460 extract($commentarr );460 extract($commentarr, EXTR_SKIP); 461 461 462 462 $comment_content = apply_filters('comment_save_pre', $comment_content); … … 518 518 $pingback_href_original_pos = 27; 519 519 520 extract(parse_url($url) );520 extract(parse_url($url), EXTR_SKIP); 521 521 522 522 if ( !isset($host) ) // Not an URL. This should never happen. -
branches/2.2/wp-includes/general-template.php
r5713 r5714 323 323 $defaults = array('type' => 'monthly', 'limit' => '', 'format' => 'html', 'before' => '', 'after' => '', 'show_post_count' => false); 324 324 $r = array_merge($defaults, $r); 325 extract($r );325 extract($r, EXTR_SKIP); 326 326 327 327 if ( '' == $type ) -
branches/2.2/wp-includes/pluggable.php
r5695 r5714 169 169 $mail = compact('to', 'subject', 'message', 'headers'); 170 170 $mail = apply_filters('wp_mail', $mail); 171 extract($mail );171 extract($mail, EXTR_SKIP); 172 172 173 173 if ( $headers == '' ) { -
branches/2.2/wp-includes/post-template.php
r5244 r5714 142 142 'previouspagelink' => __('Previous page'), 'pagelink' => '%', 'more_file' => '', 'echo' => 1); 143 143 $r = array_merge($defaults, $r); 144 extract($r );144 extract($r, EXTR_SKIP); 145 145 146 146 global $id, $page, $numpages, $multipage, $more, $pagenow; … … 256 256 'name' => 'page_id', 'show_option_none' => ''); 257 257 $r = array_merge($defaults, $r); 258 extract($r );258 extract($r, EXTR_SKIP); 259 259 260 260 $pages = get_pages($r); -
branches/2.2/wp-includes/post.php
r5459 r5714 183 183 'meta_key' => '', 'meta_value' =>'', 'post_type' => 'post', 'post_status' => 'publish', 'post_parent' => 0); 184 184 $r = array_merge($defaults, $r); 185 extract($r );185 extract($r, EXTR_SKIP); 186 186 $numberposts = (int) $numberposts; 187 187 $offset = (int) $offset; … … 491 491 492 492 // export array as variables 493 extract($postarr );493 extract($postarr, EXTR_SKIP); 494 494 495 495 // Are we updating or creating? … … 882 882 883 883 // import postdata as variables 884 extract($postdata );884 extract($postdata, EXTR_SKIP); 885 885 886 886 // form an excerpt … … 1068 1068 'hierarchical' => 1, 'exclude' => '', 'include' => '', 'meta_key' => '', 'meta_value' => '', 'authors' => ''); 1069 1069 $r = array_merge($defaults, $r); 1070 extract($r );1070 extract($r, EXTR_SKIP); 1071 1071 1072 1072 $key = md5( serialize( $r ) ); … … 1222 1222 1223 1223 // Export array as variables 1224 extract($object );1224 extract($object, EXTR_SKIP); 1225 1225 1226 1226 // Get the basics. -
branches/2.2/wp-includes/registration.php
r5087 r5714 33 33 global $wpdb; 34 34 35 extract($userdata );35 extract($userdata, EXTR_SKIP); 36 36 37 37 // Are we updating or creating? -
branches/2.2/wp-includes/widgets.php
r5688 r5714 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. … … 806 806 function wp_widget_rss($args, $number = 1) { 807 807 require_once(ABSPATH . WPINC . '/rss.php'); 808 extract($args );808 extract($args, EXTR_SKIP); 809 809 $options = get_option('widget_rss'); 810 810 if ( isset($options['error']) && $options['error'] )
Note: See TracChangeset
for help on using the changeset viewer.