Commit Graph

719 Commits

Author SHA1 Message Date
Ryan Boren fb09e46ffe Introducing add_query_arg() and remove_query_arg(). Props: Owen Winkler.
git-svn-id: https://develop.svn.wordpress.org/trunk@1823 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-20 21:28:37 +00:00
Donncha O Caoimh e7ecb7ad81 Make checking enclosure URLs much faster - fclose() after blank line in response.
git-svn-id: https://develop.svn.wordpress.org/trunk@1820 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-20 15:07:49 +00:00
Ryan Boren ed78ed9a2d Split admin-header.php into admin.php and admin-header.php. Split menu.php into menu-header.php and menu.php. Add plugin admin page support.
git-svn-id: https://develop.svn.wordpress.org/trunk@1818 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-19 03:03:06 +00:00
Ryan Boren ac3556c7aa Default textdomain loading cleanup. Fix for bug 230.
git-svn-id: https://develop.svn.wordpress.org/trunk@1817 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-19 00:18:12 +00:00
michelvaldrighi f95b24fb39 better fix for single_month_title, preserves backward-compatibility with
git-svn-id: https://develop.svn.wordpress.org/trunk@1816 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-18 23:52:36 +00:00
michelvaldrighi 3359d36922 fixed single_month_title. thanks to Brak (http://wordpress.org/support/6/14897)
git-svn-id: https://develop.svn.wordpress.org/trunk@1815 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-18 23:45:26 +00:00
Donncha O Caoimh cc9dc67ff8 Enclosure support moved to functions.php - it now scans the content
and encloses file of mime type "video", "audio" and "image".
Fixed a bug in upgrade.php - extra character at the start of file.


git-svn-id: https://develop.svn.wordpress.org/trunk@1812 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-18 12:09:20 +00:00
Ryan Boren e626ba0970 Fix typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@1809 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-18 04:38:49 +00:00
Ryan Boren e41ead7068 Plugin and theme localization.
git-svn-id: https://develop.svn.wordpress.org/trunk@1808 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-18 02:27:35 +00:00
michelvaldrighi 7e11bf0ee6 added more user_can_* functions
git-svn-id: https://develop.svn.wordpress.org/trunk@1804 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-15 16:20:25 +00:00
Ryan Boren a85bbd647d If the match is unanchored and greedy, prepend rewrite conditions to avoid infinite redirects and eclipsing of real files. Add L to rewrite flags to break out of rewriting once a match is found.
git-svn-id: https://develop.svn.wordpress.org/trunk@1802 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-15 03:16:01 +00:00
Matt Mullenweg 8485291bd9 Fix for bug 137. Patch from kelson.
git-svn-id: https://develop.svn.wordpress.org/trunk@1799 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-14 08:27:56 +00:00
Matt Mullenweg b4984a31c2 Trackback and pingback cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@1794 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-14 07:26:41 +00:00
Ryan Boren 707bf8bb44 Move get_theme*() from admin-functions to functions so that templates and plugins can use them.
git-svn-id: https://develop.svn.wordpress.org/trunk@1792 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-14 03:54:57 +00:00
michelvaldrighi ee2181e927 unb0rked the pagination links
git-svn-id: https://develop.svn.wordpress.org/trunk@1791 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-13 14:18:17 +00:00
Ryan Boren 8d9fda7a9c Add template and stylesheet filters.
git-svn-id: https://develop.svn.wordpress.org/trunk@1789 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-13 03:20:03 +00:00
Ryan Boren 0bee08aace Double hash password in cookies.
git-svn-id: https://develop.svn.wordpress.org/trunk@1788 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-13 02:21:37 +00:00
michelvaldrighi 2490a6c2ee fixed next_posts_links, removed debug artefacts lying there
git-svn-id: https://develop.svn.wordpress.org/trunk@1785 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-12 13:21:53 +00:00
michelvaldrighi 33096e5712 fixed posts_nav_link again, to reclaim functionality lost in last fix ;)
git-svn-id: https://develop.svn.wordpress.org/trunk@1784 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-12 13:12:03 +00:00
michelvaldrighi 11f3a4701a fixed posts_nav_link to use a much lighter query
git-svn-id: https://develop.svn.wordpress.org/trunk@1783 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-12 13:04:35 +00:00
Matt Mullenweg 236c6ede65 Move balanceTags into filters.
git-svn-id: https://develop.svn.wordpress.org/trunk@1781 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-11 22:07:09 +00:00
Matt Mullenweg 7207eb61ee Removed some left-over link rating stuff
git-svn-id: https://develop.svn.wordpress.org/trunk@1780 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-11 19:54:09 +00:00
Matt Mullenweg 4d502263f6 PHP 5 fix from http://www.fredfred.net/skriker/index.php?p=84
There be dragons here


git-svn-id: https://develop.svn.wordpress.org/trunk@1779 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-11 18:45:14 +00:00
michelvaldrighi 77b143f1fd printr instead of print_r
git-svn-id: https://develop.svn.wordpress.org/trunk@1778 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-11 16:49:52 +00:00
michelvaldrighi 2d58fd7954 remove contextual compatiblity, and require functions-compat instead
git-svn-id: https://develop.svn.wordpress.org/trunk@1777 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-11 13:22:33 +00:00
michelvaldrighi 370d9aee36 functions-compat.php shall hold PHP functions needed for PHP 4.1 compatibility
git-svn-id: https://develop.svn.wordpress.org/trunk@1776 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-11 13:17:12 +00:00
Donncha O Caoimh 24359ab0fb Re-arranged where wp-mail() sets message headers
git-svn-id: https://develop.svn.wordpress.org/trunk@1775 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-11 12:04:37 +00:00
Ryan Boren 18585460f5 Login fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@1774 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-11 07:00:22 +00:00
Matt Mullenweg 7fd906972e Move to cookiehash define, use wp_login() function for auth.php.
git-svn-id: https://develop.svn.wordpress.org/trunk@1768 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-10 18:02:30 +00:00
Ryan Boren c701b9129a wp_list_pages(), first draft
git-svn-id: https://develop.svn.wordpress.org/trunk@1766 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-09 02:03:37 +00:00
Ryan Boren 9965a3d352 pagenow fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@1765 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-09 02:00:34 +00:00
Matt Mullenweg b5dfef4925 Automatically trigger DB upgrade.
git-svn-id: https://develop.svn.wordpress.org/trunk@1764 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-08 19:49:58 +00:00
Donncha O Caoimh e2c540b1dd Define message header if blank.
git-svn-id: https://develop.svn.wordpress.org/trunk@1760 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-08 11:52:23 +00:00
Ryan Boren ad7e0b673b Use page_id=xx instead of p=xx&static=1
git-svn-id: https://develop.svn.wordpress.org/trunk@1759 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-08 08:06:21 +00:00
Donncha O Caoimh 7f31cf1410 Check if $uris is an array.
git-svn-id: https://develop.svn.wordpress.org/trunk@1757 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-06 13:10:52 +00:00
Matt Mullenweg 0f87560488 Automatic login fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@1754 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-06 05:31:52 +00:00
Ryan Boren 4b44c46602 Page templates.
git-svn-id: https://develop.svn.wordpress.org/trunk@1753 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-06 05:11:11 +00:00
Ryan Boren c54a49b9aa Page/subpage URIs.
git-svn-id: https://develop.svn.wordpress.org/trunk@1752 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-06 02:18:37 +00:00
Donncha O Caoimh 9fbc44d022 Not required by WordPress.
git-svn-id: https://develop.svn.wordpress.org/trunk@1750 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-05 09:23:53 +00:00
Matt Mullenweg 9aa1ed0d11 Pages update and tweaks.
git-svn-id: https://develop.svn.wordpress.org/trunk@1747 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-05 08:27:13 +00:00
Matt Mullenweg c78d172d4f Fix GUID generation
git-svn-id: https://develop.svn.wordpress.org/trunk@1746 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-05 07:36:50 +00:00
Donncha O Caoimh 4797b29430 Missing ";"
git-svn-id: https://develop.svn.wordpress.org/trunk@1741 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-04 10:19:43 +00:00
Matt Mullenweg 79ee1ce580 Kitten's emergent registration / comment whitelisting patch.
git-svn-id: https://develop.svn.wordpress.org/trunk@1737 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-04 08:49:45 +00:00
Matt Mullenweg 7d277fbd0d Code cleanup and some fixes from the WP Japan folks.
git-svn-id: https://develop.svn.wordpress.org/trunk@1734 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-04 08:03:52 +00:00
Matt Mullenweg 1a3c14d8a9 Use mb_mail_send if available.
git-svn-id: https://develop.svn.wordpress.org/trunk@1733 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-04 07:44:04 +00:00
Matt Mullenweg f8df0db15f New login system.
git-svn-id: https://develop.svn.wordpress.org/trunk@1731 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-04 06:23:53 +00:00
Ryan Boren 466a81805d Fix wp_title() for pages.
git-svn-id: https://develop.svn.wordpress.org/trunk@1729 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-03 17:07:53 +00:00
Ryan Boren 1268dcb29b Extend is_single(), is_page(), is_category(), and is_author() to accept an optional argument which designates a particular id, name, or nicename.
git-svn-id: https://develop.svn.wordpress.org/trunk@1728 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-02 19:24:40 +00:00
Dougal Campbell d2ed07b4bf Security: Clean up user inputs before using.
git-svn-id: https://develop.svn.wordpress.org/trunk@1727 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-02 00:46:30 +00:00
Ryan Boren ebbf002430 Introduce get_template_directory() and bloginfo('stylesheet_directory'). Make comments_popup_script() theme aware.
git-svn-id: https://develop.svn.wordpress.org/trunk@1726 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-30 17:56:16 +00:00
michelvaldrighi c2e6a2fb55 typo/confusion, earlier patch committed in haste
git-svn-id: https://develop.svn.wordpress.org/trunk@1724 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-30 00:34:46 +00:00
michelvaldrighi 5f1af068d7 rather ugly fix to prevent the querying of unknown/removed options, feel free to replace it with a better alternative someday
git-svn-id: https://develop.svn.wordpress.org/trunk@1723 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-29 20:33:05 +00:00
Ryan Boren b4af651dcb Wrap rewrite rules in IfModule. Bug 318.
git-svn-id: https://develop.svn.wordpress.org/trunk@1721 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-28 17:55:52 +00:00
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
michelvaldrighi bb232bd2d9 whoops, we forgot to store the comment_type
git-svn-id: https://develop.svn.wordpress.org/trunk@1716 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-27 11:45:15 +00:00
Ryan Boren c6ee28749c Use get_query_var to get the search terms.
git-svn-id: https://develop.svn.wordpress.org/trunk@1714 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-27 00:46:42 +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
michelvaldrighi 65a78d2dd6 fixes for bug #311, by bronski
git-svn-id: https://develop.svn.wordpress.org/trunk@1705 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-22 19:44:35 +00:00
Matt Mullenweg 2c08301539 No longer used.
git-svn-id: https://develop.svn.wordpress.org/trunk@1699 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-21 19:41:13 +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
Ryan Boren 1efe0af8c3 htmlspecialchars() no longer needs to be run against rewrite_rules due to options-permalink reorg. Currently, ampersands end up being encoded in .htaccess, which causes breakage.
git-svn-id: https://develop.svn.wordpress.org/trunk@1686 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-18 03:04:27 +00:00
michelvaldrighi d190b9453c reverting wp-admin/xmlrpc.php changes
git-svn-id: https://develop.svn.wordpress.org/trunk@1683 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-17 14:57:15 +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 fa94dfa448 now that we have a new pingback server in wp-admin/xmlrpc.php, let's advertise it
git-svn-id: https://develop.svn.wordpress.org/trunk@1677 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-17 09:27:04 +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
michelvaldrighi d1d60768cc added timeout and vendor parameters to IXR_Client, could be very useful for weblog_pings
git-svn-id: https://develop.svn.wordpress.org/trunk@1673 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-16 17:07:59 +00:00
michelvaldrighi 8f164348c6 support for comment_type, while we move away from <*back /> stuff
git-svn-id: https://develop.svn.wordpress.org/trunk@1669 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-16 13:15:07 +00:00
Matt Mullenweg 5b73909f79 Don't forget to strip
git-svn-id: https://develop.svn.wordpress.org/trunk@1665 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-16 01:08:50 +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
Ryan Boren c3ad9d60cf Make $pagenow work with PATH_INFO.
git-svn-id: https://develop.svn.wordpress.org/trunk@1663 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-15 08:16:58 +00:00
Ryan Boren 3d0c99e58c Mark "more" link text for translation, just for grins. Bug 119.
git-svn-id: https://develop.svn.wordpress.org/trunk@1661 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-15 03:37:44 +00:00
Ryan Boren c4a4ee4dff Make comments_template() theme aware.
git-svn-id: https://develop.svn.wordpress.org/trunk@1660 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-15 02:50:29 +00:00
Ryan Boren 5980b30da1 If the query is for a page, make sure single is false.
git-svn-id: https://develop.svn.wordpress.org/trunk@1645 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-14 06:56:13 +00:00
Ryan Boren d6463ce6a6 Use stylesheet_url from bloginfo().
git-svn-id: https://develop.svn.wordpress.org/trunk@1639 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-12 20:30:49 +00:00
Ryan Boren ddf9be9ef1 Themes.
git-svn-id: https://develop.svn.wordpress.org/trunk@1638 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-11 16:12:40 +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
Ryan Boren ebcdb0990e Incorporate utf8_uri_encode() in sanitize_title(). Improve UTF-8 accented character decomposition in remove_accents().
git-svn-id: https://develop.svn.wordpress.org/trunk@1636 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-10 08:36:54 +00:00
Ryan Boren 08f8a3d0eb get_pagenum_link() tweaks.
git-svn-id: https://develop.svn.wordpress.org/trunk@1635 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-10 07:03:40 +00:00
Ryan Boren 3c7fe8a8d0 Allow the calendar start of week to be provisioned. get_calendar() patch from rq. Bug 32.
git-svn-id: https://develop.svn.wordpress.org/trunk@1632 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-09 23:07:46 +00:00
michelvaldrighi 54cf4d7e78 ugh, no wonder the new xmlrpc wouldn't post anything
git-svn-id: https://develop.svn.wordpress.org/trunk@1630 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-09 15:54:03 +00:00
Ryan Boren bce7d33025 Use get_query_var() to get cat and name so that we pick up any processing done on them by the query.
git-svn-id: https://develop.svn.wordpress.org/trunk@1629 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-09 03:45:51 +00:00
Matt Mullenweg adf3e5d380 Some named entities have numbers.
git-svn-id: https://develop.svn.wordpress.org/trunk@1623 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-08 08:48:36 +00:00
Matt Mullenweg f0edc5ccf7 Retrospam check from Kitten
git-svn-id: https://develop.svn.wordpress.org/trunk@1620 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-08 08:17:53 +00:00
Ryan Boren 4e7e0194b5 Paging by days fix.
git-svn-id: https://develop.svn.wordpress.org/trunk@1618 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-08 00:02:53 +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
Ryan Boren 6a98ee3737 New page by day code from Sebastian Herp.
git-svn-id: https://develop.svn.wordpress.org/trunk@1614 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-06 20:03:16 +00:00
Ryan Boren 3d451b067e Add missing join to page by day query.
git-svn-id: https://develop.svn.wordpress.org/trunk@1613 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-06 03:03:08 +00:00
Ryan Boren 7ec1b62a42 Remove left over debug output.
git-svn-id: https://develop.svn.wordpress.org/trunk@1611 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 20:06:01 +00:00
Ryan Boren 24fd61e7fc Improve paging by days. Retabify source.
git-svn-id: https://develop.svn.wordpress.org/trunk@1610 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 20:00:09 +00:00
Matt Mullenweg 0ed9084d7d Set GUID on upgrade. CURRENTLY NOT WORKING. For some reason the get_settings calls aren't working.
git-svn-id: https://develop.svn.wordpress.org/trunk@1605 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 02:41:01 +00:00
Matt Mullenweg bf70fc82bd Set GUID when posting.
git-svn-id: https://develop.svn.wordpress.org/trunk@1604 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 02:03:51 +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 42be6523f2 Version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@1600 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 00:31:23 +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
Matt Mullenweg 1173ae6867 Texturize fix.
git-svn-id: https://develop.svn.wordpress.org/trunk@1592 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-04 20:47:52 +00:00
Ryan Boren 68246928c2 Fix for bug 250: Metaweblog API discards comment_status and ping_status.
git-svn-id: https://develop.svn.wordpress.org/trunk@1589 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-04 06:44:58 +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
Ryan Boren 09754a9dbc Add missing quotes. Bug 0000254.
git-svn-id: https://develop.svn.wordpress.org/trunk@1582 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-03 04:03:55 +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
Matt Mullenweg d89603ce20 Improved autolink function. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000236
git-svn-id: https://develop.svn.wordpress.org/trunk@1571 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-28 08:40:13 +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
michelvaldrighi d69d080abc added very basic timezone support to IXR_Date
git-svn-id: https://develop.svn.wordpress.org/trunk@1564 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-26 12:40:48 +00:00
michelvaldrighi e9cbd77e2e added user_can_edit_post and user_can_delete_post
git-svn-id: https://develop.svn.wordpress.org/trunk@1561 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-25 15:12:10 +00:00
michelvaldrighi 4d37021dd5 whoops, typo in trackback_url_list
git-svn-id: https://develop.svn.wordpress.org/trunk@1560 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-25 14:22:39 +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 6c12d408ec Add previous_post_link() and next_post_link().
git-svn-id: https://develop.svn.wordpress.org/trunk@1557 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-24 01:35:57 +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
Matt Mullenweg 230d603f6d Missing table block elements from arnau siches
git-svn-id: https://develop.svn.wordpress.org/trunk@1554 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-23 09:07:07 +00:00
Matt Mullenweg 46c39cd718 Escape from slashville
git-svn-id: https://develop.svn.wordpress.org/trunk@1545 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-21 01:50:59 +00:00
Matt Mullenweg f5b015ecd3 Typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@1544 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-20 17:56:51 +00:00
Matt Mullenweg 13b77cd51b Some profiling info in $wpdb optionally.
git-svn-id: https://develop.svn.wordpress.org/trunk@1543 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-20 17:52:49 +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 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
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
Ryan Boren 1935f7c897 Add back the trailing slash to paged permalinks.
git-svn-id: https://develop.svn.wordpress.org/trunk@1395 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-08 17:48:21 +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 78b413030f Fix links generated by link_pages() in next mode. http://www.kackreiz.net/wordpress.php
git-svn-id: https://develop.svn.wordpress.org/trunk@1393 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-08 09:29:41 +00:00
Ryan Boren 5e0bb09d82 posts_nav_link fixes. http://wordpress.org/support/6/6979
git-svn-id: https://develop.svn.wordpress.org/trunk@1391 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-07 04:41:06 +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 fe680a36a0 Add %category% support to get_permalink.
git-svn-id: https://develop.svn.wordpress.org/trunk@1385 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-04 02:36:46 +00:00
Matt Mullenweg 2146da7f5c Added consistant trailing slash.
git-svn-id: https://develop.svn.wordpress.org/trunk@1384 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-02 21:43:18 +00:00
Matt Mullenweg 4530008ec8 Fix for strange slash nav errors for paged nice links, and validation fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@1383 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-02 07:44:43 +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 013c08307a Apply the list_cats filter to the cat name. Credit: Jaykul. http://wordpress.org/support/4/6242
git-svn-id: https://develop.svn.wordpress.org/trunk@1375 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-31 22:09:38 +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
michelvaldrighi bec01652c4 added iso8601 handling functions, to avoid ugly nasty conversions
git-svn-id: https://develop.svn.wordpress.org/trunk@1372 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-31 17:02:09 +00:00
Ryan Boren 035a6402d2 Fix up the_category_ID() and the_category_head() to maintain backwards compat. Mark as deprecated.
git-svn-id: https://develop.svn.wordpress.org/trunk@1368 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-27 21:19:37 +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
Matt Mullenweg 499980672d Bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@1362 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-26 05:07:14 +00:00
Matt Mullenweg be058a1058 Fix for unencoded ampersands. When did we lose this?
git-svn-id: https://develop.svn.wordpress.org/trunk@1361 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-25 04:33:37 +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 0eee4cb011 relocated misc database-related functions
git-svn-id: https://develop.svn.wordpress.org/trunk@1353 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-24 01:34:57 +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
michelvaldrighi 903f80b54c we shall use IXR instead of phpxmlrpc in the future -- so long, and thanks for all the xmlrpcval headaches
git-svn-id: https://develop.svn.wordpress.org/trunk@1346 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-22 16:44:45 +00:00
michelvaldrighi c4d4add631 new remove_accents for sanitize_title, not relying on the file's charset
git-svn-id: https://develop.svn.wordpress.org/trunk@1345 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-22 14:34:09 +00:00
Matt Mullenweg dd1c202d8b FINALLY.
git-svn-id: https://develop.svn.wordpress.org/trunk@1344 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-22 10:27:12 +00:00
michelvaldrighi 5ffeea8e7c strip leading and trailing dashes from post slugs
git-svn-id: https://develop.svn.wordpress.org/trunk@1336 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-21 21:35:16 +00:00
michelvaldrighi 63f7bf9723 backing out that encoding fix until further testing is done
git-svn-id: https://develop.svn.wordpress.org/trunk@1335 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-21 21:29:57 +00:00
michelvaldrighi be29cd98fb removing removeaccents, will put replacement after a release is out
git-svn-id: https://develop.svn.wordpress.org/trunk@1334 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-21 21:05:17 +00:00
Ryan Boren 49bb2124c1 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: https://develop.svn.wordpress.org/trunk@1333 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-21 08:37:55 +00:00
Ryan Boren 7be84af801 Require wp-config.php from wp-l10n.php to make sure WPLANG is always set.
git-svn-id: https://develop.svn.wordpress.org/trunk@1331 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-21 03:26:12 +00:00
Matt Mullenweg ceb940bbe2 Support for MathML, from Jacques Distler.
git-svn-id: https://develop.svn.wordpress.org/trunk@1329 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-20 17:25:26 +00:00
Dougal Campbell 7fbb072b49 Fixed list_cats support for hide_empty and optioncount. Also fixed indentation in that function.
git-svn-id: https://develop.svn.wordpress.org/trunk@1328 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-20 14:07:55 +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 a0c798d8a0 Last release candidate, I promise.
git-svn-id: https://develop.svn.wordpress.org/trunk@1326 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-20 11:56:24 +00:00
michelvaldrighi a67d48bae7 what's with me committing parse errors lately, damn it
git-svn-id: https://develop.svn.wordpress.org/trunk@1321 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-19 22:34:01 +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 8d736b3f5c Remove extra slash in filename.
git-svn-id: https://develop.svn.wordpress.org/trunk@1312 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-19 03:09:49 +00:00
michelvaldrighi a052f091dc if the class is used in WP, use the blog's charset in xmlrpc requests that we send
git-svn-id: https://develop.svn.wordpress.org/trunk@1310 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-19 01:35:09 +00:00
Matt Mullenweg 4ee5c8aefc This is used more than I thought in templates.
git-svn-id: https://develop.svn.wordpress.org/trunk@1305 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-18 08:36:53 +00:00
Matt Mullenweg b14b19b3ff Simple function to check if a post is in a category.
git-svn-id: https://develop.svn.wordpress.org/trunk@1304 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-18 08:18:38 +00:00
michelvaldrighi f6a92e8e99 forgotten GMT fix for calendar
git-svn-id: https://develop.svn.wordpress.org/trunk@1301 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-17 20:46:15 +00:00
Ryan Boren 306ed77c67 show_post_count, after, and custom format were not playing nicely in get_archives.
git-svn-id: https://develop.svn.wordpress.org/trunk@1291 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-17 00:31:33 +00:00
Ryan Boren 7a85e8bfbf Add santize_title action.
git-svn-id: https://develop.svn.wordpress.org/trunk@1290 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-16 22:14:14 +00:00
Ryan Boren 7c3ee9392d Allow underscores in category and author names.
git-svn-id: https://develop.svn.wordpress.org/trunk@1289 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-16 22:07:26 +00:00
Ryan Boren 3f8e368b15 Oops. Keys need to be marked too.
git-svn-id: https://develop.svn.wordpress.org/trunk@1287 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-16 17:51:26 +00:00
Ryan Boren 284f2bec21 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: https://develop.svn.wordpress.org/trunk@1286 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-16 17:07:13 +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
Dougal Campbell 17ab4425d2 Only used published posts.
git-svn-id: https://develop.svn.wordpress.org/trunk@1280 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-14 19:44:23 +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
michelvaldrighi 7b9518dbed fix for the bug that made list_cats show empty categories, thanks to brux
git-svn-id: https://develop.svn.wordpress.org/trunk@1278 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-14 16:20:38 +00:00
Matt Mullenweg 772caaa690 It's RC time. :)
git-svn-id: https://develop.svn.wordpress.org/trunk@1276 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-14 09:14:24 +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 75e8778c2b Emails allow + per RFC. Hat tip: crw
git-svn-id: https://develop.svn.wordpress.org/trunk@1269 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-14 05:52:53 +00:00
Matt Mullenweg 0cbcc714e3 A formatting change to help track down that phantom line 760 error.
git-svn-id: https://develop.svn.wordpress.org/trunk@1260 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-10 08:37:51 +00:00
Matt Mullenweg c057b7115b Allow absolute image URIs in links.
git-svn-id: https://develop.svn.wordpress.org/trunk@1258 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-10 08:26:42 +00:00
Matt Mullenweg f00d006395 Bumpit.
git-svn-id: https://develop.svn.wordpress.org/trunk@1257 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-10 08:16:56 +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 cc29f6be5e wfw:commentRSS and E_ALL fix to blog-header.
git-svn-id: https://develop.svn.wordpress.org/trunk@1255 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-10 07:51:50 +00:00
Matt Mullenweg 372e3293f4 Fix from Jay McCarthy and I cleaned up the function to remove some unused globals.
git-svn-id: https://develop.svn.wordpress.org/trunk@1254 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-09 23:26:41 +00:00
Matt Mullenweg d197f0594b Fix so KSES works with Japanese encoding.
git-svn-id: https://develop.svn.wordpress.org/trunk@1253 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-09 23:25:24 +00:00