Ticket #30217: 30217.diff
File 30217.diff, 23.4 KB (added by , 10 years ago) |
---|
-
src/wp-admin/export.php
112 112 /** 113 113 * Create the date options fields for exporting a given post type. 114 114 * 115 * @global wpdb $wpdb WordPress database object.115 * @global wpdb $wpdb WordPress database abstraction object. 116 116 * @global WP_Locale $wp_locale Date and Time Locale object. 117 117 * 118 118 * @since 3.1.0 -
src/wp-admin/includes/comment.php
10 10 * Determine if a comment exists based on author and date. 11 11 * 12 12 * @since 2.0.0 13 * @uses $wpdb14 13 * 14 * @global wpdb $wpdb WordPress database abstraction object. 15 * 15 16 * @param string $comment_author Author of the comment 16 17 * @param string $comment_date Date of the comment 17 18 * @return mixed Comment post ID on success. … … 110 111 * Get the number of pending comments on a post or posts 111 112 * 112 113 * @since 2.3.0 113 * @uses $wpdb114 114 * 115 * @global wpdb $wpdb WordPress database abstraction object. 116 * 115 117 * @param int|array $post_id Either a single Post ID or an array of Post IDs 116 118 * @return int|array Either a single Posts pending comments as an int or an array of ints keyed on the Post IDs 117 119 */ -
src/wp-admin/includes/schema.php
324 324 * Create WordPress options and set the default values. 325 325 * 326 326 * @since 1.5.0 327 * @uses $wpdb 327 * 328 * @global wpdb $wpdb WordPress database abstraction object. 328 329 * @uses $wp_db_version 329 330 */ 330 331 function populate_options() { -
src/wp-admin/install-helper.php
44 44 * 45 45 * @since 1.0.0 46 46 * 47 * @ uses $wpdb47 * @global wpdb $wpdb WordPress database abstraction object. 48 48 * 49 49 * @param string $table_name Database table name. 50 50 * @param string $create_ddl Create database table SQL. … … 76 76 * 77 77 * @since 1.0.0 78 78 * 79 * @ uses $wpdb79 * @global wpdb $wpdb WordPress database abstraction object. 80 80 * 81 81 * @param string $table_name Database table name 82 82 * @param string $column_name Table column name … … 110 110 * 111 111 * @since 1.0.0 112 112 * 113 * @ uses $wpdb113 * @global wpdb $wpdb WordPress database abstraction object. 114 114 * 115 115 * @param string $table_name Table name 116 116 * @param string $column_name Column name -
src/wp-includes/bookmark.php
10 10 * Retrieve Bookmark data 11 11 * 12 12 * @since 2.1.0 13 * @uses $wpdb Database Object14 13 * 14 * @global wpdb $wpdb WordPress database abstraction object. 15 * 15 16 * @param mixed $bookmark 16 17 * @param string $output Optional. Either OBJECT, ARRAY_N, or ARRAY_A constant 17 18 * @param string $filter Optional, default is 'raw'. … … 91 92 * 92 93 * @since 2.1.0 93 94 * 94 * @global wpdb $wpdb WordPress database a ccess abstraction object.95 * @global wpdb $wpdb WordPress database abstraction object. 95 96 * 96 97 * @param string|array $args { 97 98 * Optional. String or array of arguments to retrieve bookmarks. -
src/wp-includes/canonical.php
512 512 * Attempts to guess the correct URL based on query vars 513 513 * 514 514 * @since 2.3.0 515 * @uses $wpdb516 515 * 516 * @global wpdb $wpdb WordPress database abstraction object. 517 * 517 518 * @return bool|string The correct URL if one is found. False on failure. 518 519 */ 519 520 function redirect_guess_404_permalink() { -
src/wp-includes/capabilities.php
104 104 * 105 105 * @since 2.1.0 106 106 * @access protected 107 * @uses $wpdb Used to get the database prefix. 107 * 108 * @global wpdb $wpdb WordPress database abstraction object. 108 109 * @global array $wp_user_roles Used to set the 'roles' property value. 109 110 */ 110 111 protected function _init() { -
src/wp-includes/comment.php
24 24 * 25 25 * @since 1.2.0 26 26 * 27 * @global wpdb $wpdb WordPress database a ccess abstraction object.27 * @global wpdb $wpdb WordPress database abstraction object. 28 28 * 29 29 * @param string $author Comment author name. 30 30 * @param string $email Comment author email. … … 155 155 * comment variable will be used, if it is set. 156 156 * 157 157 * @since 2.0.0 158 * @uses $wpdb159 158 * 159 * @global wpdb $wpdb WordPress database abstraction object. 160 * 160 161 * @param object|string|int $comment Comment to retrieve. 161 162 * @param string $output Optional. OBJECT or ARRAY_A or ARRAY_N constants. 162 163 * @return object|array|null Depends on $output value. … … 214 215 * 'order', 'number', 'offset', and 'post_id'. 215 216 * 216 217 * @since 2.7.0 217 * @uses $wpdb218 218 * 219 * @global wpdb $wpdb WordPress database abstraction object. 220 * 219 221 * @param mixed $args Optional. Array or string of options to override defaults. 220 222 * @return array List of comments. 221 223 */ … … 757 759 * The date the last comment was modified. 758 760 * 759 761 * @since 1.5.0 760 * @uses $wpdb761 762 * 763 * @global wpdb $wpdb WordPress database abstraction object. 764 * 762 765 * @param string $timezone Which timezone to use in reference to 'gmt', 'blog', 763 766 * or 'server' locations. 764 767 * @return string Last comment modified date. … … 797 800 * caches, but this function does not. 798 801 * 799 802 * @since 2.0.0 800 * @uses $wpdb801 803 * 804 * @global wpdb $wpdb WordPress database abstraction object. 805 * 802 806 * @param int $post_id Optional. Comment amount in post if > 0, else total comments blog wide. 803 807 * @return array The amount of spam, approved, awaiting moderation, and total comments. 804 808 */ … … 1015 1019 * Validates whether this comment is allowed to be made. 1016 1020 * 1017 1021 * @since 2.0.0 1018 * @uses $wpdb1019 1022 * 1023 * @global wpdb $wpdb WordPress database abstraction object. 1024 * 1020 1025 * @param array $commentdata Contains information on the comment 1021 1026 * @return mixed Signifies the approval status (0|1|'spam') 1022 1027 */ … … 1132 1137 * administrators. 1133 1138 * 1134 1139 * @since 2.3.0 1135 * @uses $wpdb1136 1140 * 1141 * @global wpdb $wpdb WordPress database abstraction object. 1142 * 1137 1143 * @param string $ip Comment IP. 1138 1144 * @param string $email Comment author email address. 1139 1145 * @param string $date MySQL time string. … … 1435 1441 * post ID available. 1436 1442 * 1437 1443 * @since 2.0.0 1438 * @uses $wpdb1439 1444 * 1445 * @global wpdb $wpdb WordPress database abstraction object. 1446 * 1440 1447 * @param int $comment_id Comment ID 1441 1448 * @param bool $force_delete Whether to bypass trash and force deletion. Default is false. 1442 1449 * @return bool True on success, false on failure. … … 1810 1817 * 'comment_date_gmt', 'comment_parent', 'comment_approved', and 'user_id'. 1811 1818 * 1812 1819 * @since 2.0.0 1813 * @uses $wpdb1814 1820 * 1821 * @global wpdb $wpdb WordPress database abstraction object. 1822 * 1815 1823 * @param array $commentdata Contains information on the comment. 1816 1824 * @return int|bool The new comment's ID on success, false on failure. 1817 1825 */ … … 2105 2113 * Filters the comment and makes sure certain fields are valid before updating. 2106 2114 * 2107 2115 * @since 2.0.0 2108 * @uses $wpdb2109 2116 * 2117 * @global wpdb $wpdb WordPress database abstraction object. 2118 * 2110 2119 * @param array $commentarr Contains information on the comment. 2111 2120 * @return int Comment was updated if value is 1, or was not updated if value is 0. 2112 2121 */ … … 2243 2252 * Updates the comment count for the post. 2244 2253 * 2245 2254 * @since 2.5.0 2246 * @uses $wpdb2247 2255 * 2256 * @global wpdb $wpdb WordPress database abstraction object. 2257 * 2248 2258 * @param int $post_id Post ID 2249 2259 * @return bool True on success, false on '0' $post_id or if post with ID does not exist. 2250 2260 */ … … 2357 2367 * Perform all pingbacks, enclosures, trackbacks, and send to pingback services. 2358 2368 * 2359 2369 * @since 2.1.0 2360 * @uses $wpdb 2370 * 2371 * @global wpdb $wpdb WordPress database abstraction object. 2361 2372 */ 2362 2373 function do_all_pings() { 2363 2374 global $wpdb; … … 2388 2399 * Perform trackbacks. 2389 2400 * 2390 2401 * @since 1.5.0 2391 * @uses $wpdb2392 2402 * 2403 * @global wpdb $wpdb WordPress database abstraction object. 2404 * 2393 2405 * @param int $post_id Post ID to do trackbacks on. 2394 2406 */ 2395 2407 function do_trackbacks($post_id) { … … 2562 2574 * Updates database when sending trackback to prevent duplicates. 2563 2575 * 2564 2576 * @since 0.71 2565 * @uses $wpdb2566 2577 * 2578 * @global wpdb $wpdb WordPress database abstraction object. 2579 * 2567 2580 * @param string $trackback_url URL to send trackbacks. 2568 2581 * @param string $title Title of post. 2569 2582 * @param string $excerpt Excerpt of post. -
src/wp-includes/deprecated.php
2424 2424 * 2425 2425 * @since 2.2.0 2426 2426 * @deprecated 3.1.0 2427 * @uses $wpdb WordPress database object for queries 2427 * 2428 * @global wpdb $wpdb WordPress database abstraction object. 2428 2429 * @uses $blog_id The Blog id of the blog for those that use more than one blog 2429 2430 * 2430 2431 * @param int $id Blog ID. -
src/wp-includes/functions.php
1087 1087 * 1088 1088 * @since 2.0.0 1089 1089 * 1090 * @global wpdb $wpdb WordPress database a ccess abstraction object.1090 * @global wpdb $wpdb WordPress database abstraction object. 1091 1091 * 1092 1092 * @return int Number of database queries. 1093 1093 */ … … 1253 1253 * 1254 1254 * @since 2.1.0 1255 1255 * 1256 * @global wpdb $wpdb WordPress database a ccess abstraction object.1256 * @global wpdb $wpdb WordPress database abstraction object. 1257 1257 * 1258 1258 * @return bool Whether the blog is already installed. 1259 1259 */ … … 3238 3238 * 3239 3239 * @since 2.3.2 3240 3240 * 3241 * @global wpdb $wpdb WordPress database a ccess abstraction object.3241 * @global wpdb $wpdb WordPress database abstraction object. 3242 3242 */ 3243 3243 function dead_db() { 3244 3244 global $wpdb; -
src/wp-includes/media.php
3260 3260 * 3261 3261 * @since 4.0.0 3262 3262 * 3263 * @global wpdb $wpdb WordPress database a ccess abstraction object.3263 * @global wpdb $wpdb WordPress database abstraction object. 3264 3264 * 3265 3265 * @param string $url The URL to resolve. 3266 3266 * @return int The found post ID. -
src/wp-includes/meta.php
15 15 * Add metadata for the specified object. 16 16 * 17 17 * @since 2.9.0 18 * @uses $wpdb WordPress database object for queries.19 18 * 19 * @global wpdb $wpdb WordPress database abstraction object. 20 * 20 21 * @param string $meta_type Type of object metadata is for (e.g., comment, post, or user) 21 22 * @param int $object_id ID of the object metadata is for 22 23 * @param string $meta_key Metadata key … … 128 129 * ID and metadata key, the metadata will be added. 129 130 * 130 131 * @since 2.9.0 131 * @uses $wpdb WordPress database object for queries.132 132 * 133 * @global wpdb $wpdb WordPress database abstraction object. 134 * 133 135 * @param string $meta_type Type of object metadata is for (e.g., comment, post, or user) 134 136 * @param int $object_id ID of the object metadata is for 135 137 * @param string $meta_key Metadata key … … 278 280 * Delete metadata for the specified object. 279 281 * 280 282 * @since 2.9.0 281 * @uses $wpdb WordPress database object for queries.282 283 * 284 * @global wpdb $wpdb WordPress database abstraction object. 285 * 283 286 * @param string $meta_type Type of object metadata is for (e.g., comment, post, or user) 284 287 * @param int $object_id ID of the object metadata is for 285 288 * @param string $meta_key Metadata key … … 756 759 * Update the metadata cache for the specified objects. 757 760 * 758 761 * @since 2.9.0 759 * @uses $wpdb WordPress database object for queries.760 762 * 763 * @global wpdb $wpdb WordPress database abstraction object. 764 * 761 765 * @param string $meta_type Type of object metadata is for (e.g., comment, post, or user) 762 766 * @param int|array $object_ids array or comma delimited list of object IDs to update cache for 763 767 * @return mixed Metadata cache for the specified objects, or false on failure. … … 1500 1504 * Retrieve the name of the metadata table for the specified object type. 1501 1505 * 1502 1506 * @since 2.9.0 1503 * @uses $wpdb WordPress database object for queries.1504 1507 * 1508 * @global wpdb $wpdb WordPress database abstraction object. 1509 * 1505 1510 * @param string $type Type of object to get metadata table for (e.g., comment, post, or user) 1506 1511 * @return mixed Metadata table name, or false if no metadata table exists 1507 1512 */ -
src/wp-includes/pluggable.php
1484 1484 * 1485 1485 * @since 1.0.0 1486 1486 * 1487 * @ uses $wpdb1487 * @global wpdb $wpdb WordPress database abstraction object. 1488 1488 * 1489 1489 * @param int $comment_id Comment ID 1490 1490 * @return bool Always returns true … … 2064 2064 * 2065 2065 * @since 2.5.0 2066 2066 * 2067 * @ uses $wpdb WordPress database object for queries2067 * @global wpdb $wpdb WordPress database abstraction object. 2068 2068 * 2069 2069 * @param string $password The plaintext new user password 2070 2070 * @param int $user_id User ID -
src/wp-includes/post.php
1789 1789 * 1790 1790 * @since 2.5.0 1791 1791 * 1792 * @global wpdb $wpdb WordPress database a ccess abstraction object.1792 * @global wpdb $wpdb WordPress database abstraction object. 1793 1793 * 1794 1794 * @param int $post_id Optional. Post ID to change post type. Default 0. 1795 1795 * @param string $post_type Optional. Post type. Accepts 'post' or 'page' to … … 2554 2554 * 2555 2555 * @since 1.0.0 2556 2556 * 2557 * @global wpdb $wpdb WordPress database a ccess abstraction object.2557 * @global wpdb $wpdb WordPress database abstraction object. 2558 2558 * @see wp_delete_attachment() 2559 2559 * @see wp_trash_post() 2560 2560 * … … 2799 2799 * 2800 2800 * @since 2.9.0 2801 2801 * 2802 * @global wpdb $wpdb WordPress database a ccess abstraction object.2802 * @global wpdb $wpdb WordPress database abstraction object. 2803 2803 * 2804 2804 * @param int|WP_Post $post Optional. Post ID or post object. Defaults to global $post. 2805 2805 * @return mixed False on failure. … … 4741 4741 * 4742 4742 * @since 2.0.0 4743 4743 * 4744 * @global wpdb $wpdb WordPress database a ccess abstraction object.4744 * @global wpdb $wpdb WordPress database abstraction object. 4745 4745 * 4746 4746 * @param int $post_id Attachment ID. 4747 4747 * @param bool $force_delete Optional. Whether to bypass trash and force deletion. … … 5430 5430 * 5431 5431 * @since 2.0.0 5432 5432 * 5433 * @global wpdb $wpdb WordPress database a ccess abstraction object.5433 * @global wpdb $wpdb WordPress database abstraction object. 5434 5434 * 5435 5435 * @param int|WP_Post $post Post ID or post object to remove from the cache. 5436 5436 */ … … 5588 5588 * @access private 5589 5589 * 5590 5590 * @see wp_clear_scheduled_hook() 5591 * @global wpdb $wpdb WordPress database a ccess abstraction object.5591 * @global wpdb $wpdb WordPress database abstraction object. 5592 5592 * 5593 5593 * @param string $new_status New post status. 5594 5594 * @param string $old_status Previous post status. … … 5780 5780 * 5781 5781 * @since 3.4.0 5782 5782 * 5783 * @global wpdb $wpdb WordPress database a ccess abstraction object.5783 * @global wpdb $wpdb WordPress database abstraction object. 5784 5784 */ 5785 5785 function wp_delete_auto_drafts() { 5786 5786 global $wpdb; -
src/wp-includes/query.php
2211 2211 * @since 4.0.0 2212 2212 * @access protected 2213 2213 * 2214 * @global wpdb $wpdb WordPress database a ccess abstraction object.2214 * @global wpdb $wpdb WordPress database abstraction object. 2215 2215 * 2216 2216 * @param string $orderby Alias for the field to order by. 2217 2217 * @return string|bool Table-prefixed value to used in the ORDER clause. False otherwise. … … 4619 4619 * Attempts to find the current slug from the past slugs. 4620 4620 * 4621 4621 * @since 2.1.0 4622 * 4622 4623 * @uses $wp_query 4623 * @ uses $wpdb4624 * @global wpdb $wpdb WordPress database abstraction object. 4624 4625 * 4625 4626 * @return null If no link is found, null is returned. 4626 4627 */ -
src/wp-includes/taxonomy.php
562 562 * 563 563 * @since 2.3.0 564 564 * 565 * @ uses $wpdb565 * @global wpdb $wpdb WordPress database abstraction object. 566 566 * 567 567 * @param int|array $term_ids Term id or array of term ids of terms that will be used 568 568 * @param string|array $taxonomies String of taxonomy name or Array of string values of taxonomy names … … 1261 1261 * 1262 1262 * @since 2.3.0 1263 1263 * 1264 * @ uses $wpdb1264 * @global wpdb $wpdb WordPress database abstraction object. 1265 1265 * @see sanitize_term_field() The $context param lists the available values for get_term_by() $filter param. 1266 1266 * 1267 1267 * @param int|object $term If integer, will get from database. If object will apply filters and return $term. … … 1356 1356 * 1357 1357 * @since 2.3.0 1358 1358 * 1359 * @ uses $wpdb1359 * @global wpdb $wpdb WordPress database abstraction object. 1360 1360 * @see sanitize_term_field() The $context param lists the available values for get_term_by() $filter param. 1361 1361 * 1362 1362 * @param string $field Either 'slug', 'name', 'id' (term_id), or 'term_taxonomy_id' … … 1446 1446 * 1447 1447 * @since 2.3.0 1448 1448 * 1449 * @ uses $wpdb1449 * @global wpdb $wpdb WordPress database abstraction object. 1450 1450 * 1451 1451 * @param string $term_id ID of Term to get children 1452 1452 * @param string $taxonomy Taxonomy Name … … 1553 1553 * 1554 1554 * @since 2.3.0 1555 1555 * 1556 * @global wpdb $wpdb WordPress database a ccess abstraction object.1556 * @global wpdb $wpdb WordPress database abstraction object. 1557 1557 * 1558 1558 * @param string|array $taxonomies Taxonomy name or list of Taxonomy names. 1559 1559 * @param array|string $args { … … 2003 2003 * 2004 2004 * @since 3.0.0 2005 2005 * 2006 * @ uses $wpdb2006 * @global wpdb $wpdb WordPress database abstraction object. 2007 2007 * 2008 2008 * @param int|string $term The term to check 2009 2009 * @param string $taxonomy The taxonomy name to use … … 2143 2143 * 2144 2144 * @since 2.3.0 2145 2145 * 2146 * @ uses $wpdb2146 * @global wpdb $wpdb WordPress database abstraction object. 2147 2147 * 2148 2148 * @param string $field Term field to sanitize 2149 2149 * @param string $value Search for this term value … … 2363 2363 * 2364 2364 * @since 2.3.0 2365 2365 * 2366 * @ uses $wpdb2366 * @global wpdb $wpdb WordPress database abstraction object. 2367 2367 * 2368 2368 * @param int $term Term ID 2369 2369 * @param string $taxonomy Taxonomy Name … … 2562 2562 * array of all matching term ids or term names will be returned respectively. 2563 2563 * 2564 2564 * @since 2.3.0 2565 * @uses $wpdb2566 2565 * 2566 * @global wpdb $wpdb WordPress database abstraction object. 2567 * 2567 2568 * @param int|array $object_ids The ID(s) of the object(s) to retrieve. 2568 2569 * @param string|array $taxonomies The taxonomies to retrieve terms from. 2569 2570 * @param array|string $args Change what is returned … … 2733 2734 * If the term already exists on the same hierarchical level, 2734 2735 * or the term slug and name are not unique, a WP_Error object will be returned. 2735 2736 * 2736 * @global wpdb $wpdb The WordPress databaseobject.2737 * @global wpdb $wpdb WordPress database abstraction object. 2737 2738 2738 2739 * @since 2.3.0 2739 2740 * … … 3089 3090 * Remove term(s) associated with a given object. 3090 3091 * 3091 3092 * @since 3.6.0 3092 * @uses $wpdb3093 3093 * 3094 * @global wpdb $wpdb WordPress database abstraction object. 3095 * 3094 3096 * @param int $object_id The ID of the object from which the terms will be removed. 3095 3097 * @param array|int|string $terms The slug(s) or ID(s) of the term(s) to remove. 3096 3098 * @param array|string $taxonomy Taxonomy name. … … 3177 3179 * The only purpose for $term is for appending a parent, if one exists. 3178 3180 * 3179 3181 * @since 2.3.0 3180 * @uses $wpdb3181 3182 * 3183 * @global wpdb $wpdb WordPress database abstraction object. 3184 * 3182 3185 * @param string $slug The string that will be tried for a unique slug 3183 3186 * @param object $term The term object that the $slug will belong too 3184 3187 * @return string Will return a true unique slug. … … 3249 3252 * 3250 3253 * @since 2.3.0 3251 3254 * 3252 * @ uses $wpdb3255 * @global wpdb $wpdb WordPress database abstraction object. 3253 3256 * 3254 3257 * @param int $term_id The ID of the term 3255 3258 * @param string $taxonomy The context in which to relate the term to the object. … … 3494 3497 * of term ID. Once that is done, then update the database. 3495 3498 * 3496 3499 * @since 2.3.0 3497 * @uses $wpdb3498 3500 * 3501 * @global wpdb $wpdb WordPress database abstraction object. 3502 * 3499 3503 * @param int|array $terms The term_taxonomy_id of the terms 3500 3504 * @param string $taxonomy The context of the term. 3501 3505 * @return bool If no terms will return false, and if successful will return true. … … 3607 3611 * Will remove all of the term ids from the cache. 3608 3612 * 3609 3613 * @since 2.3.0 3610 * @uses $wpdb3611 3614 * 3615 * @global wpdb $wpdb WordPress database abstraction object. 3616 * 3612 3617 * @param int|array $ids Single or list of Term IDs 3613 3618 * @param string $taxonomy Can be empty and will assume tt_ids, else will use for context. 3614 3619 * @param bool $clean_taxonomy Whether to clean taxonomy wide caches (true), or just individual term object caches (false). Default is true. … … 3870 3875 * 3871 3876 * @access private 3872 3877 * @since 2.3.0 3873 * @uses $wpdb3874 3878 * 3879 * @global wpdb $wpdb WordPress database abstraction object. 3880 * 3875 3881 * @param array $terms List of Term IDs 3876 3882 * @param string $taxonomy Term Context 3877 3883 * @return null Will break from function if conditions are not met. … … 3934 3940 * 3935 3941 * @access private 3936 3942 * @since 2.3.0 3937 * @uses $wpdb3938 3943 * 3944 * @global wpdb $wpdb WordPress database abstraction object. 3945 * 3939 3946 * @param array $terms List of Term taxonomy IDs 3940 3947 * @param object $taxonomy Current taxonomy object of terms 3941 3948 */ … … 3982 3989 * Default callback for the link_category taxonomy. 3983 3990 * 3984 3991 * @since 3.3.0 3985 * @uses $wpdb3986 3992 * 3993 * @global wpdb $wpdb WordPress database abstraction object. 3994 * 3987 3995 * @param array $terms List of Term taxonomy IDs 3988 3996 * @param object $taxonomy Current taxonomy object of terms 3989 3997 */ -
src/wp-includes/user.php
806 806 * 807 807 * @since 3.2.0 808 808 * 809 * @global wpdb $wpdb WordPress database object.809 * @global wpdb $wpdb WordPress database abstraction object. 810 810 * 811 811 * @param string $sql The SELECT FOUND_ROWS() query for the current WP_User_Query. 812 812 */ -
src/wp-login.php
263 263 /** 264 264 * Handles sending password retrieval email to user. 265 265 * 266 * @uses $wpdb WordPress Database object 266 * @global wpdb $wpdb WordPress database abstraction object. 267 * @global PasswordHash $wp_hasher Portable PHP password hashing framework. 267 268 * 268 269 * @return bool|WP_Error True: when finish. WP_Error on error 269 270 */