Commit Graph

232 Commits

Author SHA1 Message Date
ryan
4cc5a3d8e9 Instantiate wpdb only if not already set. #2721
git-svn-id: http://svn.automattic.com/wordpress/trunk@4153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-01 18:44:13 +00:00
ryan
756caab182 Init last_result to an empty array. fixes #2913
git-svn-id: http://svn.automattic.com/wordpress/trunk@4092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-11 22:23:03 +00:00
ryan
9b983ead22 No magic vals
git-svn-id: http://svn.automattic.com/wordpress/trunk@4067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-29 01:45:17 +00:00
ryan
3a6c948491 htmlspecial
git-svn-id: http://svn.automattic.com/wordpress/trunk@4065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-29 01:40:47 +00:00
ryan
b6aaa70b7c specialchars DB error.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-28 22:58:38 +00:00
ryan
ee691916c4 Remove unneeded php tags.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-17 17:08:00 +00:00
ryan
f5f5709cba bail() cannot use wp_die(). wp_die() isn't loaded when bail() runs. fixes #2941
git-svn-id: http://svn.automattic.com/wordpress/trunk@4018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-16 15:41:36 +00:00
ryan
4e5380a24a wp_die() improvements from Sewar. fixes #2902
git-svn-id: http://svn.automattic.com/wordpress/trunk@4006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-10 05:29:10 +00:00
ryan
dd202ce1f9 Death to trailing tabs. Props Mark J. fixes #2405
git-svn-id: http://svn.automattic.com/wordpress/trunk@3517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-12 07:53:23 +00:00
matt
60327b0ca2 It falls back to funky escaping that causes problems and is not reversible, so temporarily disabling.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-26 20:11:41 +00:00
ryan
20ae785c4c Typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-04 06:27:04 +00:00
matt
76fd741767 Better escaping from class, fixes #1394
git-svn-id: http://svn.automattic.com/wordpress/trunk@2684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-02 23:31:43 +00:00
matt
ff3d436b2f http://mosquito.wordpress.org/view.php?id=1353 - Hat tip MC_incubus
git-svn-id: http://svn.automattic.com/wordpress/trunk@2598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-13 20:31:59 +00:00
matt
f3031d20db Be sure about encoding. Fixes http://mosquito.wordpress.org/view.php?id=1222
git-svn-id: http://svn.automattic.com/wordpress/trunk@2548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-19 03:35:48 +00:00
matt
4d55cc850b Better message.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-19 03:25:14 +00:00
saxmatt
f4dcbb2a3b Don't cache pages with DB errors.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-19 02:18:23 +00:00
saxmatt
064773fcd8 Escape from slashville
git-svn-id: http://svn.automattic.com/wordpress/trunk@1545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-21 01:50:59 +00:00
saxmatt
db943e4a2e Typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-20 17:56:51 +00:00
saxmatt
38545517b1 Some profiling info in $wpdb optionally.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-20 17:52:49 +00:00
saxmatt
2d407089c9 Improved error messages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-23 01:35:56 +00:00
saxmatt
25ae03ee65 Giant commit, sorry mailing list people. Move all table names to new $wpdb versions. Works but the whole app needs thorough testing now.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-24 08:22:18 +00:00
saxmatt
f824d3efd5 No trace is being used.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-01 00:44:11 +00:00
saxmatt
0864fdf0f2 Updated to use the latest and greatest.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-26 02:54:06 +00:00
saxmatt
08e7857fcf Just an indenting thing that was bugging me.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-26 02:28:06 +00:00
saxmatt
06fa93c297 Typo fixes from Cena.
git-svn-id: http://svn.automattic.com/wordpress/trunk@964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-08 08:49:21 +00:00
saxmatt
8927968849 Removed global $siteurl and $blogfilename, use get_settings. Syntax fix for wp-db.
git-svn-id: http://svn.automattic.com/wordpress/trunk@945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-26 16:15:48 +00:00
saxmatt
f080abc376 Fix for PHP5, formatting changes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-26 15:18:16 +00:00
saxmatt
11d47e1330 Duplicate comment number queries.
git-svn-id: http://svn.automattic.com/wordpress/trunk@681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-02 00:45:12 +00:00
alex_t_king
a392bb19d3 suppressing Notice messages and moving the use_cache setting higher in blog-header so that it actually gets used when getting settings
git-svn-id: http://svn.automattic.com/wordpress/trunk@677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-01 21:12:22 +00:00
saxmatt
61df3dab96 Better error reporting.
git-svn-id: http://svn.automattic.com/wordpress/trunk@635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-22 01:50:20 +00:00
saxmatt
869714e60b Now more sanely deals with bad connection data and offers useful suggestions, doesn't go on when it can't connect to the DB.
git-svn-id: http://svn.automattic.com/wordpress/trunk@625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-18 09:18:57 +00:00
saxmatt
43e4a8a930 The great renaming.
git-svn-id: http://svn.automattic.com/wordpress/trunk@601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-11 00:22:36 +00:00