Changeset 28539
- Timestamp:
- 05/22/2014 05:36:42 PM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ajax-actions.php
r28358 r28539 104 104 */ 105 105 function wp_ajax_ajax_tag_search() { 106 global $wpdb;107 108 106 if ( isset( $_GET['tax'] ) ) { 109 107 $taxonomy = sanitize_key( $_GET['tax'] ); … … 895 893 */ 896 894 function wp_ajax_replyto_comment( $action ) { 897 global $wp_list_table , $wpdb;895 global $wp_list_table; 898 896 if ( empty( $action ) ) 899 897 $action = 'replyto-comment'; -
trunk/src/wp-admin/includes/dashboard.php
r28497 r28539 762 762 */ 763 763 function wp_dashboard_recent_comments( $total_items = 5 ) { 764 global $wpdb;765 766 764 // Select all comment types and filter out spam later for better query performance. 767 765 $comments = array(); -
trunk/src/wp-admin/includes/meta-boxes.php
r28499 r28539 624 624 */ 625 625 function post_comment_meta_box( $post ) { 626 global $wpdb;627 628 626 wp_nonce_field( 'get-comments', 'add_comment_nonce', false ); 629 627 ?> -
trunk/src/wp-admin/includes/post.php
r28497 r28539 519 519 */ 520 520 function get_default_post_to_edit( $post_type = 'post', $create_in_db = false ) { 521 global $wpdb;522 523 521 $post_title = ''; 524 522 if ( !empty( $_REQUEST['post_title'] ) ) … … 734 732 */ 735 733 function add_meta( $post_ID ) { 736 global $wpdb;737 734 $post_ID = (int) $post_ID; 738 735 -
trunk/src/wp-includes/capabilities.php
r28531 r28539 141 141 return; 142 142 143 global $wpdb , $wp_user_roles;143 global $wpdb; 144 144 145 145 // Duplicated from _init() to avoid an extra function call. -
trunk/src/wp-includes/class-wp-xmlrpc-server.php
r28515 r28539 3191 3191 */ 3192 3192 public function wp_newComment($args) { 3193 global $wpdb;3194 3195 3193 $this->escape($args); 3196 3194 -
trunk/src/wp-includes/general-template.php
r28538 r28539 754 754 */ 755 755 function wp_title($sep = '»', $display = true, $seplocation = '') { 756 global $wp db, $wp_locale;756 global $wp_locale; 757 757 758 758 $m = get_query_var('m'); -
trunk/src/wp-includes/taxonomy.php
r28466 r28539 3162 3162 */ 3163 3163 function wp_update_term_count_now( $terms, $taxonomy ) { 3164 global $wpdb;3165 3166 3164 $terms = array_map('intval', $terms); 3167 3165
Note: See TracChangeset
for help on using the changeset viewer.