Commit Graph

383 Commits

Author SHA1 Message Date
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
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
jverber
b8faed46d6 Changed (wp_)list_cats. children argument now determines if categories below top level are displayed, and hierarchical determines if the list is displayed hierarchically.
git-svn-id: https://develop.svn.wordpress.org/trunk@1412 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-11 19:01:01 +00:00
Matt Mullenweg
426d0b472a Ugly but works. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000014
git-svn-id: https://develop.svn.wordpress.org/trunk@1410 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-11 18:09:21 +00:00
Matt Mullenweg
e0ef0f1631 http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000013
git-svn-id: https://develop.svn.wordpress.org/trunk@1409 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-11 17:52:41 +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
Ryan Boren
e5e50fe714 Remove more stripslashes().
git-svn-id: https://develop.svn.wordpress.org/trunk@1406 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-11 08:11:49 +00:00
Ryan Boren
a5a67ec795 Get our slashes straight.
git-svn-id: https://develop.svn.wordpress.org/trunk@1405 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-11 08:02:40 +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
f1cdd2b2ff Needs to be inside of conditional.
git-svn-id: https://develop.svn.wordpress.org/trunk@1402 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-10 09:17:41 +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
Matt Mullenweg
feef0aee85 More comments and comment template improvements. TODO: popup comment template
git-svn-id: https://develop.svn.wordpress.org/trunk@1400 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-10 08:40:58 +00:00
Matt Mullenweg
a507894ed3 Move comments include into function.
git-svn-id: https://develop.svn.wordpress.org/trunk@1398 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-10 07:42:48 +00:00
Ryan Boren
7f3d0a8af1 Global $m in wp_title() so that date archive titles are displayed correctly.
git-svn-id: https://develop.svn.wordpress.org/trunk@1396 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-09 20:35:58 +00:00