Commit Graph

507 Commits

Author SHA1 Message Date
ryan
f9a92c2588 Coding style cleanups
git-svn-id: http://svn.automattic.com/wordpress/trunk@12734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 22:25:40 +00:00
ryan
439d50d655 Cleanup wp-settings. Move functions needed at startup into load.php. Props nacin. see #11881
git-svn-id: http://svn.automattic.com/wordpress/trunk@12732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 22:03:41 +00:00
westi
6780fa717c Tidy up the mu-plugins loading code to make it more readable.
Fix a couple of other tab/whitespace issues.

git-svn-id: http://svn.automattic.com/wordpress/trunk@12713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 21:28:33 +00:00
wpmuguru
dbd245932d multi-site startup, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-10 18:10:51 +00:00
westi
3153720d35 Tidy up logic for defining WP_DEBUG so we only define it if it isn't already. Fixes #11837 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-10 10:57:01 +00:00
ryan
e068f48744 MULTSITE must be true. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 20:27:50 +00:00
wpmuguru
db46fa6e1d Add compatability for MU to is_multisite() - See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 17:24:40 +00:00
ryan
ce33a91f95 Deprecate generate_random_password(). fixes #11746
git-svn-id: http://svn.automattic.com/wordpress/trunk@12624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 02:22:51 +00:00
ryan
f5e12260d4 Introduce is_multisite(). see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 20:19:35 +00:00
azaozz
1c55a42fa0 Move is_admin() to wp-settings.php so it's available when query.php is not included.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-14 00:38:05 +00:00
azaozz
3b82000cc3 Do not show PHP 5.3 deprecated errors when WP_DEBUG is set, props mrmist nacin, fixes #10533
git-svn-id: http://svn.automattic.com/wordpress/trunk@12384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-12 09:29:20 +00:00
azaozz
d4d309a1c6 Disable trash for attachments for now pending improvements in 3.0, fixes #11149
git-svn-id: http://svn.automattic.com/wordpress/trunk@12377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-12 06:40:16 +00:00
markjaquith
bf264bb66d Post/Page Image was too generic a name. Post/Page Thumbnail is more clear, even if you can create very large thumbnail images if you so choose.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 06:14:36 +00:00
markjaquith
0415ab7b42 Standardize around "post image" instead of "post thumbnail"
git-svn-id: http://svn.automattic.com/wordpress/trunk@12339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 16:34:04 +00:00
ryan
2371043644 Set default timezone. Props Denis-de-Bernardy. fixes #10940
git-svn-id: http://svn.automattic.com/wordpress/trunk@12315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-02 17:50:07 +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
ryan
a2c12cb66b Make sure WP_CACHE is true. Props nacin. fixes #10602
git-svn-id: http://svn.automattic.com/wordpress/trunk@12192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-16 18:53:57 +00:00
westi
7251aff3f3 Introduce require_if_theme_supports(), move post thumbnails functions to there own include and only included them if the theme supports them. See #10928 and [12132]
git-svn-id: http://svn.automattic.com/wordpress/trunk@12134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-01 10:10:06 +00:00
ryan
9ee06eaec7 Introduce get/set/delete_site_transient(). Make theme_roots a site transient.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-29 21:53:57 +00:00
markjaquith
c664315b01 Active plugin filter, plugin deactivation array_splice() protection. props apeatling. fixes #10839
git-svn-id: http://svn.automattic.com/wordpress/trunk@11966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 04:15:37 +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
azaozz
cd03493d94 Send Retry-After header when in maintenance mode, props sirzooro, fixes #10439
git-svn-id: http://svn.automattic.com/wordpress/trunk@11820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-15 08:10:56 +00:00
markjaquith
a431376de5 Be consistent about slashing _REQUEST superglobal. props dd32. fixes #10360
git-svn-id: http://svn.automattic.com/wordpress/trunk@11760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-31 22:22:54 +00:00
azaozz
39e4f05a15 Trash status updates for posts, pages, comments and attachments, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-30 13:39:34 +00:00
westi
cdcb806070 Add extra site debugging support to enable conditionally enable display_errors or a special error_log. Fixes #10202 props sivel.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-09 20:51:52 +00:00
azaozz
044d460b31 Improved $_SERVER['REQUEST_URI'] test for IIS, props ruslany, fixes #5682 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-28 00:45:12 +00:00
ryan
090bee02ab Load formatting.php before install redirect so that wp_redirect() can call _deep_replace(). see #10226
git-svn-id: http://svn.automattic.com/wordpress/trunk@11622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-22 20:10:02 +00:00
ryan
ae5848d393 Register default taxonomies before theme functions are loaded to satisfy themes that don't wait until init to call taxonomy functions. Default taxonomies are registered again during init so that translations are handled correctly. Props Denis-de-Bernardy. fixes #9644 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-15 21:53:51 +00:00
ryan
90e6c1bb2f Set REQUEST to contain GET + POST. No cookies. fixes #8814
git-svn-id: http://svn.automattic.com/wordpress/trunk@11268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-11 17:48:24 +00:00
ryan
f9ac4331a0 Revert accidental bits. see #9706
git-svn-id: http://svn.automattic.com/wordpress/trunk@11265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-11 17:32:16 +00:00
ryan
09dd9cf338 Add timezone_string to populate_options. Props hakre. fixes #9706
git-svn-id: http://svn.automattic.com/wordpress/trunk@11264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-11 17:31:30 +00:00
ryan
ee0bfee679 Error reporting fixes. Props Denis-de-Bernardy, jacobsantos. fixes #9639 #8701
git-svn-id: http://svn.automattic.com/wordpress/trunk@11128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-29 20:18:44 +00:00
ryan
d2110af1b9 Define wp_clone() before loading the cache.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-15 19:14:43 +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
62374e5c72 Require active plugin files to end in .php. Props hakre. fixes #9406
git-svn-id: http://svn.automattic.com/wordpress/trunk@10892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-08 18:34:46 +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
1eab8fccb2 Introduce singleton widget factory
git-svn-id: http://svn.automattic.com/wordpress/trunk@10808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-17 23:44:36 +00:00
ryan
48000c9225 Separate default widgets from widgets API. Always load API. fixes #9349
git-svn-id: http://svn.automattic.com/wordpress/trunk@10795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-16 22:02:40 +00:00
ryan
3bf4ed1758 Support mu-plugins for 'Must Use' autoload plugins
git-svn-id: http://svn.automattic.com/wordpress/trunk@10737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-07 00:03:40 +00:00
ryan
c1886783d1 Use wpdb::insert() and update(). see #6836
git-svn-id: http://svn.automattic.com/wordpress/trunk@10731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 05:06:15 +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
westi
9f1a7e4992 Unset once we have included all the plugins to keep things tidy. Fixes #6308 props DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-22 08:30:12 +00:00
ryan
5dfddd7b18 Switch to pomo lib. Support gettext contexts. Deprecate long form functions. Props nbachiyski. fixes #9112 #9111
git-svn-id: http://svn.automattic.com/wordpress/trunk@10584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-17 05:03:29 +00:00
ryan
f1d335052d Flag if using external object cache. see #9048
git-svn-id: http://svn.automattic.com/wordpress/trunk@10513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-05 22:01:39 +00:00
ryan
091b7a876b Revert 10507. Had extra bits in. see #8702
git-svn-id: http://svn.automattic.com/wordpress/trunk@10508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-05 20:47:30 +00:00
ryan
80a6b13f81 HTTP API updates and fixes. Props sivel. see #8702
git-svn-id: http://svn.automattic.com/wordpress/trunk@10507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-05 20:46:39 +00:00
azaozz
0416475ebb Load the minified versions of the scripts by default, define('SCRIPT_DEBUG', true); can be used to load the development versions
git-svn-id: http://svn.automattic.com/wordpress/trunk@10443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-26 13:24:44 +00:00
westi
88838cc993 Use the correct PHP6 check.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-24 13:20:59 +00:00
westi
cbe2d8b09c Error reporting (again\!) See #8701 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-24 13:01:37 +00:00
westi
a7d2a19c70 Sort out the error_reporting for PHP 5.3. See #8701.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-23 17:55:16 +00:00
westi
978652431d More Error Reporting stuff. See # 8701 props Denis-de-Bernardy
git-svn-id: http://svn.automattic.com/wordpress/trunk@10418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-23 13:18:50 +00:00
westi
ff91fefd30 Use & not ^ for E_STRICT on PHP 5
git-svn-id: http://svn.automattic.com/wordpress/trunk@10407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-22 21:04:48 +00:00
westi
0c9e106ccc Update error_reporting configuration for newer version of PHP. Fixes #8701 props jacobsantos
git-svn-id: http://svn.automattic.com/wordpress/trunk@10405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-22 20:44:06 +00:00
azaozz
a750885c8e Minify all js and add the non-minified files as .dev.js
git-svn-id: http://svn.automattic.com/wordpress/trunk@10291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-02 15:08:58 +00:00
ryan
8b349590bb Turn off magic_quotes_sybase. It prevents addslashes from escaping backslashes. fixes #8757 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-31 22:09:57 +00:00
ryan
545da15950 Notice fixes from DD32. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@9596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-10 18:54:18 +00:00
ryan
3fc6097a5a phpdoc corrections from jacobsantos. see #7918
git-svn-id: http://svn.automattic.com/wordpress/trunk@9243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-18 20:46:30 +00:00
ryan
d7fccb66d3 Sanitation and error handling for plugin install. Props DD32. see #6015
git-svn-id: http://svn.automattic.com/wordpress/trunk@9163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 15:56:33 +00:00
ryan
c209f15b5c Don't die with 503 if WP_INSTALLING. Don't load plugins if WP_INSTALLING. Remove old files and working dir before exiting maintenance mode. see #5560
git-svn-id: http://svn.automattic.com/wordpress/trunk@9085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-05 05:45:34 +00:00
azaozz
e1226189ad Fix typo in wp-settings.php. Props mictasm, fixes #7638
git-svn-id: http://svn.automattic.com/wordpress/trunk@8772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-29 09:32:48 +00:00
ryan
35b18e5034 Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@8600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 05:36:14 +00:00
ryan
05305465e4 Automatic upgrade, first cut. see #5560
git-svn-id: http://svn.automattic.com/wordpress/trunk@8595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-08 22:49:35 +00:00
azaozz
a5d9355329 Revert 8562 (last was incorrect)
git-svn-id: http://svn.automattic.com/wordpress/trunk@8565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 01:00:33 +00:00
azaozz
dc9f3139a1 Revert 8562
git-svn-id: http://svn.automattic.com/wordpress/trunk@8564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 00:44:40 +00:00
azaozz
0c6394a0b9 Stop fatal error in post revisions when setting the include path is disabled. Props santosj, for 2.7
git-svn-id: http://svn.automattic.com/wordpress/trunk@8562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-05 23:56:52 +00:00
ryan
3c99cfc4f5 HTTP POST and REQUEST API from jacobsantos. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-01 05:00:07 +00:00
westi
33ad189d78 Make the validate_file check more explict and obvious.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 06:48:30 +00:00
azaozz
80c409458f Include only valid plugins. Props guillep2k, fixes #6871
git-svn-id: http://svn.automattic.com/wordpress/trunk@8495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-29 23:10:12 +00:00
ryan
a3a1f83d7f Use ORIG_PATH_INFO if PATH_INFO is not available. fixes #7058 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-28 16:26:59 +00:00
ryan
c94918ca9f i18n fixes from nbachiyski. fixes #7195
git-svn-id: http://svn.automattic.com/wordpress/trunk@8211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-28 16:27:21 +00:00
ryan
775ea980f3 Set auth cookie for plugins directory to support direct load plugin files that call auth_redirect(). see #7001
git-svn-id: http://svn.automattic.com/wordpress/trunk@8209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-27 22:54:21 +00:00
ryan
f42b96cd5e Mark string that cannot be gettexted. Props nbachiyski. fixes #7074
git-svn-id: http://svn.automattic.com/wordpress/trunk@8168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-23 15:40:43 +00:00
ryan
6adcab8b27 Introduce logged_in cookie. Deliver auth cookies only to wp-admin. see #7001
git-svn-id: http://svn.automattic.com/wordpress/trunk@8069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-11 17:25:55 +00:00
ryan
b666a1c910 Cache get_plugins() list. Props DD32. fixes #7113
git-svn-id: http://svn.automattic.com/wordpress/trunk@8068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-10 16:57:33 +00:00
ryan
995fe002be Use siteurl instead of home. Props msi08. fixes #7050
git-svn-id: http://svn.automattic.com/wordpress/trunk@8006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-28 16:53:29 +00:00
ryan
6c8d35de32 Allow wp-content to exist outside of webroot. Props sambauers. see #6938
git-svn-id: http://svn.automattic.com/wordpress/trunk@7999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-27 17:55:24 +00:00
ryan
9771ec5110 First cut and better admin SSL support. see #7001
git-svn-id: http://svn.automattic.com/wordpress/trunk@7998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-27 17:46:01 +00:00
ryan
58e47dcb4a wp_cache_add_global_groups() and wp_cache_add_non_persistent_groups(). fixes #6740
git-svn-id: http://svn.automattic.com/wordpress/trunk@7986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-22 17:28:54 +00:00
ryan
bc07ef1efe Theme preview and thickbox CSS cleanup. Props azaozz. see #5486
git-svn-id: http://svn.automattic.com/wordpress/trunk@7961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-20 17:19:33 +00:00
ryan
b8654e4cdf Check WP_INSTALLING when setting cookiehash. Props DD32. fixes #6990
git-svn-id: http://svn.automattic.com/wordpress/trunk@7947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-18 20:06:31 +00:00
ryan
3c8cb2b079 Revisioning for pages from mdawaffe. see #6775
git-svn-id: http://svn.automattic.com/wordpress/trunk@7913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-09 15:59:17 +00:00
ryan
8d6d1af393 Check if PATH_INFO is set to avoid undefined index errors. see #5160
git-svn-id: http://svn.automattic.com/wordpress/trunk@7757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-21 17:35:20 +00:00
ryan
6e662d708b Move define of AUTOSAVE_INTERVAL to wp-settings so that it is available earlier. Props simonwheatley. fixes #6668 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 17:07:34 +00:00
westi
abb5051775 Improved wording for the missing mysql error message. Fixes #6141 props MtDewVirus.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 08:44:59 +00:00
ryan
6e80433a40 Fallback to UTF-8 if not valid mb_internal_encoding. Props tenpura. fixes #6092
git-svn-id: http://svn.automattic.com/wordpress/trunk@7157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-04 19:25:00 +00:00
ryan
c2c7fa0aef Make sure encoding is not empty. Props tenpura. see #6902
git-svn-id: http://svn.automattic.com/wordpress/trunk@7156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-04 17:12:04 +00:00
ryan
6e181bb941 Multi-byte character safe excerpting from nbachiyski. fixes #6077
git-svn-id: http://svn.automattic.com/wordpress/trunk@7140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-03 21:05:23 +00:00
ryan
54f091eebf Allow overriding the default secret key. Proy. Props nbachiyski. fixes #5960
git-svn-id: http://svn.automattic.com/wordpress/trunk@6982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 17:36:09 +00:00
ryan
833447d59e Image size options from tellyworth. fixes #5933
git-svn-id: http://svn.automattic.com/wordpress/trunk@6952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 06:00:15 +00:00
ryan
d88983793b Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@6726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 06:47:27 +00:00
ryan
a5246f532f absint is not defined yet. see #4762
git-svn-id: http://svn.automattic.com/wordpress/trunk@6684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-29 20:00:17 +00:00
westi
520d17d7f0 Switch from abs(intval()) to absint(). See #4762.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-29 18:48:38 +00:00
ryan
5c2f29c467 Increase memory limit. Props darkdragon. see #3141
git-svn-id: http://svn.automattic.com/wordpress/trunk@6681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-29 17:25:45 +00:00
ryan
f3d0aaee55 Require PHP 4.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@6662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 20:06:22 +00:00
matt
f529123061 First pass at async upload, multi-upload, and gallery feature. Modified names from patch. Hat tip: tellyworth, skeltoac.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 19:21:11 +00:00
ryan
251ad30066 Call WP::init() just before kicking the init action so that the current user is setup as early as possible. fixes #4181
git-svn-id: http://svn.automattic.com/wordpress/trunk@6586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-09 20:08:59 +00:00
ryan
479fc2e2b3 phpdoc tuneup from darkdragon. see #5611
git-svn-id: http://svn.automattic.com/wordpress/trunk@6585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-09 17:48:00 +00:00
westi
42def106d2 Use ' not " so we don't expand. Fixes #5546 props takayukister.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-29 09:10:51 +00:00
westi
d49cece4a3 Mark functions and files as deprecated. Fixes #4361 props docwhat and darkdragon
git-svn-id: http://svn.automattic.com/wordpress/trunk@6514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-28 21:17:42 +00:00
ryan
e8dc86950e Custom DB error page. fixes #5500 for 2.4
git-svn-id: http://svn.automattic.com/wordpress/trunk@6447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-21 02:53:57 +00:00
westi
6950e2833b Fix @since for timer_start and timer_stop. See #5211.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 21:28:53 +00:00
westi
75dc7786a9 phpdoc for wp-settings.php. Fixes #5211 props darkdragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 20:44:52 +00:00
ryan
29ef8b6f5f New secure cookie protocol. see #5367
git-svn-id: http://svn.automattic.com/wordpress/trunk@6387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-16 17:41:59 +00:00
ryan
9a94e7b26c Skip theme validation during normal blog page loads. fixes #3907
git-svn-id: http://svn.automattic.com/wordpress/trunk@6325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-08 04:04:15 +00:00
ryan
1e320a469e has_action and has_filter. see #5231
git-svn-id: http://svn.automattic.com/wordpress/trunk@6320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-07 04:30:11 +00:00
ryan
1d0bf72d2f AJAX for link category add and delete. Props mdawaffe. fixes #5291
git-svn-id: http://svn.automattic.com/wordpress/trunk@6299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-31 03:53:32 +00:00
ryan
38a3758570 Remove refs to old, dead caches.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-17 17:37:21 +00:00
markjaquith
c698c97198 IIS REQUEST_URI-setting fixes from snakefoot. fixes #5160 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-09 17:38:25 +00:00
markjaquith
c10999aec9 Check for ORIG_PATH_INFO on IIS. props brh, fixes #5160
git-svn-id: http://svn.automattic.com/wordpress/trunk@6203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-08 20:48:29 +00:00
westi
61f8b8f569 Move database class loading to a shared function to ensure all of WordPress is wp-content/wp-db.php aware. Fixes #5128 props ComputerGuru.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-06 08:18:33 +00:00
westi
f3e26c6d98 s/WPDEBUG/WP_DEBUG/g Fixes #5033
git-svn-id: http://svn.automattic.com/wordpress/trunk@6181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-02 20:34:29 +00:00
westi
2bcddfc042 Enable developers to turn on notices from wp-config.php. Relates #3155. Fixes #5033 props Ozh.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-30 11:09:47 +00:00
markjaquith
4f6b825b8b Make sure number_format_i18n() is available before calling it in timer_stop(). fixes #5016
git-svn-id: http://svn.automattic.com/wordpress/trunk@6139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-19 20:48:34 +00:00
markjaquith
b36471d4cf 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: http://svn.automattic.com/wordpress/trunk@6110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 06:23:23 +00:00
markjaquith
3fc1d4f08d De-rabbit-hole compat.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@6108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 05:24:31 +00:00
markjaquith
6a1c63e2f7 Correctly set REQUEST_URI for IIS setups that put that info into SCRIPT_NAME as well as PATH_INFO. props snakefoot and Nazgul. fixes #4853
git-svn-id: http://svn.automattic.com/wordpress/trunk@6058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-07 02:43:00 +00:00
ryan
321c310717 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@6026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:32:58 +00:00
ryan
87c4f3a17f Strip lines that contain only whitespace down to newlines.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:19:20 +00:00
westi
36851becbd Switch to require_once for wp-includes/db.php when it exists. Fixes #4597 props intoxination.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 16:17:10 +00:00
westi
2662be2098 Inform the user when cookies are disabled and login fails. Fixed #2039 props tellyworth.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-02 17:20:37 +00:00
matt
7c2dbb9cb1 First pass at upgrade notification for core, see #1476. Also includes some minor footer styling changes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-17 10:33:52 +00:00
markjaquith
6fc031de6b Canonical URLs, first swing. Props to Scott Yang, Ryan and Matt. see #4554 (and report bugs there, for now)
git-svn-id: http://svn.automattic.com/wordpress/trunk@5890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-17 03:35:15 +00:00
markjaquith
54639a391b Set REQUEST_URI for IIS in more situations. props snakefoot. fixes #3514
git-svn-id: http://svn.automattic.com/wordpress/trunk@5889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-17 03:32:19 +00:00
markjaquith
25abcd1338 More streamlined install process. Obeys WP_SITEURL if defined. fixes #4687 (props JeremyVisser, Nazgul), see #4685
git-svn-id: http://svn.automattic.com/wordpress/trunk@5844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-03 01:08:59 +00:00
markjaquith
764f50bd3d ABSPATH already has a trailing slash. Props Nazgul. fixes #4607
git-svn-id: http://svn.automattic.com/wordpress/trunk@5820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-27 21:28:01 +00:00
ryan
2f09416258 Trim empty lines. Nothing but newline.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 02:25:30 +00:00
rob1n
d4f95b7fd4 Accidental commit. Props Nazgul. fixes #4437
git-svn-id: http://svn.automattic.com/wordpress/trunk@5690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-12 21:59:22 +00:00
rob1n
e3328ca20b Don't include HTML in gettext call. Props nbachiyski and Nazgul. fixes #4437
git-svn-id: http://svn.automattic.com/wordpress/trunk@5688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-12 21:48:55 +00:00
rob1n
71a095d0ee Don't translate "you haven't installed" text yet, because text domain isn't installed. Props nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 12:29:46 +00:00
rob1n
990ca286c1 Localize the "you haven't installed WP yet" message. fixes #4370
git-svn-id: http://svn.automattic.com/wordpress/trunk@5606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 02:03:22 +00:00
rob1n
629dde868c Actually check for PHP 4.2. Props nbachiyski. fixes #4336
git-svn-id: http://svn.automattic.com/wordpress/trunk@5546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-25 14:51:33 +00:00
ryan
634a33c206 Very rough initial commit of taxonomy for everyone's hacking pleasure. There be dragons. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-22 05:12:38 +00:00
rob1n
a45c3a3f23 Don't fail when the user don't set WP-Cache up correctly. Props Denis de Bernardy. fixes #4293
git-svn-id: http://svn.automattic.com/wordpress/trunk@5491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-19 04:32:28 +00:00
rob1n
58d8ed1284 Move widget stuff around. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-01 01:13:06 +00:00
ryan
a59fcf3c3a Kick widgets init from init hook.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-28 00:35:47 +00:00
rob1n
b3d3d731ac Require once only. Props masquerade. fixes #4192
git-svn-id: http://svn.automattic.com/wordpress/trunk@5313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-25 04:41:12 +00:00
rob1n
d3f52c3b45 Allow number_format to be internationalized. Props nbachiyski. fixes #3677
git-svn-id: http://svn.automattic.com/wordpress/trunk@5308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-25 00:49:57 +00:00
rob1n
03e6c2ed9a Widgets for 2.3. fixes #4186
git-svn-id: http://svn.automattic.com/wordpress/trunk@5297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-24 01:05:17 +00:00
markjaquith
cd35f6ecf9 remove old table* variables from wp-settings.php. Props Nazgul. fixes #3860
git-svn-id: http://svn.automattic.com/wordpress/trunk@4993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 05:46:59 +00:00
markjaquith
3320dd1380 Use strpos instead of strstr where ever possible, for speed. Props rob1n. fixes #3920
git-svn-id: http://svn.automattic.com/wordpress/trunk@4990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 05:29:15 +00:00
ryan
83112722cd Use PLUGINDIR. Props z720 and Nazgul. fixes #3909
git-svn-id: http://svn.automattic.com/wordpress/trunk@4972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-06 17:47:27 +00:00
ryan
ec1d1f182e Include classes.php earlier so we can make use of WP_Error.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-23 02:24:09 +00:00
ryan
1ec4dd0209 Revert accidental commit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-30 01:46:05 +00:00
ryan
f8c689b4f0 Remove notoptions caching. Multile rewrite_rules options were being created. See #3692 #2268
git-svn-id: http://svn.automattic.com/wordpress/trunk@4831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-30 01:43:39 +00:00
ryan
acc560279e Always load gettext.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-18 04:57:39 +00:00
ryan
f717f85c0a Don't gettext before l10n bits are loaded. Props nbachiyski. fixes #3590
git-svn-id: http://svn.automattic.com/wordpress/trunk@4756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-16 23:03:19 +00:00
ryan
ec648ae332 Cleanup link upgrade code. Drop linkcategories table.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-16 01:54:50 +00:00
ryan
9323d39466 Zend hash del key or index fix. PRops MarkJaquith.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-11 03:06:28 +00:00
ryan
3e26469375 Load locale specific php code in global context. fixes #3488
git-svn-id: http://svn.automattic.com/wordpress/trunk@4699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-08 00:11:06 +00:00
markjaquith
cde68f9336 Exit gracefully with a warning if the table_prefix uses disallowed chars. fixes #3537
git-svn-id: http://svn.automattic.com/wordpress/trunk@4695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-07 09:41:32 +00:00
markjaquith
71a2674bde Use $wpdb->prefix when defining table names
git-svn-id: http://svn.automattic.com/wordpress/trunk@4648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-15 23:14:42 +00:00
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
matt
64948b825d Ryan says it's stable ;)
git-svn-id: http://svn.automattic.com/wordpress/trunk@3053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-11 02:25:31 +00:00
matt
815bd99a96 PHP notice fix
git-svn-id: http://svn.automattic.com/wordpress/trunk@3051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-11 02:22:19 +00:00
matt
06a0fc3af6 Formatting
git-svn-id: http://svn.automattic.com/wordpress/trunk@3045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-11 01:37:25 +00:00
matt
c50e7da21b Fixes #1591 (again)
git-svn-id: http://svn.automattic.com/wordpress/trunk@3034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-10 23:57:45 +00:00
ryan
85723b8944 Object caching, round one.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-07 21:56:03 +00:00
ryan
c369310b0c Better support for theme plugins. add_theme_page() and active theme functions.php autoloader.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-29 23:40:32 +00:00
ryan
16aa6aee11 New import system. Very rough draft.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-21 07:03:23 +00:00
matt
dce5220c15 Typos and more secure unsetting. Hat tip: Stefen Esser
git-svn-id: http://svn.automattic.com/wordpress/trunk@2784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-15 04:02:19 +00:00
matt
376ec4dce5 Tweak
git-svn-id: http://svn.automattic.com/wordpress/trunk@2772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-09 22:38:32 +00:00
matt
2919fe2956 That last thing didn't work at all.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-09 20:09:20 +00:00
matt
9689a19f00 Fixes #1565
git-svn-id: http://svn.automattic.com/wordpress/trunk@2769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-09 20:00:29 +00:00
matt
877e6a711a Turn register globals off. Hat tip: Christian Schmidt
git-svn-id: http://svn.automattic.com/wordpress/trunk@2768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-09 08:26:54 +00:00
matt
40a7d9d2dd Fixes #1488
git-svn-id: http://svn.automattic.com/wordpress/trunk@2744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-03 00:42:52 +00:00
matt
41afea2f94 Let advanced users override cookies.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-18 19:55:24 +00:00
ryan
98aa7f597a Rearrange load order. Init classes before loading the text domain and setting the template path.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-13 19:29:18 +00:00
ryan
7af36168cb Roles update + UI from Owen.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-12 15:53:13 +00:00
ryan
a6ade4a767 Role/capability system. Round one. Props: Owen Winkler
git-svn-id: http://svn.automattic.com/wordpress/trunk@2703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-11 22:39:50 +00:00
matt
233afca132 Drafts clean up.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-08 22:59:15 +00:00
ryan
6cbb6fecb3 Stripslashes doesn't work on arrays. Add stripslashes_deep(). Props: Mike Little
git-svn-id: http://svn.automattic.com/wordpress/trunk@2700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-06 01:12:38 +00:00
ryan
91efba11ad Use wpdb->escape instead of addslashes to prepare DB bound data.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-05 20:47:22 +00:00
matt
de9cc8b12c More user updates
git-svn-id: http://svn.automattic.com/wordpress/trunk@2632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-12 23:14:52 +00:00
matt
0c17753031 Beginning of user system overhaul, TODO: update all code that deals with user data
git-svn-id: http://svn.automattic.com/wordpress/trunk@2631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-12 20:49:13 +00:00
ryan
1baf503d64 Break blog header up into functional chunks. Stick it all in a WP class for now. Make wp() the front door. Move template/theme loader code into template-loader.php. Clean up feed file loadup. Modularize.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-10 23:15:13 +00:00
ryan
08b02d95bc Move plugin replacebale functions to pluggable-functions.php. http://mosquito.wordpress.org/view.php?id=1211
git-svn-id: http://svn.automattic.com/wordpress/trunk@2516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-04 23:25:51 +00:00
ryan
11f5bb3f58 Add a precautionary is_array() check around the plugin loading loop. http://mosquito.wordpress.org/view.php?id=1015
git-svn-id: http://svn.automattic.com/wordpress/trunk@2501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-31 04:04:14 +00:00
ryan
171fa8fabd And not or when checking if installing. Props: donncha
git-svn-id: http://svn.automattic.com/wordpress/trunk@2486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-29 05:06:10 +00:00
ryan
2a5bae7136 But I do have WP installed.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-22 04:50:17 +00:00
matt
04edf0703e Missed installing catch, hat tip Donncha
git-svn-id: http://svn.automattic.com/wordpress/trunk@2467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-22 02:17:24 +00:00
ryan
139adf7c5c gettext install and upgrade. http://mosquito.wordpress.org/view.php?id=994 From nbachiyski
git-svn-id: http://svn.automattic.com/wordpress/trunk@2391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-27 23:09:58 +00:00
saxmatt
70a449d8d8 Allow for plugins to kick in before everything if define in wp-config
git-svn-id: http://svn.automattic.com/wordpress/trunk@2342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-15 00:46:58 +00:00
saxmatt
81e7d9218f Some filter action and cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@2240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-07 07:46:41 +00:00
saxmatt
b00f007d8f Remove querystring variable legacy code
git-svn-id: http://svn.automattic.com/wordpress/trunk@2239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-07 07:37:53 +00:00
saxmatt
2520d8e8f5 Include cleanups
git-svn-id: http://svn.automattic.com/wordpress/trunk@2238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-07 07:25:30 +00:00
saxmatt
2765f58e3e Allow for custom user table. If rewriting user functions need to include from wp-config
git-svn-id: http://svn.automattic.com/wordpress/trunk@2205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-02 10:51:42 +00:00
rboren
9838608868 Allow multiple args to be passed to apply_filters and do_action. Move some code into merge_filters. Use call_user_func_array so that args can be passed by reference. Provide a default for the second arg to do_action so that we do not have to put empty strings in the do_action calls. Bug 768. Hat tip: morganiq
git-svn-id: http://svn.automattic.com/wordpress/trunk@2184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-01 06:20:54 +00:00
saxmatt
ca2815fb70 If we're already in wp-admin don't recursive link
git-svn-id: http://svn.automattic.com/wordpress/trunk@2171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-31 10:28:53 +00:00
rboren
0e73b09de1 Set the locale and load the default text domain after plugins are loaded so that plugins can manipulate the locale. Bug 765.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-29 23:17:10 +00:00
rboren
ba04c52c00 Cleanup wp-l10n includes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-27 15:20:48 +00:00
rboren
84f2d4264c Add link filters for bug 743 (hat tip to morganiq). More abstraction and flexibility in WP_Rewrite.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-26 22:46:40 +00:00
rboren
1fb563136b Do not include admin-functions from ugrade-functions to avoid circular dependency. Move wp-l10n higher up in the wp-settings include chain. Bug 627.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-15 00:09:25 +00:00
saxmatt
1bd4057b23 Bug fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@1980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-19 07:26:43 +00:00
saxmatt
65bbec71d0 Comments refactoring and cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@1964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-16 02:57:05 +00:00
saxmatt
0d040b307f Sanity check mysql.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-14 09:27:14 +00:00
rboren
b1f753ab3f Define TEMPLATEPATH. Look for footer, sidebar, and header in the template directory for the active theme.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-08 21:51:25 +00:00
rboren
720316ddb1 Do not touch REQUEST_URI if it is already set by the server.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-26 04:03:34 +00:00
rboren
12b406941a Fix REQUEST_URI construction for IIS. Bug 389. Patch from Dennis Williamson.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-22 18:07:29 +00:00
saxmatt
40a8e6885b Trackback and pingback cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-14 07:26:41 +00:00
saxmatt
d34b925136 File removed.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-11 06:45:16 +00:00