Commit Graph

383 Commits

Author SHA1 Message Date
Ryan Boren 7d6fc8af08 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: https://develop.svn.wordpress.org/trunk@2627 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-10 23:15:13 +00:00
Ryan Boren 0dd2abae98 Move plugin replacebale functions to pluggable-functions.php. http://mosquito.wordpress.org/view.php?id=1211
git-svn-id: https://develop.svn.wordpress.org/trunk@2516 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-04 23:25:51 +00:00
Ryan Boren 41ab29d8ec Add a precautionary is_array() check around the plugin loading loop. http://mosquito.wordpress.org/view.php?id=1015
git-svn-id: https://develop.svn.wordpress.org/trunk@2501 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-31 04:04:14 +00:00
Ryan Boren 4252fbeab2 And not or when checking if installing. Props: donncha
git-svn-id: https://develop.svn.wordpress.org/trunk@2486 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 05:06:10 +00:00
Ryan Boren 1e83c00806 But I do have WP installed.
git-svn-id: https://develop.svn.wordpress.org/trunk@2468 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-22 04:50:17 +00:00
Matt Mullenweg 26034d3f58 Missed installing catch, hat tip Donncha
git-svn-id: https://develop.svn.wordpress.org/trunk@2467 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-22 02:17:24 +00:00
Ryan Boren fe0c277b19 gettext install and upgrade. http://mosquito.wordpress.org/view.php?id=994 From nbachiyski
git-svn-id: https://develop.svn.wordpress.org/trunk@2391 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-27 23:09:58 +00:00
Matt Mullenweg 2ef94eedf2 Allow for plugins to kick in before everything if define in wp-config
git-svn-id: https://develop.svn.wordpress.org/trunk@2342 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-15 00:46:58 +00:00
Matt Mullenweg e9915276e7 Some filter action and cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@2240 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-07 07:46:41 +00:00
Matt Mullenweg 5173c86910 Remove querystring variable legacy code
git-svn-id: https://develop.svn.wordpress.org/trunk@2239 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-07 07:37:53 +00:00
Matt Mullenweg aa6f078dae Include cleanups
git-svn-id: https://develop.svn.wordpress.org/trunk@2238 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-07 07:25:30 +00:00
Matt Mullenweg fa77eca473 Allow for custom user table. If rewriting user functions need to include from wp-config
git-svn-id: https://develop.svn.wordpress.org/trunk@2205 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-02 10:51:42 +00:00
Ryan Boren 02a701f72b 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: https://develop.svn.wordpress.org/trunk@2184 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 06:20:54 +00:00
Matt Mullenweg 72f9ff6ec0 If we're already in wp-admin don't recursive link
git-svn-id: https://develop.svn.wordpress.org/trunk@2171 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-31 10:28:53 +00:00
Ryan Boren 5e1fa70cd5 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: https://develop.svn.wordpress.org/trunk@2161 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-29 23:17:10 +00:00
Ryan Boren 5f128146b2 Cleanup wp-l10n includes.
git-svn-id: https://develop.svn.wordpress.org/trunk@2157 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-27 15:20:48 +00:00
Ryan Boren eb37982a00 Add link filters for bug 743 (hat tip to morganiq). More abstraction and flexibility in WP_Rewrite.
git-svn-id: https://develop.svn.wordpress.org/trunk@2152 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-26 22:46:40 +00:00
Ryan Boren efed9353fe 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: https://develop.svn.wordpress.org/trunk@2095 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-15 00:09:25 +00:00
Matt Mullenweg 37da98059e Bug fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@1980 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-19 07:26:43 +00:00
Matt Mullenweg b39c4f8273 Comments refactoring and cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@1964 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-16 02:57:05 +00:00
Matt Mullenweg 4157281a2d Sanity check mysql.
git-svn-id: https://develop.svn.wordpress.org/trunk@1955 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-14 09:27:14 +00:00
Ryan Boren 6a2e9a95c1 Define TEMPLATEPATH. Look for footer, sidebar, and header in the template directory for the active theme.
git-svn-id: https://develop.svn.wordpress.org/trunk@1922 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-08 21:51:25 +00:00
Ryan Boren 9e9a6348f5 Do not touch REQUEST_URI if it is already set by the server.
git-svn-id: https://develop.svn.wordpress.org/trunk@1830 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-26 04:03:34 +00:00
Ryan Boren c565632bb3 Fix REQUEST_URI construction for IIS. Bug 389. Patch from Dennis Williamson.
git-svn-id: https://develop.svn.wordpress.org/trunk@1827 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-22 18:07:29 +00:00
Matt Mullenweg b4984a31c2 Trackback and pingback cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@1794 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-14 07:26:41 +00:00
Matt Mullenweg 04301ee56a File removed.
git-svn-id: https://develop.svn.wordpress.org/trunk@1773 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-11 06:45:16 +00:00
Matt Mullenweg 7fd906972e Move to cookiehash define, use wp_login() function for auth.php.
git-svn-id: https://develop.svn.wordpress.org/trunk@1768 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-10 18:02:30 +00:00
Matt Mullenweg 7d277fbd0d Code cleanup and some fixes from the WP Japan folks.
git-svn-id: https://develop.svn.wordpress.org/trunk@1734 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-04 08:03:52 +00:00
michelvaldrighi a1ac2bfa35 fix for #317: part two, avoid including the same plugin file twice
git-svn-id: https://develop.svn.wordpress.org/trunk@1712 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-26 18:12:55 +00:00
Matt Mullenweg 9c1d725609 Remove optiongroup_options table.
git-svn-id: https://develop.svn.wordpress.org/trunk@1597 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-04 22:15:46 +00:00
Matt Mullenweg af93d0ec1a Remove optiontypes table.
git-svn-id: https://develop.svn.wordpress.org/trunk@1595 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-04 22:04:19 +00:00
Matt Mullenweg 9cef0837a3 Remove optionvalues table.
git-svn-id: https://develop.svn.wordpress.org/trunk@1594 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-04 21:52:00 +00:00
Matt Mullenweg ba3fc2100c Fix for empty plugin strings, class include moved for timing.
git-svn-id: https://develop.svn.wordpress.org/trunk@1530 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-10 22:02:26 +00:00
Matt Mullenweg 82e38938fa Use array storage for plugins list.
git-svn-id: https://develop.svn.wordpress.org/trunk@1522 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-09 07:17:54 +00:00
Matt Mullenweg 95febc82bf Load plugins even on plugin page.
git-svn-id: https://develop.svn.wordpress.org/trunk@1521 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-09 05:42:53 +00:00
Matt Mullenweg fed106eb57 Define COOKIEHASH and new get_profile function. TODO: re-org function soup
git-svn-id: https://develop.svn.wordpress.org/trunk@1513 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-07 01:22:17 +00:00
Ryan Boren 4c0a18c68e Add WP_Query_State class. Introduce is_single(), is_archive(), and friends.
git-svn-id: https://develop.svn.wordpress.org/trunk@1449 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-30 15:31:49 +00:00
Matt Mullenweg 0755d0c706 Move timer start earlier.
git-svn-id: https://develop.svn.wordpress.org/trunk@1441 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-19 17:04:18 +00:00
Matt Mullenweg 6c97530035 Changes to options system and query improvements.
git-svn-id: https://develop.svn.wordpress.org/trunk@1401 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-10 08:42:25 +00:00
Matt Mullenweg 1afcf75ea7 Sometimes we need to keep things around.
git-svn-id: https://develop.svn.wordpress.org/trunk@1377 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-01 02:00:44 +00:00
Matt Mullenweg 546e0da910 Checking for PHP < 4.1 from John Gray.
git-svn-id: https://develop.svn.wordpress.org/trunk@1367 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-27 17:44:53 +00:00
Matt Mullenweg 717855f007 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: https://develop.svn.wordpress.org/trunk@1355 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-24 08:22:18 +00:00
Matt Mullenweg cd127d0c45 Removed unneeded file.
git-svn-id: https://develop.svn.wordpress.org/trunk@1243 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-08 20:42:51 +00:00
Matt Mullenweg 3fedfb5746 E_ALL fixes and cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@1239 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-07 23:56:33 +00:00
Matt Mullenweg 1fc021b261 Use PATH_INFO instead of REQUEST_URI for better windows compatibility.
git-svn-id: https://develop.svn.wordpress.org/trunk@1219 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-01 07:55:00 +00:00
Matt Mullenweg e03f75a0b8 Cleaning up some includes.
git-svn-id: https://develop.svn.wordpress.org/trunk@1190 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-27 23:17:16 +00:00
Matt Mullenweg bce00764e8 More query reduction.
git-svn-id: https://develop.svn.wordpress.org/trunk@1184 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-26 19:18:25 +00:00
Matt Mullenweg 48d9da3180 shutdown action hook.
git-svn-id: https://develop.svn.wordpress.org/trunk@1097 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-19 05:19:45 +00:00
Ryan Boren f0f4a17c94 gettext l10n.
git-svn-id: https://develop.svn.wordpress.org/trunk@1080 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-16 01:56:04 +00:00
Alex King e17fe1e76e added the first localization strings in index.php
git-svn-id: https://develop.svn.wordpress.org/trunk@1065 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-13 06:56:38 +00:00
Matt Mullenweg a3aa82d0e0 Functional plugin implementation.
git-svn-id: https://develop.svn.wordpress.org/trunk@1010 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-25 08:10:26 +00:00
Matt Mullenweg e64b754d4a Migration to get_settings and away from globals.
git-svn-id: https://develop.svn.wordpress.org/trunk@957 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-01 19:55:45 +00:00
Matt Mullenweg 59155a15f3 Migration to get_settings
git-svn-id: https://develop.svn.wordpress.org/trunk@956 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-01 06:13:32 +00:00
Matt Mullenweg 37c361e964 Migrating more of the global options to get_settings().
git-svn-id: https://develop.svn.wordpress.org/trunk@955 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-29 08:43:36 +00:00
Dougal Campbell 15f1b35267 Added per-post custom metadata support.
git-svn-id: https://develop.svn.wordpress.org/trunk@946 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-26 21:42:47 +00:00
Matt Mullenweg 22ed64e4ec Removed global $siteurl and $blogfilename, use get_settings. Syntax fix for wp-db.
git-svn-id: https://develop.svn.wordpress.org/trunk@945 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-26 16:15:48 +00:00
Matt Mullenweg d6a30cc0e8 Refactoring of template tags to use filters, use TABS (!!!), and general cleanliness, which is next to godliness. Some get_settings improvements, less globals.
git-svn-id: https://develop.svn.wordpress.org/trunk@885 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-17 04:56:29 +00:00
michelvaldrighi 7af5c8fbcf adding blog_charset option
git-svn-id: https://develop.svn.wordpress.org/trunk@878 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-17 02:11:16 +00:00
Matt Mullenweg f468870d93 Work around IIS' lack of REQUEST_URI
git-svn-id: https://develop.svn.wordpress.org/trunk@858 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-10 08:43:23 +00:00
Matt Mullenweg 94054cd0ee Move hack file include.
git-svn-id: https://develop.svn.wordpress.org/trunk@844 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-07 22:52:20 +00:00
Dougal Campbell 0b88590afe Using require_once will make it easier to incorporate WP functionality into custom templates.
git-svn-id: https://develop.svn.wordpress.org/trunk@796 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-26 16:06:59 +00:00
Matt Mullenweg e2155a6bcc More upgrade fixes for b2.
git-svn-id: https://develop.svn.wordpress.org/trunk@763 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-12 12:50:32 +00:00
Matt Mullenweg bab03a7a4b Various fixes from forums and such.
git-svn-id: https://develop.svn.wordpress.org/trunk@725 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-06 10:33:07 +00:00
Matt Mullenweg a62c5e20c6 Comments number bug.
git-svn-id: https://develop.svn.wordpress.org/trunk@707 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-03 20:35:02 +00:00
Matt Mullenweg 68c59dff3d Turn down error reporting.
git-svn-id: https://develop.svn.wordpress.org/trunk@692 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-02 23:55:40 +00:00
michelvaldrighi 15b2fd0fb0 take request_uri from http_server_vars, to be safe
git-svn-id: https://develop.svn.wordpress.org/trunk@676 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-01 19:09:15 +00:00
Matt Mullenweg 88d4ebbac4 Installation cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@672 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-31 23:51:41 +00:00
Matt Mullenweg a81f4116dd Add kses HTML cleaning to comment functions.
git-svn-id: https://develop.svn.wordpress.org/trunk@650 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-24 20:43:04 +00:00
Matt Mullenweg 3b71e1dec1 Moved wp-links files to wp-includes or wp-images where appropiate. Updated necessary paths.
git-svn-id: https://develop.svn.wordpress.org/trunk@630 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-18 10:12:34 +00:00
Matt Mullenweg ccc413011a Renaming Reloaded.
git-svn-id: https://develop.svn.wordpress.org/trunk@628 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-18 09:36:13 +00:00
Matt Mullenweg 40fc216aa7 Hacks file option and include.
git-svn-id: https://develop.svn.wordpress.org/trunk@614 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-15 09:55:47 +00:00
Matt Mullenweg b153d9607c Smilie fix from Jaykul, changed fool's siteurl fix to use faster preg_replace. Now handles *any number* of trailing slashes. :)
git-svn-id: https://develop.svn.wordpress.org/trunk@612 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-15 08:02:19 +00:00
Matt Mullenweg 9c6a0a9403 The great renaming.
git-svn-id: https://develop.svn.wordpress.org/trunk@601 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-11 00:22:36 +00:00
Matt Mullenweg 8f1c828555 Multiple category upgrade system. Changed version number.
git-svn-id: https://develop.svn.wordpress.org/trunk@561 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-04 18:33:33 +00:00
Mike Little bee8734f21 Fixed several instances in WordPress where PHP Notices are not being handled correctly.
Fixes supplied by Aaron Jensen (aaron@visualprose.com).


git-svn-id: https://develop.svn.wordpress.org/trunk@559 602fd350-edb4-49c9-b593-d223f7449a82
2003-11-30 00:55:19 +00:00
Dougal Campbell 5aef5643a2 Never understimate the ingenuity of fools.
git-svn-id: https://develop.svn.wordpress.org/trunk@542 602fd350-edb4-49c9-b593-d223f7449a82
2003-11-11 20:57:43 +00:00
Mike Little 135fd02cad Sorted some geourl issues (see http://wordpress.org/support/6/683)
Added geo.position meta tag
Added settings into wp-settings.php
Added use of default in new post


git-svn-id: https://develop.svn.wordpress.org/trunk@525 602fd350-edb4-49c9-b593-d223f7449a82
2003-11-05 00:44:03 +00:00
Matt Mullenweg 96f0bf4d52 If siteurl has a trailing slash, slash it.
git-svn-id: https://develop.svn.wordpress.org/trunk@481 602fd350-edb4-49c9-b593-d223f7449a82
2003-10-26 20:43:53 +00:00
Dougal Campbell 620001f33e Cookies are now unique, based on siteurl, allowing multiple installs under a single domain name.
git-svn-id: https://develop.svn.wordpress.org/trunk@458 602fd350-edb4-49c9-b593-d223f7449a82
2003-10-20 20:53:13 +00:00
Mike Little f870ef5da7 Removed 'search_engine_friendly_urls' options.
git-svn-id: https://develop.svn.wordpress.org/trunk@417 602fd350-edb4-49c9-b593-d223f7449a82
2003-10-06 23:48:17 +00:00
Mike Little 2cdc9f218c Removed 'search_engine_friendly_urls' and 'use_preview' options.
git-svn-id: https://develop.svn.wordpress.org/trunk@398 602fd350-edb4-49c9-b593-d223f7449a82
2003-09-29 23:13:59 +00:00
Mike Little 36b9288aff Install now does new options tables.
git-svn-id: https://develop.svn.wordpress.org/trunk@230 602fd350-edb4-49c9-b593-d223f7449a82
2003-06-15 23:18:33 +00:00
Mike Little 1e6b370753 b2config.php replaced with wp-config.sample.php
wp-settings.php is a new fie which sets up the old globals from b2config
mysmilies.php is a new file with custom smilies  (Ex-content of b2config)
day-month-trans.php file with Dayname and monthname transalations (Ex-content of b2config)


git-svn-id: https://develop.svn.wordpress.org/trunk@215 602fd350-edb4-49c9-b593-d223f7449a82
2003-06-12 22:44:37 +00:00