Commit Graph

507 Commits

Author SHA1 Message Date
michelvaldrighi 21dcfb25d9 added user_can_edit_post and user_can_delete_post
git-svn-id: http://svn.automattic.com/wordpress/trunk@1561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-25 15:12:10 +00:00
michelvaldrighi 4ff88b4c3e whoops, typo in trackback_url_list
git-svn-id: http://svn.automattic.com/wordpress/trunk@1560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-25 14:22:39 +00:00
rboren 841e29798b Template redirection.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-24 08:43:01 +00:00
rboren f3cf5ba8c9 Add previous_post_link() and next_post_link().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-24 01:35:57 +00:00
rboren b7ac2955a2 Add is_year(), is_month(), is_day(), is_time().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-24 01:24:48 +00:00
rboren 80842ce65b Fix a path info paging bug. Add using_mod_rewrite().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-23 23:28:14 +00:00
saxmatt 72e99ca6fa Missing table block elements from arnau siches
git-svn-id: http://svn.automattic.com/wordpress/trunk@1554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-23 09:07:07 +00:00
saxmatt 064773fcd8 Escape from slashville
git-svn-id: http://svn.automattic.com/wordpress/trunk@1545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-21 01:50:59 +00:00
saxmatt db943e4a2e Typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-20 17:56:51 +00:00
saxmatt 38545517b1 Some profiling info in $wpdb optionally.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-20 17:52:49 +00:00
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 b3c8f86b0b Use is_single().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-17 02:29:37 +00:00
rboren f510f2a85d Paging cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-16 22:50:06 +00:00
rboren 3f7ac3eb4d Complete support for %author% in post permalinks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-14 17:29:09 +00:00
rboren 3258f9c219 Use sanitize_title() to process post, page, author, and category names in the query.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-14 16:08:57 +00:00
rboren 044c12ae42 Add lost return to get_permalink().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-13 15:00:45 +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 c6cd1024c3 Type.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-09 09:06:49 +00:00
saxmatt 6328a98e81 Some login functions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-09 08:29:51 +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 bcf41e4fc9 Gracefully handle multiple <!--more> tags. From Scott Reilly (coffee2code). Bug 0000113.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-08 20:22:29 +00:00
rboren d514190d2d Hack to make day initials unique for translation. Ugly, but it works. Bug 0000010.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-08 18:54:34 +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
rboren 1a47e9d839 Fix get_pagenum_link() to work with path info permalinks and permalinks without trailing slashes. Bug 0002040.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-07 18:12:54 +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 b2fe32b18d 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: http://svn.automattic.com/wordpress/trunk@1512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-06 01:28:51 +00:00
rboren 9b2e6a85c0 Fix localization of next month link in get_calendar. Bug 0000201.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-03 21:59:29 +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 3dad21b630 Oops. Add ENT_QUOTES.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-28 23:13:01 +00:00
rboren 44f4b916f8 Run htmlspecialchars on title attribute text in get_archives_link(). Bug 0000162.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-28 23:09:33 +00:00
rboren f778e2a657 Fix wp_title() display of category_name.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-28 03:30:15 +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 487c3dbd66 Fix for 0000190. Do not set the category query state to true if single, date, or search are true.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-28 01:59:29 +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
rboren c0a7433958 strip_tags from title in sanitize_title(). Patch from Masquerade for bugs 0000181 and 00000107.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-27 15:12:18 +00:00
rboren 96db009381 Quote $id in get_the_category() db query. Patch from MCincubus for bug 0000191.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-27 14:58:30 +00:00
rboren 8633ffdba4 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: http://svn.automattic.com/wordpress/trunk@1481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-24 03:22:49 +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 a4637412cb Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@1479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-23 09:17:14 +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
saxmatt 2d407089c9 Improved error messages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-23 01:35:56 +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 b67063554d Check for registration settings.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-12 06:24:08 +00:00
saxmatt 724a294df6 A nicer meta bar.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-10 23:34:47 +00:00
saxmatt d1640ab7fe Missing $before from Josh Kaufman-Horner and some code cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-06 17:04:07 +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 eedeb9dea1 Add missing breaks to the_category().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-22 01:42:24 +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
jverber 33900801ce Fix for bug #0000062: calendar no longer highlights _today_ for previous years.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-16 15:45:44 +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 72a8403905 Handle https URLs when manipulating COOKIEPATH. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000001
git-svn-id: http://svn.automattic.com/wordpress/trunk@1415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-11 19:34:26 +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
jverber 98603cefa5 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: http://svn.automattic.com/wordpress/trunk@1412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-11 19:01:01 +00:00
saxmatt a2f67bc9a4 Ugly but works. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000014
git-svn-id: http://svn.automattic.com/wordpress/trunk@1410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-11 18:09:21 +00:00
saxmatt dce17fa6d6 http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000013
git-svn-id: http://svn.automattic.com/wordpress/trunk@1409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-11 17:52:41 +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
rboren 0253c24f9b Remove more stripslashes().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-11 08:11:49 +00:00
rboren 692627e424 Get our slashes straight.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-11 08:02:40 +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 f9d3eafb29 Needs to be inside of conditional.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-10 09:17:41 +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
saxmatt 50e5276b0a More comments and comment template improvements. TODO: popup comment template
git-svn-id: http://svn.automattic.com/wordpress/trunk@1400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-10 08:40:58 +00:00
saxmatt 6728151fd2 Move comments include into function.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-10 07:42:48 +00:00
rboren 2e544d32b6 Global $m in wp_title() so that date archive titles are displayed correctly.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-09 20:35:58 +00:00
rboren 336f42db94 Add back the trailing slash to paged permalinks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-08 17:48:21 +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 282123d62f Fix links generated by link_pages() in next mode. http://www.kackreiz.net/wordpress.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@1393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-08 09:29:41 +00:00
rboren 1139d6fd36 posts_nav_link fixes. http://wordpress.org/support/6/6979
git-svn-id: http://svn.automattic.com/wordpress/trunk@1391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-07 04:41:06 +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 12dea3832c Add %category% support to get_permalink.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-04 02:36:46 +00:00
saxmatt b3f30a2877 Added consistant trailing slash.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-02 21:43:18 +00:00
saxmatt ffcebf236f Fix for strange slash nav errors for paged nice links, and validation fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-02 07:44:43 +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 2367e7cef2 Apply the list_cats filter to the cat name. Credit: Jaykul. http://wordpress.org/support/4/6242
git-svn-id: http://svn.automattic.com/wordpress/trunk@1375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-31 22:09:38 +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
michelvaldrighi 38293cef03 added iso8601 handling functions, to avoid ugly nasty conversions
git-svn-id: http://svn.automattic.com/wordpress/trunk@1372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-31 17:02:09 +00:00
rboren bd9c5a9bb4 Fix up the_category_ID() and the_category_head() to maintain backwards compat. Mark as deprecated.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-27 21:19:37 +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
saxmatt fbfa9fbe02 Bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-26 05:07:14 +00:00
saxmatt 3c8d213ac1 Fix for unencoded ampersands. When did we lose this?
git-svn-id: http://svn.automattic.com/wordpress/trunk@1361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-25 04:33:37 +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 831d0c9965 relocated misc database-related functions
git-svn-id: http://svn.automattic.com/wordpress/trunk@1353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-24 01:34:57 +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
michelvaldrighi 3c2c7625e9 we shall use IXR instead of phpxmlrpc in the future -- so long, and thanks for all the xmlrpcval headaches
git-svn-id: http://svn.automattic.com/wordpress/trunk@1346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-22 16:44:45 +00:00
michelvaldrighi a37b646a67 new remove_accents for sanitize_title, not relying on the file's charset
git-svn-id: http://svn.automattic.com/wordpress/trunk@1345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-22 14:34:09 +00:00
saxmatt a939c7571a FINALLY.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-22 10:27:12 +00:00
michelvaldrighi be0bac91d8 strip leading and trailing dashes from post slugs
git-svn-id: http://svn.automattic.com/wordpress/trunk@1336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-21 21:35:16 +00:00
michelvaldrighi 8055e88898 backing out that encoding fix until further testing is done
git-svn-id: http://svn.automattic.com/wordpress/trunk@1335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-21 21:29:57 +00:00
michelvaldrighi 056ba53cce removing removeaccents, will put replacement after a release is out
git-svn-id: http://svn.automattic.com/wordpress/trunk@1334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-21 21:05:17 +00:00
rboren d267a0f119 Add removeaccents for use in sanitize_title to remove accents from characters so that they can be used in permalinks. Bust the functionality in sanitize_title out into a replaceable filter.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-21 08:37:55 +00:00
rboren b7e26217c3 Require wp-config.php from wp-l10n.php to make sure WPLANG is always set.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-21 03:26:12 +00:00
saxmatt 56dc234e6a Support for MathML, from Jacques Distler.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-20 17:25:26 +00:00
emc3 44344bdcd7 Fixed list_cats support for hide_empty and optioncount. Also fixed indentation in that function.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-20 14:07:55 +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 730f6ceb32 Last release candidate, I promise.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-20 11:56:24 +00:00
michelvaldrighi 476d22babc what's with me committing parse errors lately, damn it
git-svn-id: http://svn.automattic.com/wordpress/trunk@1321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-19 22:34:01 +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 4354f8c214 Remove extra slash in filename.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-19 03:09:49 +00:00
michelvaldrighi 8b28d69e79 if the class is used in WP, use the blog's charset in xmlrpc requests that we send
git-svn-id: http://svn.automattic.com/wordpress/trunk@1310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-19 01:35:09 +00:00
saxmatt 91d7e604f2 This is used more than I thought in templates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-18 08:36:53 +00:00
saxmatt 79de611ce9 Simple function to check if a post is in a category.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-18 08:18:38 +00:00
michelvaldrighi ff60783025 forgotten GMT fix for calendar
git-svn-id: http://svn.automattic.com/wordpress/trunk@1301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-17 20:46:15 +00:00
rboren b8d33ee437 show_post_count, after, and custom format were not playing nicely in get_archives.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-17 00:31:33 +00:00
rboren d262c2d8cb Add santize_title action.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-16 22:14:14 +00:00
rboren c454490973 Allow underscores in category and author names.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-16 22:07:26 +00:00
rboren c66fd77dbd Oops. Keys need to be marked too.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-16 17:51:26 +00:00
rboren 32f9f6e331 Put day and month initials and abbreviations into locale.php so that they can be translated. Change get_calendar to use the locale abbreviations instead of doing substring operations.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-16 17:07:13 +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
emc3 812ad5dbc3 Only used published posts.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-14 19:44:23 +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
michelvaldrighi 620accf191 fix for the bug that made list_cats show empty categories, thanks to brux
git-svn-id: http://svn.automattic.com/wordpress/trunk@1278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-14 16:20:38 +00:00
saxmatt 7e267ea922 It's RC time. :)
git-svn-id: http://svn.automattic.com/wordpress/trunk@1276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-14 09:14:24 +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 a2551a08ad Emails allow + per RFC. Hat tip: crw
git-svn-id: http://svn.automattic.com/wordpress/trunk@1269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-14 05:52:53 +00:00
saxmatt a29bc2fbf1 A formatting change to help track down that phantom line 760 error.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-10 08:37:51 +00:00
saxmatt 1498bf0bc2 Allow absolute image URIs in links.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-10 08:26:42 +00:00
saxmatt 1934965c55 Bumpit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-10 08:16:56 +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 ee19b6c490 wfw:commentRSS and E_ALL fix to blog-header.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-10 07:51:50 +00:00
saxmatt d30904708e Fix from Jay McCarthy and I cleaned up the function to remove some unused globals.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-09 23:26:41 +00:00
saxmatt b4a1cc7ea4 Fix so KSES works with Japanese encoding.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-09 23:25:24 +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
michelvaldrighi e691978606 added wp_filter support to the_excerpt_rss
git-svn-id: http://svn.automattic.com/wordpress/trunk@1250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-09 18:31:58 +00:00
michelvaldrighi cb1f6849e2 (sue me, I had committed with debug junk still in there)
git-svn-id: http://svn.automattic.com/wordpress/trunk@1249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-09 16:41:16 +00:00
michelvaldrighi 8eee2ded8b adding wp_filter support to the_category, the_category_rss, and list_cats
git-svn-id: http://svn.automattic.com/wordpress/trunk@1248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-09 16:34:03 +00:00
saxmatt cdc9a55ad9 Various fixes and cleanups, inspired and pointed out by Joseph Scott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-09 05:47:02 +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
saxmatt ba407ff5b3 E_ALL fixes and cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-07 23:56:33 +00:00
saxmatt cc421db53d Add blockquote to tags allowed by default.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-07 23:30:44 +00:00
saxmatt 0990789400 Fix for cookie paths being set correctly when using a different home setting. Refactored comments-post.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-07 23:21:31 +00:00
saxmatt b4a0d174d8 Some E_ALL fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-05 21:29:23 +00:00
saxmatt 348dbc769b Allow ? in trackback URIs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-05 08:07:16 +00:00
saxmatt 8309fe9c31 Missed the cat call.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-05 07:59:51 +00:00