Commit Graph

1119 Commits

Author SHA1 Message Date
michelvaldrighi
93a21b3596 fixed url_to_postid (it was the cause of pingbacks to the first post when a simple link to the blog was done)
git-svn-id: https://develop.svn.wordpress.org/trunk@1717 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-27 12:41:39 +00:00
Ryan Boren
606c252dce Use call_user_func() when applying filter. Bug 63. Patch from Bill Zeller.
git-svn-id: https://develop.svn.wordpress.org/trunk@1713 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-27 00:45:53 +00:00
michelvaldrighi
9292898d64 added discover_pingback_server_uri, should dramatically speed things up
git-svn-id: https://develop.svn.wordpress.org/trunk@1709 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-24 17:29:25 +00:00
Ryan Boren
d278d6b8ae Trackback fix ups.
git-svn-id: https://develop.svn.wordpress.org/trunk@1696 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-18 22:47:43 +00:00
Ryan Boren
cf529fe462 Rename using_mod_rewrite() to using_index_permalinks(). Start removing blogfilename references.
git-svn-id: https://develop.svn.wordpress.org/trunk@1695 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-18 20:04:29 +00:00
michelvaldrighi
511ff56068 updated pingback() to use IXR -- now we aren't using phpxmlrpc anywhere anymore
git-svn-id: https://develop.svn.wordpress.org/trunk@1682 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-17 14:11:28 +00:00
Donncha O Caoimh
5e0e0bf9a9 Check for moderation_notify flag before notifying moderator that about
held comments.


git-svn-id: https://develop.svn.wordpress.org/trunk@1678 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-17 10:26:34 +00:00
michelvaldrighi
be784a3f52 letting IXR take care of URI parsing, while leaving the old way to call weblog_ping possible
git-svn-id: https://develop.svn.wordpress.org/trunk@1676 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-17 08:39:12 +00:00
michelvaldrighi
0d2f304c8b replaced old weblog_ping with new IXR-based weblog_ping
git-svn-id: https://develop.svn.wordpress.org/trunk@1674 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-16 17:08:56 +00:00
Matt Mullenweg
3776531128 Axing of geo stuff, major cleanups on permalink options, style tweaks.
git-svn-id: https://develop.svn.wordpress.org/trunk@1664 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-15 15:09:39 +00:00
Matt Mullenweg
3bfd308dc6 Timeout changes. Hat tip: Michael Dale.
git-svn-id: https://develop.svn.wordpress.org/trunk@1637 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-10 10:55:44 +00:00
Matt Mullenweg
31ed310727 Trackback fix from Michael Dale.
git-svn-id: https://develop.svn.wordpress.org/trunk@1617 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-07 03:15:48 +00:00
Matt Mullenweg
bee9686570 Move trackbacks to new comment function.
git-svn-id: https://develop.svn.wordpress.org/trunk@1616 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-07 02:34:12 +00:00
Ryan Boren
122631f99e Apache 1.3 does not support the reluctant (non-greedy) expression modifier. Remove the modifier when outputting mod_rewrite rules.
git-svn-id: https://develop.svn.wordpress.org/trunk@1615 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-07 00:01:19 +00:00
Matt Mullenweg
94c29fd51e Track and check user agent for comments.
git-svn-id: https://develop.svn.wordpress.org/trunk@1603 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 01:50:39 +00:00
Matt Mullenweg
173f2cd3e6 Install and upgrade refactoring complete.
git-svn-id: https://develop.svn.wordpress.org/trunk@1601 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 01:22:17 +00:00
Matt Mullenweg
6b0bcbf2f5 Massive options cleanup and another step of cleaning up the upgrade/install.
git-svn-id: https://develop.svn.wordpress.org/trunk@1599 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 00:24:28 +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
Ryan Boren
40a13971f9 Return post ID from generic_ping(). Bug 229.
git-svn-id: https://develop.svn.wordpress.org/trunk@1586 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-03 20:33:15 +00:00
Ryan Boren
0ef4844be2 More permissive, i18n friendly regexs.
git-svn-id: https://develop.svn.wordpress.org/trunk@1585 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-03 20:22:23 +00:00
Ryan Boren
1e61535580 Send Geo Url Header only if use_geo_positions is set. Bug 242. Patch from 2fargon.
git-svn-id: https://develop.svn.wordpress.org/trunk@1584 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-03 04:29:11 +00:00
Matt Mullenweg
6e1c571490 Vanquishing the terror of iso-8859-1.
git-svn-id: https://develop.svn.wordpress.org/trunk@1575 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-30 07:16:40 +00:00
Ryan Boren
b9fc57acbc 404 permalink handler.
git-svn-id: https://develop.svn.wordpress.org/trunk@1570 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-27 20:59:38 +00:00
Ryan Boren
8da2215076 Template redirection.
git-svn-id: https://develop.svn.wordpress.org/trunk@1558 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-24 08:43:01 +00:00
Ryan Boren
046c5333e8 Add is_year(), is_month(), is_day(), is_time().
git-svn-id: https://develop.svn.wordpress.org/trunk@1556 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-24 01:24:48 +00:00
Ryan Boren
a1d2b2eb86 Fix a path info paging bug. Add using_mod_rewrite().
git-svn-id: https://develop.svn.wordpress.org/trunk@1555 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-23 23:28:14 +00:00
Ryan Boren
218841c9c2 Search permalinks complete with feed and paging support.
git-svn-id: https://develop.svn.wordpress.org/trunk@1540 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-18 21:05:34 +00:00
Ryan Boren
01b53facab Add pagename query var.
git-svn-id: https://develop.svn.wordpress.org/trunk@1531 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-11 01:55:34 +00:00
Ryan Boren
ec57c1a114 Static pages. Take 1.
git-svn-id: https://develop.svn.wordpress.org/trunk@1527 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-10 05:35:59 +00:00
Matt Mullenweg
a71c9d98f2 Don't need the 1=1
git-svn-id: https://develop.svn.wordpress.org/trunk@1523 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-09 07:54:23 +00:00
Ryan Boren
3dc8c1dabe Add get_query_var() wrapper for $wp_query->get().
git-svn-id: https://develop.svn.wordpress.org/trunk@1517 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-08 16:47:22 +00:00
Ryan Boren
cf3a6080bd WP Query class.
git-svn-id: https://develop.svn.wordpress.org/trunk@1516 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-08 15:31:50 +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
0f49ccc3d3 Simplify post paging. Remove "posts paged" setting. We should always page. Add posts_nav_link() to the default template.
git-svn-id: https://develop.svn.wordpress.org/trunk@1500 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-29 03:34:08 +00:00
Ryan Boren
fdaf705b04 Support timestamp permalinks. Make wider use of is_single(). Bug 0000194.
git-svn-id: https://develop.svn.wordpress.org/trunk@1491 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-28 02:43:54 +00:00
Ryan Boren
483dfd5388 Write rewrite rules to .htacces if .htaccess is writable. Create .htaccess if it does not exist and the directory is writable. Props to Owen Winkler.
git-svn-id: https://develop.svn.wordpress.org/trunk@1489 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-27 23:37:45 +00:00
Matt Mullenweg
4143fbe12c Whoops!
git-svn-id: https://develop.svn.wordpress.org/trunk@1480 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-23 09:26:37 +00:00
Matt Mullenweg
30de863dfd Options system can now transparently handle arrays and objects.
git-svn-id: https://develop.svn.wordpress.org/trunk@1478 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-23 09:14:30 +00:00
Ryan Boren
999d760f6c Add rewrite_rules_array filter point.
git-svn-id: https://develop.svn.wordpress.org/trunk@1466 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-15 23:29:41 +00:00
Ryan Boren
dc70d3501d Handle trackback URIs containing query strings. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000066
git-svn-id: https://develop.svn.wordpress.org/trunk@1461 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-13 17:52:47 +00:00
Matt Mullenweg
61060a0668 Fine tune checking.
git-svn-id: https://develop.svn.wordpress.org/trunk@1450 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-30 21:54:10 +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
Ryan Boren
9fcaf1faad If the new value and old value are the same, do not update the option in update_option().
git-svn-id: https://develop.svn.wordpress.org/trunk@1446 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-24 01:00:31 +00:00
Ryan Boren
ed96c5e8c9 Add posts_where, the_posts, and query_string filters.
git-svn-id: https://develop.svn.wordpress.org/trunk@1443 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-20 22:36:45 +00:00
jverber
cb8c5d6273 Fixes for bugs #0000088-90: fixed encoding of special chars.
git-svn-id: https://develop.svn.wordpress.org/trunk@1438 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-19 04:23:59 +00:00
Ryan Boren
475e0b9e07 stripslashes() elimination. Remove extra slashes during upgrade. Bugs 0000059 and 0000018
git-svn-id: https://develop.svn.wordpress.org/trunk@1435 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-18 00:22:09 +00:00
Ryan Boren
2ddf0582d4 Call update_post_caches() from within query_posts() and get_posts(). http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000046
git-svn-id: https://develop.svn.wordpress.org/trunk@1428 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-15 03:30:00 +00:00
michelvaldrighi
3b8afed11f rolling back the ob_gzhandler 'fix' because ob_get_status is php >4.1
git-svn-id: https://develop.svn.wordpress.org/trunk@1426 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-14 23:16:03 +00:00
michelvaldrighi
d596c91d88 send the blog's charset in trackbacks' Content-type
git-svn-id: https://develop.svn.wordpress.org/trunk@1425 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-14 22:43:27 +00:00
michelvaldrighi
0b280f5ca2 prevent double ob_gzhandler error
git-svn-id: https://develop.svn.wordpress.org/trunk@1424 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-14 22:42:43 +00:00
Ryan Boren
e95ed7fd5a Add comment_approved to commentdata. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000015
git-svn-id: https://develop.svn.wordpress.org/trunk@1413 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-11 19:03:59 +00:00
Ryan Boren
9da4053c26 stripslashes() elimination.
git-svn-id: https://develop.svn.wordpress.org/trunk@1408 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-11 16:51:39 +00:00
Matt Mullenweg
39541ea299 Gzip cleanup, debugged wacky options problem, some cleanup and reorg. We need to split up functions.php more logically, and kill some of the useless functions.
git-svn-id: https://develop.svn.wordpress.org/trunk@1404 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-10 10:01:45 +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
Ryan Boren
25b507c295 Add null check to $functions in apply_filters(). http://www.kackreiz.net/wordpress.php
git-svn-id: https://develop.svn.wordpress.org/trunk@1394 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-08 09:34:01 +00:00
Ryan Boren
650a1a3a56 Guard against empty $cat_counts array. http://wordpress.org/support/3/6080
git-svn-id: https://develop.svn.wordpress.org/trunk@1389 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-06 07:21:58 +00:00
Ryan Boren
44d532c6e3 Rewrite and %category% fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@1388 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-06 02:02:27 +00:00
Ryan Boren
640004f5ca Make /feed/ and /comments/feed work with path info. Introduce get_feed_link().
git-svn-id: https://develop.svn.wordpress.org/trunk@1382 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-02 07:14:03 +00:00
Ryan Boren
98378de860 Rewrite rule fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@1381 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-02 05:16:44 +00:00
Ryan Boren
b721c5b54f index.php now handles feeds and trackbacks.
git-svn-id: https://develop.svn.wordpress.org/trunk@1376 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-31 23:35:32 +00:00
Ryan Boren
a807cd1fad More rewrite rule refactoring. Move the permalink parser into generate_rewrite_rules() and make it handle categories and authors.
git-svn-id: https://develop.svn.wordpress.org/trunk@1374 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-31 21:34:00 +00:00
Ryan Boren
94732a5611 Revamp rewrite rule generation. Add clean page links. Credit to Jaykul for get_pagenum_link().
git-svn-id: https://develop.svn.wordpress.org/trunk@1373 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-31 17:22:25 +00:00
Dougal Campbell
1cb1a9bf7a Fixed check_comment() to ignore empty lines in moderation_keys.
git-svn-id: https://develop.svn.wordpress.org/trunk@1366 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-27 13:53:27 +00:00
Matt Mullenweg
9df4c2452a New hook for when comment status is changed.
git-svn-id: https://develop.svn.wordpress.org/trunk@1365 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-27 03:49:23 +00:00
Ryan Boren
5715b0880d Make $request global to satisfy the page navigation fxns.
git-svn-id: https://develop.svn.wordpress.org/trunk@1360 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-25 01:16:49 +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
Ryan Boren
97d49f1923 Introducing query_posts(), update_post_caches(), update_user_cache(), and update_category_cache().
git-svn-id: https://develop.svn.wordpress.org/trunk@1354 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-24 02:55:39 +00:00
michelvaldrighi
39d6ffcb6b make xmlrpc_getpostcategory support multiple, comma-separated categories
git-svn-id: https://develop.svn.wordpress.org/trunk@1347 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-23 02:55:10 +00:00
Dougal Campbell
b5cdc60beb Removed and eradicated redundant duplication. And fixed indentation.
git-svn-id: https://develop.svn.wordpress.org/trunk@1327 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-20 13:31:48 +00:00
Matt Mullenweg
4f1c3f477b Remove unused variable.
git-svn-id: https://develop.svn.wordpress.org/trunk@1314 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-19 05:59:21 +00:00
Ryan Boren
75294d3187 Output default Geo headers if the query has returns one post but the lat and lon are empty.
git-svn-id: https://develop.svn.wordpress.org/trunk@1283 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-14 21:59:51 +00:00
michelvaldrighi
3caaec0bc7 merging fixes by Mark Ghosh for service pings
git-svn-id: https://develop.svn.wordpress.org/trunk@1279 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-14 17:31:54 +00:00
Matt Mullenweg
38ce416582 Trackback and feed URIs weren't working when there was no trailing slash on the permalink structure. Thanks Kitty.
git-svn-id: https://develop.svn.wordpress.org/trunk@1274 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-14 08:47:01 +00:00
Matt Mullenweg
3d4d4b31f4 Maybe some pinging fixes?
git-svn-id: https://develop.svn.wordpress.org/trunk@1256 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-10 08:13:42 +00:00
Matt Mullenweg
8e9dc5687d Comment count patch from Kitty. http://poker.mookitty.co.uk/
git-svn-id: https://develop.svn.wordpress.org/trunk@1252 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-09 22:36:47 +00:00
Matt Mullenweg
4a58f4f523 Fixes for silly category_base stuff. Now lets it be blank and acts accordingly, more sane.
git-svn-id: https://develop.svn.wordpress.org/trunk@1244 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-09 02:52:27 +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
3b1de5d605 Some E_ALL fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@1235 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-05 21:29:23 +00:00
Matt Mullenweg
eb6bce2012 Allow ? in trackback URIs.
git-svn-id: https://develop.svn.wordpress.org/trunk@1231 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-05 08:07:16 +00:00
Matt Mullenweg
1205b3d97c Some style cleanup. Category base and additional URI options from Jay McCarthy.
git-svn-id: https://develop.svn.wordpress.org/trunk@1227 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-05 07:34:41 +00:00
Matt Mullenweg
ef353e438a remove_slashes was broken.
git-svn-id: https://develop.svn.wordpress.org/trunk@1226 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-05 06:47:20 +00:00
Matt Mullenweg
f24aeb0975 Don't gzip admin.
git-svn-id: https://develop.svn.wordpress.org/trunk@1220 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-01 08:59:40 +00:00
Matt Mullenweg
8b3f6450f1 Fixes for post screen.
git-svn-id: https://develop.svn.wordpress.org/trunk@1215 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-30 08:56:49 +00:00
Matt Mullenweg
2608fbf8a9 Gremlins in the options machine.
git-svn-id: https://develop.svn.wordpress.org/trunk@1206 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-28 20:31:41 +00:00
Matt Mullenweg
20cb408553 Allow WordPress installation URI and blog URI to be different.
git-svn-id: https://develop.svn.wordpress.org/trunk@1203 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-28 07:27:03 +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
Ryan Boren
a443c7fe53 Unify user and author queries on cache_userdata
git-svn-id: https://develop.svn.wordpress.org/trunk@1186 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-27 03:59:13 +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
Ryan Boren
21fbaa5bac 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: https://develop.svn.wordpress.org/trunk@1179 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-26 02:34:07 +00:00
Matt Mullenweg
4b6149eecf Timezone fixes, I hope.
git-svn-id: https://develop.svn.wordpress.org/trunk@1150 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-24 21:52:24 +00:00
Matt Mullenweg
17fe19e626 Cleaned up unused options.
git-svn-id: https://develop.svn.wordpress.org/trunk@1148 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-24 21:21:19 +00:00
Matt Mullenweg
c84f760347 Bug fix from Josh @ elsewhere.org.
git-svn-id: https://develop.svn.wordpress.org/trunk@1146 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-24 20:41:28 +00:00
Ryan Boren
ad23bae523 Mark strings for translation.
git-svn-id: https://develop.svn.wordpress.org/trunk@1139 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-24 03:40:04 +00:00
Matt Mullenweg
724b7a7cc8 Trim when updating options.
git-svn-id: https://develop.svn.wordpress.org/trunk@1129 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-22 21:29:59 +00:00
Matt Mullenweg
e5cbab641a Removing some old functions. Cleaning up remaining places where we exposed emails. Consolidated ampersand fixing. Fixed pasting from Word.
git-svn-id: https://develop.svn.wordpress.org/trunk@1121 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-22 07:41:57 +00:00
Matt Mullenweg
83fc5c942e A few typos.
git-svn-id: https://develop.svn.wordpress.org/trunk@1109 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-20 23:03:09 +00:00
Matt Mullenweg
94f0cf9181 Changed to superglobals, and eliminated $use_cache (since we always do).
git-svn-id: https://develop.svn.wordpress.org/trunk@1108 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-20 22:56:47 +00:00
Dougal Campbell
986f038d02 Added Alex Stapleton's add_option() code.
git-svn-id: https://develop.svn.wordpress.org/trunk@1084 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-16 21:17:09 +00:00
Matt Mullenweg
6b991e154c Plugin enhancements.
git-svn-id: https://develop.svn.wordpress.org/trunk@1081 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-16 02:24:37 +00:00
Matt Mullenweg
1704aeadb2 Removed obsolete functions.
git-svn-id: https://develop.svn.wordpress.org/trunk@1078 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-15 19:05:09 +00:00
Matt Mullenweg
c48dea5a4b We use generic ping functions now.
git-svn-id: https://develop.svn.wordpress.org/trunk@1077 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-15 18:57:39 +00:00
Matt Mullenweg
321512417a check_comment should return false if there are no comment moderation keys.
git-svn-id: https://develop.svn.wordpress.org/trunk@1056 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-07 00:48:19 +00:00
michelvaldrighi
1dd9932213 tweaked get_lastpostdate and get_lastpostmodified a bit for consistency
git-svn-id: https://develop.svn.wordpress.org/trunk@1042 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-31 18:06:45 +00:00
michelvaldrighi
43f76c323c forgot to replace this one
git-svn-id: https://develop.svn.wordpress.org/trunk@1035 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-31 01:25:12 +00:00
michelvaldrighi
ce8d502161 changing xmlrpc_encode to phpxmlrpc�_encode, xmlrpc_decode to phpxmlrpc_decode
git-svn-id: https://develop.svn.wordpress.org/trunk@1034 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-30 21:25:21 +00:00
Matt Mullenweg
e55eb009fd Don't try to ping empty sets.
git-svn-id: https://develop.svn.wordpress.org/trunk@1017 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-25 23:05:25 +00:00
Matt Mullenweg
d7a86c150c Debug code left.
git-svn-id: https://develop.svn.wordpress.org/trunk@1016 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-25 21:15:55 +00:00
Matt Mullenweg
84635f1a44 Additional plugin API hooks, extending moderation scheme to more fully cover trackbacks and pingbacks, cleanup of XML-RPC file.
git-svn-id: https://develop.svn.wordpress.org/trunk@1012 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-25 20:18:20 +00:00
Matt Mullenweg
cadc96082b If more than X links in a comment, moderate that sucker.
git-svn-id: https://develop.svn.wordpress.org/trunk@1011 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-25 10:11:58 +00:00
Matt Mullenweg
d064bd4545 Recache options when updating.
git-svn-id: https://develop.svn.wordpress.org/trunk@1009 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-25 07:21:00 +00:00
Matt Mullenweg
8198dc5328 Typo fixes to do_action and generic_ping
git-svn-id: https://develop.svn.wordpress.org/trunk@1007 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-25 06:11:28 +00:00
michelvaldrighi
8d907a1768 fixed get_lastpostdate and get_lastpostmodified
git-svn-id: https://develop.svn.wordpress.org/trunk@1002 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-25 02:37:47 +00:00
michelvaldrighi
15a49deda2 since time_difference is now relative to GMT, we should use gmdate instead of date when adding time_difference
git-svn-id: https://develop.svn.wordpress.org/trunk@1001 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-25 02:21:40 +00:00
Matt Mullenweg
f14254c46b New comment moderation code, for trackbacks and comments.
git-svn-id: https://develop.svn.wordpress.org/trunk@984 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-21 08:31:33 +00:00
Matt Mullenweg
512c20e9b9 Generic update pinging. Needs review.
git-svn-id: https://develop.svn.wordpress.org/trunk@982 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-21 07:36:07 +00:00
Ryan Boren
a95c8313cb More rewrite fixes. s/[0-9a-z_-]/[_0-9a-z-]/
git-svn-id: https://develop.svn.wordpress.org/trunk@965 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-09 03:55:01 +00:00
Ryan Boren
1bb133cd19 rewrite_rules() tweaks. Use rewrite_rules() in options-permalink.php.
git-svn-id: https://develop.svn.wordpress.org/trunk@963 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-08 05:12:11 +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
michelvaldrighi
73817b4edc added a timezone argument to get�_lastpost*()
git-svn-id: https://develop.svn.wordpress.org/trunk@952 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-28 17:51:41 +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
michelvaldrighi
047441f893 aliasing time_difference to gmt_offset in get_settings(), for great justice
git-svn-id: https://develop.svn.wordpress.org/trunk@943 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-26 16:14:10 +00:00
michelvaldrighi
d7a322fe18 more GMT fixoragization
git-svn-id: https://develop.svn.wordpress.org/trunk@938 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-26 13:07:11 +00:00
michelvaldrighi
d66e4693e6 just moving these two lines fixes the the_date() issue for GMT
git-svn-id: https://develop.svn.wordpress.org/trunk@934 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-25 17:12:30 +00:00
Matt Mullenweg
539371d0b5 current_time now uses GMT.
git-svn-id: https://develop.svn.wordpress.org/trunk@931 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-25 00:00:38 +00:00
michelvaldrighi
beffb648e5 fixed touch_time to use user's timezone instead of GMT
git-svn-id: https://develop.svn.wordpress.org/trunk@926 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-23 15:58:26 +00:00
michelvaldrighi
1710312617 added in start_wp: $post->post_date_gmt is the gmt version of post_date
git-svn-id: https://develop.svn.wordpress.org/trunk@919 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-23 05:41:14 +00:00
michelvaldrighi
1ef85f9dd5 big leap to GMT dates
git-svn-id: https://develop.svn.wordpress.org/trunk@914 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-23 03:42:40 +00:00
michelvaldrighi
5d1d2093c2 added get_lastpostmodified()
git-svn-id: https://develop.svn.wordpress.org/trunk@908 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-22 03:28:46 +00:00
michelvaldrighi
dff5381edd removed useless php3 compatibility, fixed a forgotten global
git-svn-id: https://develop.svn.wordpress.org/trunk@906 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-21 22:59:40 +00:00
michelvaldrighi
5fffb28972 notification emails are now sent using the blog's charset
git-svn-id: https://develop.svn.wordpress.org/trunk@905 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-21 22:53:05 +00:00
Matt Mullenweg
c3be4eeb68 New get_posts function, for multiple WP loops.
git-svn-id: https://develop.svn.wordpress.org/trunk@902 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-21 14:10:07 +00:00
michelvaldrighi
8caf9379a9 user_pass_ok now uses md5()
git-svn-id: https://develop.svn.wordpress.org/trunk@892 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-19 22:42:47 +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
Matt Mullenweg
e7813d6d2b New *_action functions, removed alert_error.
git-svn-id: https://develop.svn.wordpress.org/trunk@883 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-17 03:00:20 +00:00
Ryan Boren
0081ac69aa Support PATH_INFO permalinks. Move rewrite rule generation to rewrite_rules().
git-svn-id: https://develop.svn.wordpress.org/trunk@881 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-17 02:50:57 +00:00
Matt Mullenweg
239532ea4e Edit post slugs.
git-svn-id: https://develop.svn.wordpress.org/trunk@870 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-13 11:21:30 +00:00
Matt Mullenweg
86072d56df New function, remove_filter. Added priorities to filters.
git-svn-id: https://develop.svn.wordpress.org/trunk@853 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-09 11:58:49 +00:00
Matt Mullenweg
e2efe09044 Nested category list from Philip Taron.
git-svn-id: https://develop.svn.wordpress.org/trunk@848 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-09 08:55:29 +00:00
Matt Mullenweg
84886ddc38 Breaking out some of the formatting functions into a different file.
git-svn-id: https://develop.svn.wordpress.org/trunk@846 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-09 06:57:02 +00:00
michelvaldrighi
61c0ce4048 we should never use $RESUEST_URI, but access it with $_SERVER
git-svn-id: https://develop.svn.wordpress.org/trunk@845 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-08 16:10:28 +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
Ryan Boren
6ebd3ca6c0 Clean feed and trackback URLs.
git-svn-id: https://develop.svn.wordpress.org/trunk@836 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-05 20:55:50 +00:00
Alex King
bf326d4a00 added single quotes around values in SQL statements
git-svn-id: https://develop.svn.wordpress.org/trunk@810 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-30 02:39:01 +00:00
Matt Mullenweg
65ead28b02 Fix for mpts markup prob.
git-svn-id: https://develop.svn.wordpress.org/trunk@779 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-15 11:01:21 +00:00
Matt Mullenweg
8ac0a3a2ca Make entity catch in sanitize_title ungreedy.
git-svn-id: https://develop.svn.wordpress.org/trunk@775 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-14 05:46:53 +00:00
Matt Mullenweg
07604037d0 fix for multiple hypens.
git-svn-id: https://develop.svn.wordpress.org/trunk@774 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-14 05:40:57 +00:00
Alex King
1afe017eee fixed hilite whitespace checking
git-svn-id: https://develop.svn.wordpress.org/trunk@770 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-12 23:24:51 +00:00
Matt Mullenweg
6a05550bba Fix from alex:
http://wordpress.org/support/10/1636#post-11


git-svn-id: https://develop.svn.wordpress.org/trunk@755 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-12 09:33:02 +00:00
Matt Mullenweg
bb4afb9042 Search hilite changes from Ryan Boren
git-svn-id: https://develop.svn.wordpress.org/trunk@754 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-12 00:59:21 +00:00
Matt Mullenweg
91a87d821a Google hilite.
git-svn-id: https://develop.svn.wordpress.org/trunk@747 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-09 11:16:10 +00:00
Matt Mullenweg
81ca149ad0 Change how get_settings errors are returned.
git-svn-id: https://develop.svn.wordpress.org/trunk@708 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-03 22:20:25 +00:00
Matt Mullenweg
b1923c0ccc Use post_status in get_lastpostdate
git-svn-id: https://develop.svn.wordpress.org/trunk@686 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-02 19:27:21 +00:00
Alex King
192fc9544f 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: https://develop.svn.wordpress.org/trunk@677 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-01 21:12:22 +00:00
Matt Mullenweg
c8fd26d21a Author description field.
git-svn-id: https://develop.svn.wordpress.org/trunk@674 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-01 00:55:31 +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
0c44a67568 New title code.
git-svn-id: https://develop.svn.wordpress.org/trunk@652 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-25 00:01:31 +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
d179dd97d9 Moved gzip stuff into options.
git-svn-id: https://develop.svn.wordpress.org/trunk@646 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-23 21:31:09 +00:00
Dougal Campbell
0937ec283d Fixed %post_id% token handling. Fixed pingback link detection.
git-svn-id: https://develop.svn.wordpress.org/trunk@640 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-22 23:00:45 +00:00
Matt Mullenweg
afa0ffeae3 Update sending pingbacks to use new URL structure. Need to update to receive like that.
git-svn-id: https://develop.svn.wordpress.org/trunk@638 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-22 03:26:31 +00:00
Matt Mullenweg
7d72c03fb8 Trackback on edit done.
git-svn-id: https://develop.svn.wordpress.org/trunk@636 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-22 02:46:40 +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
Mike Little
acf936810f Some more b2->wp renaming
git-svn-id: https://develop.svn.wordpress.org/trunk@617 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-16 01:58:39 +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
57afaea33d Update autop to include th and divs.
git-svn-id: https://develop.svn.wordpress.org/trunk@609 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-13 17:47:28 +00:00
Matt Mullenweg
c5d9fd8e24 Missing quote.
git-svn-id: https://develop.svn.wordpress.org/trunk@605 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-11 18:44:05 +00:00
Matt Mullenweg
83052c7203 Fix for permalink in comment. Removed old sample config.
git-svn-id: https://develop.svn.wordpress.org/trunk@603 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-11 18:10:43 +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