nacin
|
73c74cf8f7
|
Deprecate wpdb::supports_collation() in favor of wpdb::has_cap().
props hakre, pento. fixes #16757.
git-svn-id: http://core.svn.wordpress.org/trunk@21470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2012-08-08 06:06:57 +00:00 |
nacin
|
3e8fe0e2e0
|
Correctly identify queries where a line break follows a keyword, rather than a space. props GeertDD, fixes #19467.
git-svn-id: http://core.svn.wordpress.org/trunk@21178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2012-06-29 15:08:17 +00:00 |
nacin
|
9810e75d46
|
Handle localized floats in $wpdb->prepare(). props kurtpayne. fixes #19861.
git-svn-id: http://core.svn.wordpress.org/trunk@21161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2012-06-28 19:57:31 +00:00 |
nacin
|
9501ff721d
|
Escape special characters when outputting DB failures. see #13839.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2012-04-16 21:55:47 +00:00 |
duck_
|
a280584422
|
Correct @since and remove invalid code example in wpdb::delete() documentation. Props GaryJ, scribu. See #18948.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2012-03-27 12:00:39 +00:00 |
nacin
|
0730535015
|
Introduce $wpdb->delete(). props justindgivens, scribu. fixes #18948.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2012-03-24 15:24:31 +00:00 |
westi
|
cff0e266a4
|
Refactor WPDB::get_caller() into wp_debug_backtrace_summary() and improve the functionality to provide enhanced context and a standardised default pretty format. Fixes #19589
git-svn-id: http://svn.automattic.com/wordpress/trunk@19773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2012-01-28 11:56:50 +00:00 |
nacin
|
81ed9a7563
|
Introduce wp_load_translations_early(), which can be used before the locale is properly loaded in order to translate early error strings. Internationalize setup-config.php -- translators no longer have a reason to modify this file. fixes #18180.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2012-01-26 20:34:27 +00:00 |
ryan
|
e3b46b25d3
|
Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: http://svn.automattic.com/wordpress/trunk@19712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2012-01-08 17:01:11 +00:00 |
duck_
|
a95ad847db
|
Stop quotes being incorrectly added to prepare placeholders in wpdb::_insert_replace_helper(). Fixes #19016.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2012-01-05 21:29:57 +00:00 |
nacin
|
6424c5b733
|
Ask for a float from microtime() for timer_start(), timer_stop(). Clarify docs. props solarissmoke, fixes #19157.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-12-20 21:36:53 +00:00 |
ryan
|
07ff8b216b
|
Use one space, not two, after trailing punctuation. fixes #19537
git-svn-id: http://svn.automattic.com/wordpress/trunk@19593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-12-13 23:45:31 +00:00 |
nacin
|
e39245936f
|
Remove reference to get_last_error(), it doesn't exist. props mitchoyoshitaka, fixes #19002.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-11-15 00:18:41 +00:00 |
ryan
|
31e3ff3fb1
|
Avoid 'Only variables should be passed by reference' warnings. Props SergeyBiryukov. see #18975
git-svn-id: http://svn.automattic.com/wordpress/trunk@19074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-10-28 15:48:44 +00:00 |
nacin
|
6f9612f45c
|
Introduce ->mysql to allow drop-ins to declare themselves as MySQL and therefore allow minimum version checks to still apply. fixes #18176.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-10-25 05:29:28 +00:00 |
ryan
|
67661f7181
|
Avoid 'Only variables should be passed by reference' warnings. Reverts [18110]. see #18975
git-svn-id: http://svn.automattic.com/wordpress/trunk@18998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-10-18 20:44:39 +00:00 |
duck_
|
4a6513185a
|
Documentation fixes. See #18560.
- Add missing parameters
- Add missing @param data types
- s/format_where/where_format/
git-svn-id: http://svn.automattic.com/wordpress/trunk@18753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-09-22 12:02:31 +00:00 |
dd32
|
4752a8a1aa
|
Add documentation for floats (%f) to wpdb::prepare() and friends. Props dllh. Fixes #18407
git-svn-id: http://svn.automattic.com/wordpress/trunk@18714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-09-19 05:15:44 +00:00 |
duck_
|
2f51b9be0d
|
Fix typos in documentation (wp-includes/[i-z]). See #18560.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-09-05 19:08:15 +00:00 |
dd32
|
e91e6de814
|
Clarify %d is an integer in wpdb documentation. See #18407
git-svn-id: http://svn.automattic.com/wordpress/trunk@18573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-19 15:01:35 +00:00 |
ryan
|
08b6aa116e
|
Sanitize sort_column and sort_order in get_pages(). Escape search_term in WP_User_Search. Cast blog_id to int in get_blog_prefix(). Props duck_
git-svn-id: http://svn.automattic.com/wordpress/trunk@18350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-06-27 20:47:04 +00:00 |
nacin
|
30729cc791
|
Take that, PHP 5.0.5. Good riddens. see #14160.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-06-01 22:03:36 +00:00 |
ryan
|
fce00c287b
|
Properly handle return value of DDL statements. Props scribu, marcis20. fixes #11372
git-svn-id: http://svn.automattic.com/wordpress/trunk@18063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-05-27 15:46:56 +00:00 |
ryan
|
e4157ae4cd
|
Correct phpdoc for replacing/extending thewpdb class. Props johnbillion. fixes #17533
git-svn-id: http://svn.automattic.com/wordpress/trunk@18011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-05-23 23:37:16 +00:00 |
ryan
|
b60c345536
|
Remove PHP4 constructors. Props hakre. see #16768
git-svn-id: http://svn.automattic.com/wordpress/trunk@17604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-04-05 17:25:08 +00:00 |
ryan
|
c1da7bbb0b
|
Don't die inside db_connect() if connection fails. Let dead_db() handle it. fixes #16640 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-03-23 19:57:35 +00:00 |
nacin
|
edaea210a1
|
Remove dead globals. props mitchoyoshitaka. fixes #16571.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-03-23 18:39:16 +00:00 |
ryan
|
f679a75b0c
|
Don't die for failed db connects during install. Props westi. fixes #16640 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-03-23 17:46:40 +00:00 |
ryan
|
a96f9d899f
|
@since additions and updates. Props demetris. fixes #15867
git-svn-id: http://svn.automattic.com/wordpress/trunk@17079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-20 12:49:18 +00:00 |
nacin
|
35b4860563
|
Don't improperly whitescreen on incorrect DB credentials during setup-config. Show error message with an opportunity to try again. fixes #15682.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-08 07:12:44 +00:00 |
ryan
|
3f72e340d6
|
Update since phpdoc. Props demetris. fixes #15445
git-svn-id: http://svn.automattic.com/wordpress/trunk@16660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-01 19:24:38 +00:00 |
westi
|
00b232ea51
|
Revert [16320] and [16321] for now. Breaks things
git-svn-id: http://svn.automattic.com/wordpress/trunk@16336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-12 22:44:16 +00:00 |
nacin
|
2ad9865886
|
Only mysql_free_result if we have a valid resource, and remove error suppression there. see #15402.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-12 10:40:43 +00:00 |
nacin
|
83fbd4e36b
|
Memory usage and execution improvements in wpdb. Store and work with resources directly, rather than full copies of results. Plugins which incorrectly used wpdb->last_result (a private property) will need to shift to wpdb->get_results() with no \$query. Magic getter is introduced for back compat when using PHP5. props joelhardi, fixes #12257.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-12 10:15:18 +00:00 |
nacin
|
14ccdbec33
|
Pruning shears.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-21 19:55:28 +00:00 |
nacin
|
5e1184aa57
|
Pinking shears.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-19 07:48:22 +00:00 |
westi
|
1bc8d5c12f
|
Display mysql_connect errors when WP_DEBUG is enabled. Fixes #14654 props lloydbudd and hakre
Always die if we can't connect to the db no point in going any futher.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-14 18:47:39 +00:00 |
nacin
|
9e97f25249
|
Always include wp-db.php. Prevents a conditional include and allows db dropins to cleanly extend the wpdb class. Move require_wp_db() to load.php for consistency with bootloader helpers. fixes #14508.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-20 19:13:47 +00:00 |
nacin
|
15bc341696
|
phpdoc, @since, whitespace. Also require an argument in wp_insert_post(). props duck_, see #14783.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-05 02:45:39 +00:00 |
ryan
|
b57bd51402
|
Remove WP_USE_MULTIPLE_DB. Introduce init_charset() and set_charset(). fixes #14672
git-svn-id: http://svn.automattic.com/wordpress/trunk@15537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-08-26 18:34:18 +00:00 |
nacin
|
65c1243ce3
|
More curses on PHP 5.0.5. see #13757, fixes #14160. for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-07-25 07:35:59 +00:00 |
nbachiyski
|
22bc77ccee
|
Do not include newline character in the beginning if the database error string
git-svn-id: http://svn.automattic.com/wordpress/trunk@15447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-07-19 20:35:15 +00:00 |
dd32
|
a14d289755
|
Alot more tabs. Props jacobsantos & Viper007bond. See #14147
git-svn-id: http://svn.automattic.com/wordpress/trunk@15355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-06-30 00:05:18 +00:00 |
ryan
|
b0f05715e9
|
Make dbh parameter to select optional for plugin back compat. Don't pass by ref to preserve PHP 4 support. fixes #13914
git-svn-id: http://svn.automattic.com/wordpress/trunk@15266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-06-16 19:28:01 +00:00 |
ryan
|
e7f50f9bfe
|
Add docs for ->insert_id. Props scribu. fixes #13439
git-svn-id: http://svn.automattic.com/wordpress/trunk@14745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-19 16:07:42 +00:00 |
nacin
|
1852eae49f
|
Deprecate VHOST in favor of a boolean, SUBDOMAIN_INSTALL. Core will keep VHOST defined for plugins' sake, but you should only define SUBDOMAIN_INSTALL. Throws a notice if VHOST is defined, and a warning if they somehow conflict. Sunrise can still handle them. fixes #11796.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-04 20:48:28 +00:00 |
nacin
|
e0eea8e857
|
Some wpdb cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-10 12:39:25 +00:00 |
wpmuguru
|
8f5099a7ea
|
have get_blog_prefix() default to the prefix of the current blog, see #12820
git-svn-id: http://svn.automattic.com/wordpress/trunk@13949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-02 22:47:51 +00:00 |
markjaquith
|
58d47426cc
|
More pedantry. "Setup" is not a verb. http://notaverb.com/setup
git-svn-id: http://svn.automattic.com/wordpress/trunk@13725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-17 04:39:50 +00:00 |
westi
|
bb2fb8cb34
|
Ensure that wpdb::get_results() always returns an array when it should. Fixes #10607 props miqrogroove.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-11 21:30:29 +00:00 |
nacin
|
779a3e76dd
|
Fix notice. See #12362
git-svn-id: http://svn.automattic.com/wordpress/trunk@13578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-03 23:07:23 +00:00 |
nacin
|
1a511e40e1
|
Add wpdb::replace() for replace queries. props AaronCampbell fixes #10864
git-svn-id: http://svn.automattic.com/wordpress/trunk@13454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-27 15:45:09 +00:00 |
nacin
|
dbdc7a9e83
|
@since version numbers and other docs for wp-db. props hakre see #12362
git-svn-id: http://svn.automattic.com/wordpress/trunk@13426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-26 06:14:26 +00:00 |
wpmuguru
|
e50b8fa348
|
database code cleanup, See #12362
git-svn-id: http://svn.automattic.com/wordpress/trunk@13387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-24 21:30:13 +00:00 |
nacin
|
8bcc5969dc
|
Spelling and grammar fun. Fixes #11875 props cnorris23
git-svn-id: http://svn.automattic.com/wordpress/trunk@13382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-24 20:13:23 +00:00 |
nacin
|
f423a2ee5e
|
More wpdb cleanups, see #12362
git-svn-id: http://svn.automattic.com/wordpress/trunk@13376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-24 18:58:52 +00:00 |
ryan
|
efe8a967be
|
Don't quote escaped strings. Props dd32. see #11608
git-svn-id: http://svn.automattic.com/wordpress/trunk@13357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-24 05:30:34 +00:00 |
nacin
|
dd8dbfb6fe
|
More wpdb cleanups, docs. see #11644 props hakre
git-svn-id: http://svn.automattic.com/wordpress/trunk@13343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-23 22:04:29 +00:00 |
nacin
|
cc6e217d1d
|
Fall back to $wpdb::blogid, not main blog id, in wpdb->tables(). See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-23 20:38:41 +00:00 |
nacin
|
7aa43e9c8b
|
Ensure we have MS global tables defined during network install. See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-23 19:58:53 +00:00 |
nacin
|
16a3d5e0a1
|
Use sprintf() in hard-coded string. Use same comment and error code as other identical message. See #11644 props hakre
git-svn-id: http://svn.automattic.com/wordpress/trunk@13327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-23 09:44:27 +00:00 |
nacin
|
39bcbf2755
|
Change inline docs to reflect [13324]
git-svn-id: http://svn.automattic.com/wordpress/trunk@13325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-23 09:08:50 +00:00 |
nacin
|
191e0df9d2
|
Improvements and fixes to wpdb::tables(). See #12083 see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-23 09:06:50 +00:00 |
nacin
|
9a11f30898
|
Docs and code convention cleanups. see #11644 props hakre
git-svn-id: http://svn.automattic.com/wordpress/trunk@13314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-22 22:53:54 +00:00 |
nacin
|
f3bf4ec676
|
Fix wpdb::tables() prefix handling. Ensures PHP4 compat. See #12083
git-svn-id: http://svn.automattic.com/wordpress/trunk@13245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-20 10:50:57 +00:00 |
dd32
|
679250491d
|
Variable Cleanup, Unused variables, Typo'd variables, unused code blocks. Fixes #12299
git-svn-id: http://svn.automattic.com/wordpress/trunk@13242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-20 02:01:46 +00:00 |
nacin
|
23918aa60d
|
Introduce wpdb::tables() to fetch table names on a global or blog scope. Remove very old and long deprecated $table{table} globals, fixes #11614. See #12083
git-svn-id: http://svn.automattic.com/wordpress/trunk@13229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-19 19:57:03 +00:00 |
nacin
|
84da5911aa
|
Assume WP_DEBUG is defined in wpdb. Remove unnecessary constant() calls. Ensure DB_COLLATE defined as empty string doesn't override default Multisite collation. fixes #12041, see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-19 01:03:58 +00:00 |
nacin
|
bc6924cf05
|
Fix suppressed notice in wpdb::get_caller(). Props arena, fixes #11721
git-svn-id: http://svn.automattic.com/wordpress/trunk@13174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-17 12:13:34 +00:00 |
nacin
|
02834b7206
|
Init array in wpdb:get_results() and get_col_info(). Props UnderWordPressure, miqrogroove, fixes #10607
git-svn-id: http://svn.automattic.com/wordpress/trunk@13161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-15 10:00:39 +00:00 |
nacin
|
12800b27fa
|
Add is_multisite() check to wpdb::get_blog_prefix() to fix get_blog_prefix($blog_id) call on a non-MS install. See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-13 19:57:43 +00:00 |
markjaquith
|
32d18323de
|
Use $required_php_version. Props nacin. fixes #11637
git-svn-id: http://svn.automattic.com/wordpress/trunk@12939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-03 21:38:09 +00:00 |
wpmuguru
|
88a89ebe44
|
add WP_DEBUG define check in DB code, props dxjones, see #12041
git-svn-id: http://svn.automattic.com/wordpress/trunk@12922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-01 22:22:21 +00:00 |
ryan
|
9c02a43b93
|
Typo fix. Props mentel_br. fixes #11921
git-svn-id: http://svn.automattic.com/wordpress/trunk@12763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-01-19 17:28:48 +00:00 |
wpmuguru
|
fe7b362bd1
|
options network page, db variable change, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-01-19 00:18:52 +00:00 |
ryan
|
f7d7bc2dd0
|
Use cap checks instead of multisite and super admin checks. Add some new caps. Merge cleanup. see #11644.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-01-18 22:21:36 +00:00 |
ryan
|
6da55f7792
|
Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@12733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-01-15 22:11:12 +00:00 |
ryan
|
a581554d9a
|
Use correct var name. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-01-08 20:07:40 +00:00 |
wpmuguru
|
45cf3431f2
|
db class compatible with WP, MU & multi site - See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-01-08 19:26:00 +00:00 |
ryan
|
91c8fc90c0
|
Don't set charset if mysql version does not have the collation cap. Props miqrogroove. see #11666 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@12573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-12-29 21:34:12 +00:00 |
westi
|
736315e0d5
|
Use new $required_mysql_version global in wp-db.php when checking if the mysql version is new enough. Fixes #11478 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-12-22 11:49:22 +00:00 |
ryan
|
bee735ee04
|
Bump MySQL requirement to 4.1.2 per previous discussions and announcements.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-12-15 21:04:50 +00:00 |
ryan
|
60c67e593c
|
Remove no longer needed DB has_cap() checks. Props filosofo. fixes #11443
git-svn-id: http://svn.automattic.com/wordpress/trunk@12409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-12-15 21:01:57 +00:00 |
ryan
|
57a16afcb2
|
Bump the MySQL requirement to 4.1.0. Props Denis-de-Bernardy. see #11437
git-svn-id: http://svn.automattic.com/wordpress/trunk@12404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-12-15 16:04:32 +00:00 |
westi
|
e7941d795e
|
Ensure WP_DEBUG is always defined and simplify the checks on it. Fixes #11090 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-18 08:22:49 +00:00 |
westi
|
c67e70dd91
|
First pass commentmeta implementation. See #2659 props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-17 20:17:33 +00:00 |
ryan
|
8e3808bce2
|
Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-14 14:03:32 +00:00 |
ryan
|
02c7c0e38e
|
is_blog_installed() improvements and repair.php. see #10728
git-svn-id: http://svn.automattic.com/wordpress/trunk@11902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-06 18:46:27 +00:00 |
ryan
|
82946b9484
|
Machine parseable db error codes. Props dd32. fixes #10293
git-svn-id: http://svn.automattic.com/wordpress/trunk@11865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-08-21 17:00:53 +00:00 |
ryan
|
a61bc0ec8a
|
Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@11013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-04-20 18:18:39 +00:00 |
ryan
|
cb0ad4f8ca
|
Typo fix
git-svn-id: http://svn.automattic.com/wordpress/trunk@10934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-04-14 22:34:51 +00:00 |
ryan
|
7c460ad4d3
|
phpdoc updates for wpdb. Props mdawaffe. fixes #9506
git-svn-id: http://svn.automattic.com/wordpress/trunk@10911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-04-10 21:57:40 +00:00 |
ryan
|
658d22d054
|
Store field types in wpdb object. Props mdawaffe. see #7171
git-svn-id: http://svn.automattic.com/wordpress/trunk@10910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-04-10 21:56:30 +00:00 |
ryan
|
c827471bf0
|
Backtick table and column names. Props mdawaffe. fixes #9505
git-svn-id: http://svn.automattic.com/wordpress/trunk@10907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-04-10 21:37:19 +00:00 |
ryan
|
e8b6fe7347
|
Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-03-18 02:43:45 +00:00 |
ryan
|
a077c70d52
|
Notice fix. Props ionfish. fixes #9292
git-svn-id: http://svn.automattic.com/wordpress/trunk@10735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-03-06 17:09:37 +00:00 |
ryan
|
cb712c991d
|
Only list field types that are not strings. see #7171
git-svn-id: http://svn.automattic.com/wordpress/trunk@10726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-03-06 01:06:00 +00:00 |
ryan
|
d6ee6062a6
|
Add some default field types. see #7171
git-svn-id: http://svn.automattic.com/wordpress/trunk@10725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-03-06 00:50:19 +00:00 |
ryan
|
551c0c8af9
|
Add typecasting to wpdb::insert() and update(). Props filosofo. fixes #7171
git-svn-id: http://svn.automattic.com/wordpress/trunk@10724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-03-05 23:47:02 +00:00 |
ryan
|
34d455832d
|
Allow passing sustitution args to prepare() as an array. Makes building queries for prepare easier.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-03-05 22:15:17 +00:00 |