Commit Graph

396 Commits

Author SHA1 Message Date
Ryan Boren 2c75118680 Use is_single().
git-svn-id: https://develop.svn.wordpress.org/trunk@1537 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-17 02:29:37 +00:00
Ryan Boren 3db73193ef Paging cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@1536 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-16 22:50:06 +00:00
Ryan Boren ee416fcdc2 Complete support for %author% in post permalinks.
git-svn-id: https://develop.svn.wordpress.org/trunk@1534 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-14 17:29:09 +00:00
Ryan Boren 38088a0503 Use sanitize_title() to process post, page, author, and category names in the query.
git-svn-id: https://develop.svn.wordpress.org/trunk@1533 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-14 16:08:57 +00:00
Ryan Boren f43f503c7e Add lost return to get_permalink().
git-svn-id: https://develop.svn.wordpress.org/trunk@1532 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-13 15:00:45 +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 aaac167408 Type.
git-svn-id: https://develop.svn.wordpress.org/trunk@1525 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-09 09:06:49 +00:00
Matt Mullenweg c98f01f8db Some login functions.
git-svn-id: https://develop.svn.wordpress.org/trunk@1524 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-09 08:29:51 +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 9f2cd5bc27 Gracefully handle multiple <!--more> tags. From Scott Reilly (coffee2code). Bug 0000113.
git-svn-id: https://develop.svn.wordpress.org/trunk@1519 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-08 20:22:29 +00:00
Ryan Boren 3c161591e7 Hack to make day initials unique for translation. Ugly, but it works. Bug 0000010.
git-svn-id: https://develop.svn.wordpress.org/trunk@1518 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-08 18:54:34 +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
Ryan Boren debef5a642 Fix get_pagenum_link() to work with path info permalinks and permalinks without trailing slashes. Bug 0002040.
git-svn-id: https://develop.svn.wordpress.org/trunk@1514 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-07 18:12:54 +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 32bd9e6ac7 In sanitize_title(), strip_tags() before sanitizing, not after. In post.php, if post name is empty, pass the post title to the sanitizer.
git-svn-id: https://develop.svn.wordpress.org/trunk@1512 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-06 01:28:51 +00:00
Ryan Boren 1163f6fcc5 Fix localization of next month link in get_calendar. Bug 0000201.
git-svn-id: https://develop.svn.wordpress.org/trunk@1508 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-03 21:59:29 +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 49d3ad1d06 Oops. Add ENT_QUOTES.
git-svn-id: https://develop.svn.wordpress.org/trunk@1498 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-28 23:13:01 +00:00
Ryan Boren 52ae977992 Run htmlspecialchars on title attribute text in get_archives_link(). Bug 0000162.
git-svn-id: https://develop.svn.wordpress.org/trunk@1497 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-28 23:09:33 +00:00
Ryan Boren 77614fa3e1 Fix wp_title() display of category_name.
git-svn-id: https://develop.svn.wordpress.org/trunk@1492 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-28 03:30:15 +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 d605d2aa6f Fix for 0000190. Do not set the category query state to true if single, date, or search are true.
git-svn-id: https://develop.svn.wordpress.org/trunk@1490 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-28 01:59:29 +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
Ryan Boren 5cf4b39065 strip_tags from title in sanitize_title(). Patch from Masquerade for bugs 0000181 and 00000107.
git-svn-id: https://develop.svn.wordpress.org/trunk@1488 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-27 15:12:18 +00:00
Ryan Boren 685eeb94f9 Quote $id in get_the_category() db query. Patch from MCincubus for bug 0000191.
git-svn-id: https://develop.svn.wordpress.org/trunk@1486 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-27 14:58:30 +00:00
Ryan Boren 68f755f608 If the sanitized title is empty, fallback to the post ID for the nicename. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000116
git-svn-id: https://develop.svn.wordpress.org/trunk@1481 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-24 03:22:49 +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 2d87b95f69 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@1479 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-23 09:17:14 +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
Matt Mullenweg 80bf1b51a4 Improved error messages.
git-svn-id: https://develop.svn.wordpress.org/trunk@1475 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-23 01:35:56 +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 0b2b99ea65 Check for registration settings.
git-svn-id: https://develop.svn.wordpress.org/trunk@1460 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-12 06:24:08 +00:00
Matt Mullenweg 25095a256a A nicer meta bar.
git-svn-id: https://develop.svn.wordpress.org/trunk@1459 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-10 23:34:47 +00:00
Matt Mullenweg 3cba01120b Missing $before from Josh Kaufman-Horner and some code cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@1451 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-06 17:04:07 +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 dc89a3d3a4 Add missing breaks to the_category().
git-svn-id: https://develop.svn.wordpress.org/trunk@1444 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-22 01:42:24 +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
jverber 150265dd4e Fix for bug #0000062: calendar no longer highlights _today_ for previous years.
git-svn-id: https://develop.svn.wordpress.org/trunk@1430 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-16 15:45:44 +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 7c8e02accb Handle https URLs when manipulating COOKIEPATH. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000001
git-svn-id: https://develop.svn.wordpress.org/trunk@1415 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-11 19:34:26 +00:00