Commit Graph

143 Commits

Author SHA1 Message Date
rboren
ba6ee1070a Search permalinks complete with feed and paging support.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-18 21:05:34 +00:00
rboren
4a0112f746 Add pagename query var.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-11 01:55:34 +00:00
rboren
ea16450f63 Static pages. Take 1.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-10 05:35:59 +00:00
saxmatt
942f555425 Don't need the 1=1
git-svn-id: http://svn.automattic.com/wordpress/trunk@1523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-09 07:54:23 +00:00
rboren
fe54ac2427 Add get_query_var() wrapper for $wp_query->get().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-08 16:47:22 +00:00
rboren
73402f0741 WP Query class.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-08 15:31:50 +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
2a1d84ef82 Simplify post paging. Remove "posts paged" setting. We should always page. Add posts_nav_link() to the default template.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-29 03:34:08 +00:00
rboren
6b12e25d03 Support timestamp permalinks. Make wider use of is_single(). Bug 0000194.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-28 02:43:54 +00:00
rboren
a095fdaf84 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: http://svn.automattic.com/wordpress/trunk@1489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-27 23:37:45 +00:00
saxmatt
2577287a67 Whoops!
git-svn-id: http://svn.automattic.com/wordpress/trunk@1480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-23 09:26:37 +00:00
saxmatt
c0b93707a1 Options system can now transparently handle arrays and objects.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-23 09:14:30 +00:00
rboren
241958270d Add rewrite_rules_array filter point.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-15 23:29:41 +00:00
rboren
a166bd1267 Handle trackback URIs containing query strings. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000066
git-svn-id: http://svn.automattic.com/wordpress/trunk@1461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-13 17:52:47 +00:00
saxmatt
78397fa62c Fine tune checking.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-30 21:54:10 +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
rboren
1f4bbde4a2 If the new value and old value are the same, do not update the option in update_option().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-24 01:00:31 +00:00
rboren
b8f38cca10 Add posts_where, the_posts, and query_string filters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-20 22:36:45 +00:00
jverber
1464a3364f Fixes for bugs #0000088-90: fixed encoding of special chars.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-19 04:23:59 +00:00
rboren
6fd6b1080d stripslashes() elimination. Remove extra slashes during upgrade. Bugs 0000059 and 0000018
git-svn-id: http://svn.automattic.com/wordpress/trunk@1435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-18 00:22:09 +00:00
rboren
069c6d1f17 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: http://svn.automattic.com/wordpress/trunk@1428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-15 03:30:00 +00:00
michelvaldrighi
b806731280 rolling back the ob_gzhandler 'fix' because ob_get_status is php >4.1
git-svn-id: http://svn.automattic.com/wordpress/trunk@1426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-14 23:16:03 +00:00
michelvaldrighi
657d4982ba send the blog's charset in trackbacks' Content-type
git-svn-id: http://svn.automattic.com/wordpress/trunk@1425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-14 22:43:27 +00:00
michelvaldrighi
802137da74 prevent double ob_gzhandler error
git-svn-id: http://svn.automattic.com/wordpress/trunk@1424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-14 22:42:43 +00:00
rboren
8971569b13 Add comment_approved to commentdata. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000015
git-svn-id: http://svn.automattic.com/wordpress/trunk@1413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-11 19:03:59 +00:00
rboren
7ff35cf184 stripslashes() elimination.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-11 16:51:39 +00:00
saxmatt
4f6e367f90 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: http://svn.automattic.com/wordpress/trunk@1404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-10 10:01:45 +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
rboren
5d4fca3088 Add null check to $functions in apply_filters(). http://www.kackreiz.net/wordpress.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@1394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-08 09:34:01 +00:00
rboren
a56fac823a Guard against empty $cat_counts array. http://wordpress.org/support/3/6080
git-svn-id: http://svn.automattic.com/wordpress/trunk@1389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-06 07:21:58 +00:00
rboren
f8258351b4 Rewrite and %category% fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-06 02:02:27 +00:00
rboren
b863cf90d1 Make /feed/ and /comments/feed work with path info. Introduce get_feed_link().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-02 07:14:03 +00:00
rboren
96e44262b4 Rewrite rule fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-02 05:16:44 +00:00
rboren
44e890f765 index.php now handles feeds and trackbacks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-31 23:35:32 +00:00
rboren
ea50451ba6 More rewrite rule refactoring. Move the permalink parser into generate_rewrite_rules() and make it handle categories and authors.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-31 21:34:00 +00:00
rboren
e4bf283bc6 Revamp rewrite rule generation. Add clean page links. Credit to Jaykul for get_pagenum_link().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-31 17:22:25 +00:00
emc3
48250cd478 Fixed check_comment() to ignore empty lines in moderation_keys.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-27 13:53:27 +00:00
saxmatt
557fe886cd New hook for when comment status is changed.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-27 03:49:23 +00:00
rboren
bf8e4423f0 Make $request global to satisfy the page navigation fxns.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-25 01:16:49 +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
rboren
89d5a6fd88 Introducing query_posts(), update_post_caches(), update_user_cache(), and update_category_cache().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-24 02:55:39 +00:00
michelvaldrighi
be22bea57d make xmlrpc_getpostcategory support multiple, comma-separated categories
git-svn-id: http://svn.automattic.com/wordpress/trunk@1347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-23 02:55:10 +00:00
emc3
035ff03f95 Removed and eradicated redundant duplication. And fixed indentation.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-20 13:31:48 +00:00
saxmatt
cce21f96fd Remove unused variable.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-19 05:59:21 +00:00
rboren
53a668610d Output default Geo headers if the query has returns one post but the lat and lon are empty.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-14 21:59:51 +00:00
michelvaldrighi
c9ad4c9437 merging fixes by Mark Ghosh for service pings
git-svn-id: http://svn.automattic.com/wordpress/trunk@1279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-14 17:31:54 +00:00
saxmatt
9f98ec2941 Trackback and feed URIs weren't working when there was no trailing slash on the permalink structure. Thanks Kitty.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-14 08:47:01 +00:00
saxmatt
d8ab98d7b8 Maybe some pinging fixes?
git-svn-id: http://svn.automattic.com/wordpress/trunk@1256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-10 08:13:42 +00:00
saxmatt
fbd7cc9b6d Comment count patch from Kitty. http://poker.mookitty.co.uk/
git-svn-id: http://svn.automattic.com/wordpress/trunk@1252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-09 22:36:47 +00:00
saxmatt
4915acfefd Fixes for silly category_base stuff. Now lets it be blank and acts accordingly, more sane.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-09 02:52:27 +00:00