Commit Graph

100 Commits

Author SHA1 Message Date
Ryan Boren
081527cd3e Better support for theme plugins. add_theme_page() and active theme functions.php autoloader.
git-svn-id: https://develop.svn.wordpress.org/trunk@2818 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-29 23:40:32 +00:00
Ryan Boren
dfadec884f New import system. Very rough draft.
git-svn-id: https://develop.svn.wordpress.org/trunk@2800 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-21 07:03:23 +00:00
Matt Mullenweg
0c8967b8b2 Typos and more secure unsetting. Hat tip: Stefen Esser
git-svn-id: https://develop.svn.wordpress.org/trunk@2784 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-15 04:02:19 +00:00
Matt Mullenweg
192c52b4ea Tweak
git-svn-id: https://develop.svn.wordpress.org/trunk@2772 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-09 22:38:32 +00:00
Matt Mullenweg
7f576fed46 That last thing didn't work at all.
git-svn-id: https://develop.svn.wordpress.org/trunk@2770 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-09 20:09:20 +00:00
Matt Mullenweg
3d4c635b64 Fixes #1565
git-svn-id: https://develop.svn.wordpress.org/trunk@2769 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-09 20:00:29 +00:00
Matt Mullenweg
9ae33f4f18 Turn register globals off. Hat tip: Christian Schmidt
git-svn-id: https://develop.svn.wordpress.org/trunk@2768 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-09 08:26:54 +00:00
Matt Mullenweg
c9c1cc2abb Fixes #1488
git-svn-id: https://develop.svn.wordpress.org/trunk@2744 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-03 00:42:52 +00:00
Matt Mullenweg
6d2fd52584 Let advanced users override cookies.
git-svn-id: https://develop.svn.wordpress.org/trunk@2725 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-18 19:55:24 +00:00
Ryan Boren
92bfe7a248 Rearrange load order. Init classes before loading the text domain and setting the template path.
git-svn-id: https://develop.svn.wordpress.org/trunk@2706 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-13 19:29:18 +00:00
Ryan Boren
d77f5373ec Roles update + UI from Owen.
git-svn-id: https://develop.svn.wordpress.org/trunk@2704 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-12 15:53:13 +00:00
Ryan Boren
19ab84315c Role/capability system. Round one. Props: Owen Winkler
git-svn-id: https://develop.svn.wordpress.org/trunk@2703 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-11 22:39:50 +00:00
Matt Mullenweg
5bd6027fbd Drafts clean up.
git-svn-id: https://develop.svn.wordpress.org/trunk@2701 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-08 22:59:15 +00:00
Ryan Boren
537b91b582 Stripslashes doesn't work on arrays. Add stripslashes_deep(). Props: Mike Little
git-svn-id: https://develop.svn.wordpress.org/trunk@2700 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-06 01:12:38 +00:00
Ryan Boren
b3f7bd726c Use wpdb->escape instead of addslashes to prepare DB bound data.
git-svn-id: https://develop.svn.wordpress.org/trunk@2699 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-05 20:47:22 +00:00
Matt Mullenweg
47d80615b5 More user updates
git-svn-id: https://develop.svn.wordpress.org/trunk@2632 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-12 23:14:52 +00:00
Matt Mullenweg
1165caab60 Beginning of user system overhaul, TODO: update all code that deals with user data
git-svn-id: https://develop.svn.wordpress.org/trunk@2631 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-12 20:49:13 +00:00
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