Commit Graph

155 Commits

Author SHA1 Message Date
ryan 172bfb801f Don't enforce presence of mysql system if custom DB class is being used. Props Nazgul. fixes #3293
git-svn-id: http://svn.automattic.com/wordpress/trunk@4489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-19 01:06:08 +00:00
ryan 92421de747 Ref more singletons.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-19 00:12:57 +00:00
ryan 79d9f41663 Use die() not wp_die(). Props AlanJCastonguay. fixes #3357
git-svn-id: http://svn.automattic.com/wordpress/trunk@4464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-13 17:37:41 +00:00
ryan 22bee1c9d7 Preserve the original query object as wp_the_query so that it's not stomped by subsequent calls to query_posts().
git-svn-id: http://svn.automattic.com/wordpress/trunk@4460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-09 06:50:58 +00:00
ryan 911d3a1403 Remove comment. fixes #3210
git-svn-id: http://svn.automattic.com/wordpress/trunk@4452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-08 02:04:54 +00:00
markjaquith 54d7ccba56 make /languages/ directory default to /wp-content/languages/ with fallback to /wp-includes/languages/. Props Nazgul. fixes #3315
git-svn-id: http://svn.automattic.com/wordpress/trunk@4446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-04 05:20:39 +00:00
markjaquith a9d23d40d5 allow timer_stop() to use number_format() when returning. Props mdawaffe and nbachiyski. fixes #991
git-svn-id: http://svn.automattic.com/wordpress/trunk@4345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-04 22:00:53 +00:00
ryan eb4e2a2216 Prefix unregister_GLOBALS to avoid name collisions. Props westi. fixes #3151
git-svn-id: http://svn.automattic.com/wordpress/trunk@4203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-21 21:00:22 +00:00
ryan 7a032342b3 Turn hard-coded paths to defines. Pull gettext includes int wp-settings. Props mdawaffe. fixes #3157
git-svn-id: http://svn.automattic.com/wordpress/trunk@4202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-21 20:46:39 +00:00
ryan 0f7bb42a79 timer_stop() wanted to be near timer_start().
git-svn-id: http://svn.automattic.com/wordpress/trunk@4174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-07 23:26:52 +00:00
ryan c84524f349 db.php instead of wp-db.php for pluggable DB load. #2721
git-svn-id: http://svn.automattic.com/wordpress/trunk@4160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-02 20:27:51 +00:00
ryan c01753aff6 Allow pluggable wp-db. #2721
git-svn-id: http://svn.automattic.com/wordpress/trunk@4154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-01 18:47:47 +00:00
ryan 849a0d29d7 Use get_option instead of get_settings. Just 'cause.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 21:46:31 +00:00
ryan b55b6aa240 Allow stylesheet only themes to provide functions.php. Props skeltoac. fixes #3048
git-svn-id: http://svn.automattic.com/wordpress/trunk@4131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 09:14:37 +00:00
ryan fa1ec4ea1f Don't wp_die() before functions.php is loaded.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-05 03:47:20 +00:00
ryan 978fc182da Tweak theme validation.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-11 22:44:56 +00:00
ryan 42557940a1 Use wp_die(). Props filosofo. fixes #2914
git-svn-id: http://svn.automattic.com/wordpress/trunk@3985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-05 22:00:03 +00:00
matt b1aee5c2db Another step toward removing old table vars, this is why we should be careful about naming things! Fixes #2524
git-svn-id: http://svn.automattic.com/wordpress/trunk@3951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-04 18:28:08 +00:00
ryan 1034767a9a wp_get_current_commenter()
git-svn-id: http://svn.automattic.com/wordpress/trunk@3902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-22 20:52:12 +00:00
ryan 6d7717e159 Move plugin API to plugin.php. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-20 02:03:24 +00:00
ryan 62927ab65b Remove wp- prefix from wp-l10n.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@3870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-15 07:24:44 +00:00
ryan c93efa866e Include file renames. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-11 06:43:54 +00:00
ryan c56e62f5c1 Move user functions to user.php. Relocate more post functions to post.php. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-08 02:22:16 +00:00
ryan 3c8ed766e1 Reworg post/page/attachment functions. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-07 23:17:59 +00:00
ryan 19ea5fb78f Reorg bookmark functions. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-05 02:12:59 +00:00
ryan 0f5dc0f066 Reorg category functions. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-04 22:40:53 +00:00
ryan 4d49e98fe4 Script loader from mdawaffe. #2701
git-svn-id: http://svn.automattic.com/wordpress/trunk@3788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-22 17:16:05 +00:00
ryan 6027cfa946 Reorg comment functions. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-19 02:32:12 +00:00
ryan 40b2e610cf Move theme functions to theme.php. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-18 04:44:33 +00:00
matt e78ef4fe16 Remove use of deprecated variables, don't show bookmarklet form to unrecognized browser.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-04 00:25:04 +00:00
ryan 3d2347a655 WP_Locale. Props Sewar. fixes #2568
git-svn-id: http://svn.automattic.com/wordpress/trunk@3676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-02 00:20:11 +00:00
ryan 8a751c591d Pluggable install functions. fixes #2616
git-svn-id: http://svn.automattic.com/wordpress/trunk@3670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-31 08:07:39 +00:00
ryan 9303053d39 Move WP_Query and its wrapper functions to query.php. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-13 01:44:32 +00:00
ryan 6970a75e94 Rewrite API additions and improvements from David House. #2433
git-svn-id: http://svn.automattic.com/wordpress/trunk@3638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-12 22:57:00 +00:00
ryan fb1e531077 Cron improvements from masquerade. #2425
git-svn-id: http://svn.automattic.com/wordpress/trunk@3634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-07 21:43:59 +00:00
ryan 22b9357157 Update bookmarks include.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-02 10:22:18 +00:00
ryan ca92bb4311 Move deprecated functions to deprecated.php. #2520
git-svn-id: http://svn.automattic.com/wordpress/trunk@3589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-02 03:27:48 +00:00
ryan be1f99d329 _SERVER is not escaped by magic_quotes_gpc so don't strip it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-28 01:52:59 +00:00
ryan e9c75f4bd2 Bookmark/link rework. #2499
git-svn-id: http://svn.automattic.com/wordpress/trunk@3570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-27 04:57:30 +00:00
ryan decf6ec071 Move wp_cron from shutdown hook to init. It was acting all funky (in the bad way) in the shutdown hook.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-20 21:07:17 +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
ryan a5fc1e9ebe Post status = future. #2426
git-svn-id: http://svn.automattic.com/wordpress/trunk@3514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-12 07:41:56 +00:00
ryan fa6f173c88 Remove core_files_loaded action due to general uselessness. fixes #2347
git-svn-id: http://svn.automattic.com/wordpress/trunk@3499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-30 21:29:22 +00:00
ryan 042f170ed8 Remove unneeded (and broken) line. Props asher. fixes #2314
git-svn-id: http://svn.automattic.com/wordpress/trunk@3466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-20 21:02:59 +00:00
ryan 515892d7ab wp_roles cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-18 01:06:11 +00:00
matt fdba51eb87 Let's not modify wpconfig for now, fixes #2107
git-svn-id: http://svn.automattic.com/wordpress/trunk@3449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-17 01:03:23 +00:00
ryan 84da5fc90f Save cache after the shutdown hook runs. fixes #2232
git-svn-id: http://svn.automattic.com/wordpress/trunk@3411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-06 02:10:43 +00:00
ryan c1ed565c23 Check if SCRIPT_FILENAME is set to avoid warnings. fixes #2227
git-svn-id: http://svn.automattic.com/wordpress/trunk@3408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-06 01:05:59 +00:00
ryan 38f4fca0db Move PHP_SELF setup to wp-settings.php. #2153
git-svn-id: http://svn.automattic.com/wordpress/trunk@3382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-29 23:11:26 +00:00
matt 885ee8f9fd This should fix permalinks, but may break the PHP as CGI funkiness again
git-svn-id: http://svn.automattic.com/wordpress/trunk@3069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-14 08:56:40 +00:00