Commit Graph

458 Commits

Author SHA1 Message Date
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
saxmatt
587429f358 Move to cookiehash define, use wp_login() function for auth.php.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-10 18:02:30 +00:00
saxmatt
551e52ff91 Code cleanup and some fixes from the WP Japan folks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-04 08:03:52 +00:00
michelvaldrighi
5a22f20cab fix for #317: part two, avoid including the same plugin file twice
git-svn-id: http://svn.automattic.com/wordpress/trunk@1712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-26 18:12:55 +00:00
saxmatt
009d89ec5b Remove optiongroup_options table.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-04 22:15:46 +00:00
saxmatt
7e1cc4c8c0 Remove optiontypes table.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-04 22:04:19 +00:00
saxmatt
5e87dfc5df Remove optionvalues table.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-04 21:52:00 +00:00
saxmatt
da4a0d988e Fix for empty plugin strings, class include moved for timing.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-10 22:02:26 +00:00
saxmatt
a4aa259156 Use array storage for plugins list.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-09 07:17:54 +00:00
saxmatt
ee4edd73e5 Load plugins even on plugin page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-09 05:42:53 +00:00
saxmatt
a2342f1a3f Define COOKIEHASH and new get_profile function. TODO: re-org function soup
git-svn-id: http://svn.automattic.com/wordpress/trunk@1513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-07 01:22:17 +00:00
rboren
8b44ee9d93 Add WP_Query_State class. Introduce is_single(), is_archive(), and friends.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-30 15:31:49 +00:00
saxmatt
5a93597679 Move timer start earlier.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-19 17:04:18 +00:00
saxmatt
e2d3bb0acc Changes to options system and query improvements.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-10 08:42:25 +00:00
saxmatt
8fff6080f9 Sometimes we need to keep things around.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-01 02:00:44 +00:00
saxmatt
aafd840acd Checking for PHP < 4.1 from John Gray.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-27 17:44:53 +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
d086da27e7 Removed unneeded file.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-08 20:42:51 +00:00
saxmatt
ba407ff5b3 E_ALL fixes and cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-07 23:56:33 +00:00
saxmatt
864b793c59 Use PATH_INFO instead of REQUEST_URI for better windows compatibility.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-01 07:55:00 +00:00
saxmatt
9dc65ab2db Cleaning up some includes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-27 23:17:16 +00:00
saxmatt
f8e2f4f2f4 More query reduction.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-26 19:18:25 +00:00
saxmatt
1127059a99 shutdown action hook.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-19 05:19:45 +00:00
rboren
e3e0e62cd7 gettext l10n.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-16 01:56:04 +00:00
alex_t_king
9e6a5ab947 added the first localization strings in index.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@1065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-13 06:56:38 +00:00
saxmatt
e733249e69 Functional plugin implementation.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-25 08:10:26 +00:00
saxmatt
a0867db6ed Migration to get_settings and away from globals.
git-svn-id: http://svn.automattic.com/wordpress/trunk@957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-01 19:55:45 +00:00
saxmatt
b6aa1f6807 Migration to get_settings
git-svn-id: http://svn.automattic.com/wordpress/trunk@956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-01 06:13:32 +00:00
saxmatt
9e718aff7a Migrating more of the global options to get_settings().
git-svn-id: http://svn.automattic.com/wordpress/trunk@955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-29 08:43:36 +00:00
emc3
6df1e26f2c Added per-post custom metadata support.
git-svn-id: http://svn.automattic.com/wordpress/trunk@946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-26 21:42:47 +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
77421739db 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: http://svn.automattic.com/wordpress/trunk@885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-17 04:56:29 +00:00
michelvaldrighi
4e12355549 adding blog_charset option
git-svn-id: http://svn.automattic.com/wordpress/trunk@878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-17 02:11:16 +00:00
saxmatt
a18a23e8b3 Work around IIS' lack of REQUEST_URI
git-svn-id: http://svn.automattic.com/wordpress/trunk@858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-10 08:43:23 +00:00
saxmatt
c26991b1d1 Move hack file include.
git-svn-id: http://svn.automattic.com/wordpress/trunk@844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-07 22:52:20 +00:00
emc3
e9c7715b9a Using require_once will make it easier to incorporate WP functionality into custom templates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-26 16:06:59 +00:00
saxmatt
6d53fe05ef More upgrade fixes for b2.
git-svn-id: http://svn.automattic.com/wordpress/trunk@763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-12 12:50:32 +00:00
saxmatt
0d24e188a0 Various fixes from forums and such.
git-svn-id: http://svn.automattic.com/wordpress/trunk@725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-06 10:33:07 +00:00
saxmatt
da2fc24f4d Comments number bug.
git-svn-id: http://svn.automattic.com/wordpress/trunk@707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-03 20:35:02 +00:00
saxmatt
9b09572d57 Turn down error reporting.
git-svn-id: http://svn.automattic.com/wordpress/trunk@692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-02 23:55:40 +00:00
michelvaldrighi
d33dda0bbb take request_uri from http_server_vars, to be safe
git-svn-id: http://svn.automattic.com/wordpress/trunk@676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-01 19:09:15 +00:00
saxmatt
edc7d7cd8c Installation cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-31 23:51:41 +00:00
saxmatt
52e1d45f45 Add kses HTML cleaning to comment functions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-24 20:43:04 +00:00
saxmatt
af1326791a Moved wp-links files to wp-includes or wp-images where appropiate. Updated necessary paths.
git-svn-id: http://svn.automattic.com/wordpress/trunk@630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-18 10:12:34 +00:00
saxmatt
99a7358baf Renaming Reloaded.
git-svn-id: http://svn.automattic.com/wordpress/trunk@628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-18 09:36:13 +00:00
saxmatt
eb2969916c Hacks file option and include.
git-svn-id: http://svn.automattic.com/wordpress/trunk@614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-15 09:55:47 +00:00
saxmatt
5c97b54c55 Smilie fix from Jaykul, changed fool's siteurl fix to use faster preg_replace. Now handles *any number* of trailing slashes. :)
git-svn-id: http://svn.automattic.com/wordpress/trunk@612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-15 08:02:19 +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
saxmatt
2b6ce7642c Multiple category upgrade system. Changed version number.
git-svn-id: http://svn.automattic.com/wordpress/trunk@561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-04 18:33:33 +00:00
mikelittle
a5ab0fc858 Fixed several instances in WordPress where PHP Notices are not being handled correctly.
Fixes supplied by Aaron Jensen (aaron@visualprose.com).


git-svn-id: http://svn.automattic.com/wordpress/trunk@559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-11-30 00:55:19 +00:00
emc3
15b9216634 Never understimate the ingenuity of fools.
git-svn-id: http://svn.automattic.com/wordpress/trunk@542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-11-11 20:57:43 +00:00
mikelittle
64d73e5d87 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: http://svn.automattic.com/wordpress/trunk@525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-11-05 00:44:03 +00:00
saxmatt
f40db7e33c If siteurl has a trailing slash, slash it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-10-26 20:43:53 +00:00
emc3
45fe889b00 Cookies are now unique, based on siteurl, allowing multiple installs under a single domain name.
git-svn-id: http://svn.automattic.com/wordpress/trunk@458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-10-20 20:53:13 +00:00
mikelittle
fcd1a997a8 Removed 'search_engine_friendly_urls' options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-10-06 23:48:17 +00:00
mikelittle
e0ecd6fe48 Removed 'search_engine_friendly_urls' and 'use_preview' options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-09-29 23:13:59 +00:00
mikelittle
a0c45dd60b Install now does new options tables.
git-svn-id: http://svn.automattic.com/wordpress/trunk@230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-15 23:18:33 +00:00
mikelittle
0bc861330d 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: http://svn.automattic.com/wordpress/trunk@215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-12 22:44:37 +00:00