Commit Graph

1136 Commits

Author SHA1 Message Date
saxmatt cf06e8e7f6 Gremlins in the options machine.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-28 20:31:41 +00:00
saxmatt 4e4cb4e004 Allow WordPress installation URI and blog URI to be different.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-28 07:27:03 +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
rboren cbc0a250e7 Unify user and author queries on cache_userdata
git-svn-id: http://svn.automattic.com/wordpress/trunk@1186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-27 03:59:13 +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
rboren ef13af90b8 Geo enhancements. Allow get_Lat and get_Lon to be called outside of the post loop. Add doGeoUrlHeader as an action on wp_head.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-26 02:34:07 +00:00
saxmatt 9945a746ec Timezone fixes, I hope.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-24 21:52:24 +00:00
saxmatt c226bd74b0 Cleaned up unused options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-24 21:21:19 +00:00
saxmatt 2bd39005c5 Bug fix from Josh @ elsewhere.org.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-24 20:41:28 +00:00
rboren c31ad8dc06 Mark strings for translation.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-24 03:40:04 +00:00
saxmatt 4677ac0c77 Trim when updating options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-22 21:29:59 +00:00
saxmatt 9439a575f6 Removing some old functions. Cleaning up remaining places where we exposed emails. Consolidated ampersand fixing. Fixed pasting from Word.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-22 07:41:57 +00:00
saxmatt fc932087d4 A few typos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-20 23:03:09 +00:00
saxmatt 10c6b7ea9c Changed to superglobals, and eliminated $use_cache (since we always do).
git-svn-id: http://svn.automattic.com/wordpress/trunk@1108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-20 22:56:47 +00:00
emc3 2c3e14a0ea Added Alex Stapleton's add_option() code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-16 21:17:09 +00:00
saxmatt 74c2872215 Plugin enhancements.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-16 02:24:37 +00:00
saxmatt 9cdb91980d Removed obsolete functions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-15 19:05:09 +00:00
saxmatt 74380bae72 We use generic ping functions now.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-15 18:57:39 +00:00
saxmatt 3cd3999079 check_comment should return false if there are no comment moderation keys.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-07 00:48:19 +00:00
michelvaldrighi ed666a5547 tweaked get_lastpostdate and get_lastpostmodified a bit for consistency
git-svn-id: http://svn.automattic.com/wordpress/trunk@1042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-31 18:06:45 +00:00
michelvaldrighi 7e4efe6b26 forgot to replace this one
git-svn-id: http://svn.automattic.com/wordpress/trunk@1035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-31 01:25:12 +00:00
michelvaldrighi e077b55f7e changing xmlrpc_encode to phpxmlrpc�_encode, xmlrpc_decode to phpxmlrpc_decode
git-svn-id: http://svn.automattic.com/wordpress/trunk@1034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-30 21:25:21 +00:00
saxmatt 5e3f6d89a5 Don't try to ping empty sets.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-25 23:05:25 +00:00
saxmatt 40671953a0 Debug code left.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-25 21:15:55 +00:00
saxmatt 0c1e3856b6 Additional plugin API hooks, extending moderation scheme to more fully cover trackbacks and pingbacks, cleanup of XML-RPC file.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-25 20:18:20 +00:00
saxmatt 8a79d5712a If more than X links in a comment, moderate that sucker.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-25 10:11:58 +00:00
saxmatt 82605b706b Recache options when updating.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-25 07:21:00 +00:00
saxmatt 591d952310 Typo fixes to do_action and generic_ping
git-svn-id: http://svn.automattic.com/wordpress/trunk@1007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-25 06:11:28 +00:00
michelvaldrighi 3e1430110b fixed get_lastpostdate and get_lastpostmodified
git-svn-id: http://svn.automattic.com/wordpress/trunk@1002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-25 02:37:47 +00:00
michelvaldrighi 3ce57e5d9c since time_difference is now relative to GMT, we should use gmdate instead of date when adding time_difference
git-svn-id: http://svn.automattic.com/wordpress/trunk@1001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-25 02:21:40 +00:00
saxmatt adbca5d4fc New comment moderation code, for trackbacks and comments.
git-svn-id: http://svn.automattic.com/wordpress/trunk@984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-21 08:31:33 +00:00
saxmatt a7cdf5c0d4 Generic update pinging. Needs review.
git-svn-id: http://svn.automattic.com/wordpress/trunk@982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-21 07:36:07 +00:00
rboren 87c74b9c6e More rewrite fixes. s/[0-9a-z_-]/[_0-9a-z-]/
git-svn-id: http://svn.automattic.com/wordpress/trunk@965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-09 03:55:01 +00:00
rboren 6f2c205b0b rewrite_rules() tweaks. Use rewrite_rules() in options-permalink.php.
git-svn-id: http://svn.automattic.com/wordpress/trunk@963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-08 05:12:11 +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
michelvaldrighi 1947f04aac added a timezone argument to get�_lastpost*()
git-svn-id: http://svn.automattic.com/wordpress/trunk@952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-28 17:51:41 +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
michelvaldrighi 80d1cba5f9 aliasing time_difference to gmt_offset in get_settings(), for great justice
git-svn-id: http://svn.automattic.com/wordpress/trunk@943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-26 16:14:10 +00:00
michelvaldrighi d31e7bcc4a more GMT fixoragization
git-svn-id: http://svn.automattic.com/wordpress/trunk@938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-26 13:07:11 +00:00
michelvaldrighi 3c710bb037 just moving these two lines fixes the the_date() issue for GMT
git-svn-id: http://svn.automattic.com/wordpress/trunk@934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-25 17:12:30 +00:00
saxmatt f7dd13c338 current_time now uses GMT.
git-svn-id: http://svn.automattic.com/wordpress/trunk@931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-25 00:00:38 +00:00
michelvaldrighi e355cca1c0 fixed touch_time to use user's timezone instead of GMT
git-svn-id: http://svn.automattic.com/wordpress/trunk@926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-23 15:58:26 +00:00
michelvaldrighi 2ddaa07123 added in start_wp: $post->post_date_gmt is the gmt version of post_date
git-svn-id: http://svn.automattic.com/wordpress/trunk@919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-23 05:41:14 +00:00
michelvaldrighi 84435bfa5f big leap to GMT dates
git-svn-id: http://svn.automattic.com/wordpress/trunk@914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-23 03:42:40 +00:00
michelvaldrighi 6d59c60739 added get_lastpostmodified()
git-svn-id: http://svn.automattic.com/wordpress/trunk@908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-22 03:28:46 +00:00
michelvaldrighi 8091c63bff removed useless php3 compatibility, fixed a forgotten global
git-svn-id: http://svn.automattic.com/wordpress/trunk@906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-21 22:59:40 +00:00
michelvaldrighi 7449fbcebd notification emails are now sent using the blog's charset
git-svn-id: http://svn.automattic.com/wordpress/trunk@905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-21 22:53:05 +00:00
saxmatt dbba7a2d8c New get_posts function, for multiple WP loops.
git-svn-id: http://svn.automattic.com/wordpress/trunk@902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-21 14:10:07 +00:00
michelvaldrighi 1a51bec12c user_pass_ok now uses md5()
git-svn-id: http://svn.automattic.com/wordpress/trunk@892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-19 22:42:47 +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
saxmatt a0b1f690ef New *_action functions, removed alert_error.
git-svn-id: http://svn.automattic.com/wordpress/trunk@883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-17 03:00:20 +00:00
rboren b70022525e Support PATH_INFO permalinks. Move rewrite rule generation to rewrite_rules().
git-svn-id: http://svn.automattic.com/wordpress/trunk@881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-17 02:50:57 +00:00
saxmatt 718dcc6297 Edit post slugs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-13 11:21:30 +00:00
saxmatt 0284b7ba09 New function, remove_filter. Added priorities to filters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-09 11:58:49 +00:00
saxmatt 63a6efea29 Nested category list from Philip Taron.
git-svn-id: http://svn.automattic.com/wordpress/trunk@848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-09 08:55:29 +00:00
saxmatt c49fecf3f0 Breaking out some of the formatting functions into a different file.
git-svn-id: http://svn.automattic.com/wordpress/trunk@846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-09 06:57:02 +00:00
michelvaldrighi 2055a5905d we should never use $RESUEST_URI, but access it with $_SERVER
git-svn-id: http://svn.automattic.com/wordpress/trunk@845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-08 16:10:28 +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
rboren 6d55b3153a Clean feed and trackback URLs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-05 20:55:50 +00:00
alex_t_king ca6bbb36a8 added single quotes around values in SQL statements
git-svn-id: http://svn.automattic.com/wordpress/trunk@810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-30 02:39:01 +00:00
saxmatt 3e494326c4 Fix for mpts markup prob.
git-svn-id: http://svn.automattic.com/wordpress/trunk@779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-15 11:01:21 +00:00
saxmatt c38e0e27b8 Make entity catch in sanitize_title ungreedy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-14 05:46:53 +00:00
saxmatt 5c4302e582 fix for multiple hypens.
git-svn-id: http://svn.automattic.com/wordpress/trunk@774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-14 05:40:57 +00:00
alex_t_king 8058390507 fixed hilite whitespace checking
git-svn-id: http://svn.automattic.com/wordpress/trunk@770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-12 23:24:51 +00:00
saxmatt bc5519d97b Fix from alex:
http://wordpress.org/support/10/1636#post-11


git-svn-id: http://svn.automattic.com/wordpress/trunk@755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-12 09:33:02 +00:00
saxmatt d6ec36fed7 Search hilite changes from Ryan Boren
git-svn-id: http://svn.automattic.com/wordpress/trunk@754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-12 00:59:21 +00:00
saxmatt 598c4723cf Google hilite.
git-svn-id: http://svn.automattic.com/wordpress/trunk@747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-09 11:16:10 +00:00
saxmatt 4ef7999064 Change how get_settings errors are returned.
git-svn-id: http://svn.automattic.com/wordpress/trunk@708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-03 22:20:25 +00:00
saxmatt 384edd177b Use post_status in get_lastpostdate
git-svn-id: http://svn.automattic.com/wordpress/trunk@686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-02 19:27:21 +00:00
alex_t_king a392bb19d3 suppressing Notice messages and moving the use_cache setting higher in blog-header so that it actually gets used when getting settings
git-svn-id: http://svn.automattic.com/wordpress/trunk@677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-01 21:12:22 +00:00
saxmatt 92c031cd84 Author description field.
git-svn-id: http://svn.automattic.com/wordpress/trunk@674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-01 00:55:31 +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 8d232849e3 New title code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-25 00:01:31 +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 85eaa93dd6 Moved gzip stuff into options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-23 21:31:09 +00:00
emc3 c8604702fc Fixed %post_id% token handling. Fixed pingback link detection.
git-svn-id: http://svn.automattic.com/wordpress/trunk@640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-22 23:00:45 +00:00
saxmatt 1c352e673e Update sending pingbacks to use new URL structure. Need to update to receive like that.
git-svn-id: http://svn.automattic.com/wordpress/trunk@638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-22 03:26:31 +00:00
saxmatt d3d08d60ef Trackback on edit done.
git-svn-id: http://svn.automattic.com/wordpress/trunk@636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-22 02:46:40 +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
mikelittle b0db88d03a Some more b2->wp renaming
git-svn-id: http://svn.automattic.com/wordpress/trunk@617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-16 01:58:39 +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 e1e8c6dbf7 Update autop to include th and divs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-13 17:47:28 +00:00
saxmatt 18407cfa16 Missing quote.
git-svn-id: http://svn.automattic.com/wordpress/trunk@605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-11 18:44:05 +00:00
saxmatt 5f1fe85ec0 Fix for permalink in comment. Removed old sample config.
git-svn-id: http://svn.automattic.com/wordpress/trunk@603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-11 18:10:43 +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