Andrew Nacin
|
d543b36622
|
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: https://develop.svn.wordpress.org/trunk@13229 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-19 19:57:03 +00:00 |
Andrew Nacin
|
4d2c75d785
|
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: https://develop.svn.wordpress.org/trunk@13209 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-19 01:03:58 +00:00 |
Andrew Nacin
|
5745de2119
|
Fix suppressed notice in wpdb::get_caller(). Props arena, fixes #11721
git-svn-id: https://develop.svn.wordpress.org/trunk@13174 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-17 12:13:34 +00:00 |
Andrew Nacin
|
343b2b1251
|
Init array in wpdb:get_results() and get_col_info(). Props UnderWordPressure, miqrogroove, fixes #10607
git-svn-id: https://develop.svn.wordpress.org/trunk@13161 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-15 10:00:39 +00:00 |
Andrew Nacin
|
0210cf3c6e
|
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: https://develop.svn.wordpress.org/trunk@13121 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 19:57:43 +00:00 |
Mark Jaquith
|
cb141f847f
|
Use $required_php_version. Props nacin. fixes #11637
git-svn-id: https://develop.svn.wordpress.org/trunk@12939 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-03 21:38:09 +00:00 |
Ron Rennick
|
f4775300f1
|
add WP_DEBUG define check in DB code, props dxjones, see #12041
git-svn-id: https://develop.svn.wordpress.org/trunk@12922 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-01 22:22:21 +00:00 |
Ryan Boren
|
640c04fbe2
|
Typo fix. Props mentel_br. fixes #11921
git-svn-id: https://develop.svn.wordpress.org/trunk@12763 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-19 17:28:48 +00:00 |
Ron Rennick
|
cb779b4655
|
options network page, db variable change, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12757 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-19 00:18:52 +00:00 |
Ryan Boren
|
f260b32d25
|
Use cap checks instead of multisite and super admin checks. Add some new caps. Merge cleanup. see #11644.
git-svn-id: https://develop.svn.wordpress.org/trunk@12753 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-18 22:21:36 +00:00 |
Ryan Boren
|
8ef8b7bad5
|
Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@12733 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-15 22:11:12 +00:00 |
Ryan Boren
|
bc99700623
|
Use correct var name. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12668 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-08 20:07:40 +00:00 |
Ron Rennick
|
e5ddd20a49
|
db class compatible with WP, MU & multi site - See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12667 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-08 19:26:00 +00:00 |
Ryan Boren
|
9406273b6a
|
Don't set charset if mysql version does not have the collation cap. Props miqrogroove. see #11666 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12573 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-29 21:34:12 +00:00 |
Peter Westwood
|
f1241d5e6c
|
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: https://develop.svn.wordpress.org/trunk@12480 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-22 11:49:22 +00:00 |
Ryan Boren
|
13b96eb0cb
|
Bump MySQL requirement to 4.1.2 per previous discussions and announcements.
git-svn-id: https://develop.svn.wordpress.org/trunk@12410 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-15 21:04:50 +00:00 |
Ryan Boren
|
8e0d091c55
|
Remove no longer needed DB has_cap() checks. Props filosofo. fixes #11443
git-svn-id: https://develop.svn.wordpress.org/trunk@12409 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-15 21:01:57 +00:00 |
Ryan Boren
|
f2f48162ec
|
Bump the MySQL requirement to 4.1.0. Props Denis-de-Bernardy. see #11437
git-svn-id: https://develop.svn.wordpress.org/trunk@12404 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-15 16:04:32 +00:00 |
Peter Westwood
|
89a9762c42
|
Ensure WP_DEBUG is always defined and simplify the checks on it. Fixes #11090 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12207 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-11-18 08:22:49 +00:00 |
Peter Westwood
|
482e701639
|
First pass commentmeta implementation. See #2659 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@11943 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-09-17 20:17:33 +00:00 |
Ryan Boren
|
43c201d458
|
Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11930 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-09-14 14:03:32 +00:00 |
Ryan Boren
|
dcdab5fed5
|
is_blog_installed() improvements and repair.php. see #10728
git-svn-id: https://develop.svn.wordpress.org/trunk@11902 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-09-06 18:46:27 +00:00 |
Ryan Boren
|
736f389167
|
Machine parseable db error codes. Props dd32. fixes #10293
git-svn-id: https://develop.svn.wordpress.org/trunk@11865 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-08-21 17:00:53 +00:00 |
Ryan Boren
|
12c7093645
|
Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@11013 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-20 18:18:39 +00:00 |
Ryan Boren
|
b02ee27548
|
Typo fix
git-svn-id: https://develop.svn.wordpress.org/trunk@10934 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-14 22:34:51 +00:00 |
Ryan Boren
|
36cb5cd05b
|
phpdoc updates for wpdb. Props mdawaffe. fixes #9506
git-svn-id: https://develop.svn.wordpress.org/trunk@10911 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-10 21:57:40 +00:00 |
Ryan Boren
|
f88a61fac5
|
Store field types in wpdb object. Props mdawaffe. see #7171
git-svn-id: https://develop.svn.wordpress.org/trunk@10910 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-10 21:56:30 +00:00 |
Ryan Boren
|
d957761a32
|
Backtick table and column names. Props mdawaffe. fixes #9505
git-svn-id: https://develop.svn.wordpress.org/trunk@10907 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-10 21:37:19 +00:00 |
Ryan Boren
|
8d00b5d37d
|
Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10810 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-03-18 02:43:45 +00:00 |
Ryan Boren
|
c660e9c398
|
Notice fix. Props ionfish. fixes #9292
git-svn-id: https://develop.svn.wordpress.org/trunk@10735 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-03-06 17:09:37 +00:00 |
Ryan Boren
|
a746eb920a
|
Only list field types that are not strings. see #7171
git-svn-id: https://develop.svn.wordpress.org/trunk@10726 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-03-06 01:06:00 +00:00 |
Ryan Boren
|
f6001bffe8
|
Add some default field types. see #7171
git-svn-id: https://develop.svn.wordpress.org/trunk@10725 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-03-06 00:50:19 +00:00 |
Ryan Boren
|
5851028d31
|
Add typecasting to wpdb::insert() and update(). Props filosofo. fixes #7171
git-svn-id: https://develop.svn.wordpress.org/trunk@10724 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-03-05 23:47:02 +00:00 |
Ryan Boren
|
a3ff3cdbf2
|
Allow passing sustitution args to prepare() as an array. Makes building queries for prepare easier.
git-svn-id: https://develop.svn.wordpress.org/trunk@10721 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-03-05 22:15:17 +00:00 |
Ryan Boren
|
37b231b542
|
Use mysql_real_escape_string() only in prepare(), insert(), and update(). escape() uses addslashes only. Add array support to escape(). see #9189
git-svn-id: https://develop.svn.wordpress.org/trunk@10604 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-02-20 19:05:12 +00:00 |
Ryan Boren
|
e09712d208
|
Use real escape in environments that support it. see #5455
git-svn-id: https://develop.svn.wordpress.org/trunk@10597 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-02-19 19:01:57 +00:00 |
Andrew Ozz
|
b13e345aa3
|
Improve error message, props simonwheatley, fixes #8397
git-svn-id: https://develop.svn.wordpress.org/trunk@9935 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-28 04:40:20 +00:00 |
Mark Jaquith
|
41e0b87c8f
|
Initialize caller as an array. Fixes a bug introduced in [9886]
git-svn-id: https://develop.svn.wordpress.org/trunk@9890 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-25 23:45:02 +00:00 |
Ryan Boren
|
877a39eff7
|
List all callers
git-svn-id: https://develop.svn.wordpress.org/trunk@9886 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-25 22:17:55 +00:00 |
Ryan Boren
|
84435c6ed8
|
Return affected rows for alter queries. Props BjornW. fixes #7215
git-svn-id: https://develop.svn.wordpress.org/trunk@9204 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-16 19:54:00 +00:00 |
Ryan Boren
|
686555396e
|
silence is_writable() warnings. see #7640
git-svn-id: https://develop.svn.wordpress.org/trunk@9199 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-16 17:35:39 +00:00 |
Peter Westwood
|
1c97951b11
|
Fix phpdoc comments to refer to wp-content/db.php. Props DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@9067 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-02 16:45:28 +00:00 |
Ryan Boren
|
9ab6c5d3f7
|
wpdb::has_cap() from mdawaffe. fixes #7609
git-svn-id: https://develop.svn.wordpress.org/trunk@8740 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-26 23:57:48 +00:00 |
Ryan Boren
|
e4dd07c75e
|
include mysql version in version check query string. Props andy. fixes #7600 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8739 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-26 22:30:56 +00:00 |
Ryan Boren
|
13cf1a5c78
|
Use a subquery in category__not_in query if the DB version supports it. Props pedrop. fixes #7599
git-svn-id: https://develop.svn.wordpress.org/trunk@8738 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-26 19:18:58 +00:00 |
Ryan Boren
|
2272a1a950
|
Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-09 05:36:14 +00:00 |
Mark Jaquith
|
3cab99fbd2
|
Cast to array when using foreach(). Props santosj (and thanks for your perseverance!). fixes #2784
git-svn-id: https://develop.svn.wordpress.org/trunk@8572 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-06 20:31:54 +00:00 |
Ryan Boren
|
822ae638e1
|
Don't LIMIT updates to 1. Props hailin. fixes #7272
git-svn-id: https://develop.svn.wordpress.org/trunk@8311 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-07-11 01:49:06 +00:00 |
Ryan Boren
|
69ce37d463
|
Mark string that cannot be gettexted. Props nbachiyski. fixes #7074
git-svn-id: https://develop.svn.wordpress.org/trunk@8168 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-06-23 15:40:43 +00:00 |
Ryan Boren
|
ef20031e40
|
phpdoc updates from jacobsantos. see #7038
git-svn-id: https://develop.svn.wordpress.org/trunk@8164 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-06-22 20:23:23 +00:00 |
Peter Westwood
|
6869890baf
|
Make the SAVEQUERIES define more flexible. Fixes #6764 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@8134 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-06-20 15:17:09 +00:00 |
Peter Westwood
|
4589dad387
|
Specify collation as well when connecting to the database if it is provided. See #6410 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@7579 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-03-30 17:56:27 +00:00 |
Ryan Boren
|
39a2681bc7
|
Capture last db error. Pass it in WP_Error data when term inserts fail. Fix typo in WP_Ajax_Response
git-svn-id: https://develop.svn.wordpress.org/trunk@7431 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-03-20 23:34:32 +00:00 |
Ryan Boren
|
6a0fae69b5
|
Don't error_log() if error_log file is not writable. see #5771
git-svn-id: https://develop.svn.wordpress.org/trunk@7419 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-03-20 19:16:38 +00:00 |
Ryan Boren
|
561b190a79
|
Don't error_log() if error_log file is not writable. see #5771
git-svn-id: https://develop.svn.wordpress.org/trunk@7418 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-03-20 19:08:40 +00:00 |
Ryan Boren
|
71827ccadf
|
Suppress logging of DB errors when checking if blog is installed. see #5771
git-svn-id: https://develop.svn.wordpress.org/trunk@7269 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-03-12 22:41:43 +00:00 |
Ryan Boren
|
a8613a3e4d
|
Silence warnings if error_log is disabled. fixes #5771
git-svn-id: https://develop.svn.wordpress.org/trunk@7037 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-02-26 09:45:51 +00:00 |
Peter Westwood
|
db19990879
|
Add keyed object output to wpdb::get_results. Fixes #5286 props andy.
git-svn-id: https://develop.svn.wordpress.org/trunk@7028 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-02-25 22:00:27 +00:00 |
Ryan Boren
|
3a18b96c9b
|
Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@6726 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-02-05 06:47:27 +00:00 |
Ryan Boren
|
60b802e55d
|
Some notice fixes from Nazgul. fixes #3155
git-svn-id: https://develop.svn.wordpress.org/trunk@6711 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-02-02 18:42:09 +00:00 |
Ryan Boren
|
69c070237c
|
Allow multiple db instances. Props Nazgul. fixes #2722
git-svn-id: https://develop.svn.wordpress.org/trunk@6701 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-01-31 22:09:17 +00:00 |
Ryan Boren
|
22eb9c1d99
|
Show DB errors if WP_DEBUG and if installing. see #5473
git-svn-id: https://develop.svn.wordpress.org/trunk@6469 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-12-22 17:45:30 +00:00 |
Ryan Boren
|
7e06628e1b
|
Don't block SET NAMES query. Props g30rg3x for the find. fixes #5503 for 2.4
git-svn-id: https://develop.svn.wordpress.org/trunk@6464 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-12-22 06:24:48 +00:00 |
Ryan Boren
|
fa1f09bcb3
|
Forgot this. see #5495
git-svn-id: https://develop.svn.wordpress.org/trunk@6460 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-12-21 19:54:46 +00:00 |
Ryan Boren
|
9365777088
|
Return after bailing since bail doesn't always die now. Don't do queries if constructor didn't complete. see #5495
git-svn-id: https://develop.svn.wordpress.org/trunk@6459 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-12-21 19:30:08 +00:00 |
Ryan Boren
|
1671feadfc
|
Set error if there is a problem connecting to the DB. Props skeltoac and Potter_System. fixes #5495
git-svn-id: https://develop.svn.wordpress.org/trunk@6426 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-12-20 02:10:09 +00:00 |
Ryan Boren
|
a3058bdbc2
|
Suppress display of DB error messages by default. Props filosofo. see #5473
git-svn-id: https://develop.svn.wordpress.org/trunk@6391 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-12-16 21:38:24 +00:00 |
Peter Westwood
|
23b7e0b2c4
|
Comment out the code that can't run so as to not confuse people.
git-svn-id: https://develop.svn.wordpress.org/trunk@6366 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-12-09 11:28:57 +00:00 |
Ryan Boren
|
fdb374bf6a
|
Debug backtrace for queries. Props tellyworth. fixes #5218
git-svn-id: https://develop.svn.wordpress.org/trunk@6342 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-11-21 00:14:58 +00:00 |
Ryan Boren
|
8e29dfa495
|
wpdb::set_prefix(). fixes #5287
git-svn-id: https://develop.svn.wordpress.org/trunk@6300 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-10-31 03:59:18 +00:00 |
Mark Jaquith
|
13758c870e
|
Forget about 4th update() param -- only accept named array. Roll out more insert()/update() and various cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@6240 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-10-13 02:36:38 +00:00 |
Mark Jaquith
|
05f7b9d773
|
Allow wpdb->update() to optionally take a named array of where column/value pairs (which will be ANDed)
git-svn-id: https://develop.svn.wordpress.org/trunk@6239 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-10-13 01:44:25 +00:00 |
Mark Jaquith
|
48c555d637
|
Remove redundant "db_" from db_insert() and db_update() methods. Now just insert() and update(). see #5178
git-svn-id: https://develop.svn.wordpress.org/trunk@6238 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-10-13 00:54:26 +00:00 |
Mark Jaquith
|
1140390e17
|
Oops, within the class here.
git-svn-id: https://develop.svn.wordpress.org/trunk@6236 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-10-13 00:45:34 +00:00 |
Mark Jaquith
|
67cb7b99ef
|
Introducing db_insert() and db_update(), with immediate usage in wp_insert_post(). fixes #5178
git-svn-id: https://develop.svn.wordpress.org/trunk@6221 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-10-10 22:01:40 +00:00 |
Peter Westwood
|
8fe6767f3b
|
Move all calls to mysql_ functions to withiWPDB so that t we don't expect any mysql stuff when we are using a custo$wpdb class. Fixes #5127
props ComputerGuru.
git-svn-id: https://develop.svn.wordpress.org/trunk@6199 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-10-06 08:40:54 +00:00 |
Mark Jaquith
|
5d12c48818
|
Use wp_die() for WPDB bails. Send 500 response and no-cache headers so wp_die()s are not cached. props DD32. fixes #3471
git-svn-id: https://develop.svn.wordpress.org/trunk@6110 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-09-13 06:23:23 +00:00 |
Ryan Boren
|
397b2c28ba
|
Add missing instance var. Props filosofo. see #4806
git-svn-id: https://develop.svn.wordpress.org/trunk@6046 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-09-05 23:17:41 +00:00 |
Ryan Boren
|
7a43c01e08
|
Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@6026 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-09-03 23:32:58 +00:00 |
Ryan Boren
|
f3e9670cfd
|
Revert get_col behavior. Props mdawaffe. fixes #4826
git-svn-id: https://develop.svn.wordpress.org/trunk@5950 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-08-27 19:44:53 +00:00 |
Matt Mullenweg
|
3b8b2a649a
|
A more elegant way of doing get_col.
git-svn-id: https://develop.svn.wordpress.org/trunk@5861 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-08-10 19:30:24 +00:00 |
Mark Jaquith
|
91a88550f1
|
Prevent get_col() from returning an array of NULLs. see #4725
git-svn-id: https://develop.svn.wordpress.org/trunk@5860 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-08-10 18:08:04 +00:00 |
Matt Mullenweg
|
5dfab7711f
|
If you don't have anything nice to say, don't say anything at all. (And certainly don't return the results of a previous query to an empty query.)
git-svn-id: https://develop.svn.wordpress.org/trunk@5858 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-08-10 01:33:56 +00:00 |
Mark Jaquith
|
bd75df9d1e
|
Undo pre-doublequoting in prepare(). Props JeremyVisser. see #4553
git-svn-id: https://develop.svn.wordpress.org/trunk@5791 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-07-09 17:55:32 +00:00 |
Mark Jaquith
|
0ccba3e8bb
|
Automatically quote strings in $wpdb->prepare(). Use vsprintf(). see #4553
git-svn-id: https://develop.svn.wordpress.org/trunk@5779 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-07-05 17:32:46 +00:00 |
Mark Jaquith
|
b0b9c7946b
|
Introducing "prepare", a WPDB method for sprintf()-prepared SQL statements. see #4553. Implementation details to follow.
git-svn-id: https://develop.svn.wordpress.org/trunk@5778 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-07-04 16:18:57 +00:00 |
Ryan Boren
|
b046d67f41
|
Trim empty lines. Nothing but newline.
git-svn-id: https://develop.svn.wordpress.org/trunk@5700 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-06-14 02:25:30 +00:00 |
Ryan Boren
|
523a3724bb
|
Very rough initial commit of taxonomy for everyone's hacking pleasure. There be dragons. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5510 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-05-22 05:12:38 +00:00 |
rob1n
|
0aa8cebe86
|
Don't make useless status_header() call. fixes #4249
git-svn-id: https://develop.svn.wordpress.org/trunk@5458 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-05-12 19:30:38 +00:00 |
rob1n
|
6508eb9d47
|
Don't call the function if it doesn't exist yet. fixes #4249
git-svn-id: https://develop.svn.wordpress.org/trunk@5455 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-05-12 16:24:17 +00:00 |
rob1n
|
3deb0fe500
|
New status_header code, and WP-DB bail() errors send a 503 Service Unavailable. see #2409
Also, the new header code to text array has 302 as Found. fixes #4183
git-svn-id: https://develop.svn.wordpress.org/trunk@5446 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-05-11 03:34:50 +00:00 |
Ryan Boren
|
f01644b6c6
|
Pass link indentifier to mymysql_affected_rows(). Props Doug Kaye.
git-svn-id: https://develop.svn.wordpress.org/trunk@5195 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-04-06 17:22:53 +00:00 |
Mark Jaquith
|
56368548ad
|
Use strpos instead of strstr where ever possible, for speed. Props rob1n. fixes #3920
git-svn-id: https://develop.svn.wordpress.org/trunk@4990 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-03-07 05:29:15 +00:00 |
Mark Jaquith
|
5acfcd9fea
|
trailing tabs and whitespace cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@4953 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-02-27 15:24:54 +00:00 |
Ryan Boren
|
ab76209618
|
First cut at mysql utf-8 charset suport. Props to sehh, drupal, and textpattern. fixes #3517
git-svn-id: https://develop.svn.wordpress.org/trunk@4860 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-02-02 00:04:35 +00:00 |
Ryan Boren
|
53b8aa18e4
|
Revert accidental commit.
git-svn-id: https://develop.svn.wordpress.org/trunk@4832 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-01-30 01:46:05 +00:00 |
Ryan Boren
|
b0f28a6dff
|
Remove notoptions caching. Multile rewrite_rules options were being created. See #3692 #2268
git-svn-id: https://develop.svn.wordpress.org/trunk@4831 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-01-30 01:43:39 +00:00 |
Ryan Boren
|
2a139cd3ca
|
Pass resource to mysql_error. Props jgough. fixes #3544
git-svn-id: https://develop.svn.wordpress.org/trunk@4741 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-01-16 02:32:42 +00:00 |
Ryan Boren
|
0f2b6b07b9
|
Cleanup link upgrade code. Drop linkcategories table.
git-svn-id: https://develop.svn.wordpress.org/trunk@4738 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-01-16 01:54:50 +00:00 |
Ryan Boren
|
a4ff55c30a
|
Fiddle with object destruction and shutdown. Curses upon php 5.2. fixes #3354
git-svn-id: https://develop.svn.wordpress.org/trunk@4686 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-01-06 23:36:51 +00:00 |