Commit Graph

10113 Commits

Author SHA1 Message Date
rboren 036efdfdc2 Add filter hook for locale string.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-13 04:39:26 +00:00
saxmatt c3e1d51c20 Axing htmlspecialchars because it double-encodes-encodes. Better error handling around queries.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-12 20:41:19 +00:00
rboren 7a580db825 get_author_permastruct()
git-svn-id: http://svn.automattic.com/wordpress/trunk@1933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-09 02:40:35 +00:00
saxmatt 5237112e3f Related to: http://mosquito.wordpress.org/view.php?id=225
Allow optiondates to be a PHP date() formatted timestamp, maintains backward compatibility.


git-svn-id: http://svn.automattic.com/wordpress/trunk@1931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-09 01:30:34 +00:00
saxmatt 5fcde26744 Don't wrap horizontal rules in paragraphs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-09 00:32:14 +00:00
saxmatt 576846ba19 Don't show errors if we can't fsockopen a server.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-09 00:25:07 +00:00
rboren c37fc847ff Comment the unicode blocks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-09 00:16:33 +00:00
donncha ceca2e9751 Fixed mangled email headers, thanks to John Allman
git-svn-id: http://svn.automattic.com/wordpress/trunk@1921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-08 14:40:40 +00:00
rboren 83e6c81f41 s/logio/logIO/. Remove logio calls from the one function in functions-post.php that uses it. functions-post.php is not used by xmlrpc.php exclusively.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-08 02:35:53 +00:00
saxmatt 2852e800da Don't add breaks to <colgroup>s. Hat tip: Joe Clark.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-07 20:09:46 +00:00
rboren d352c9be64 Improve plugin hooks for rewrite manipulation. Allow pluggable template redirection.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-04 00:12:08 +00:00
rboren b1a4a04126 Move rewrite and permalink functions into WP_Rewrite class.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-03 02:38:11 +00:00
rboren 09330bec21 Add posts_join filter.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-01 06:52:26 +00:00
rboren d0742f3227 Load paged.php for is_paged(). Paging no longer makes is_archive() true. Bug 500.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-29 23:37:29 +00:00
rboren 8c9c4e1556 Unserialize empty arrays.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-28 19:53:11 +00:00
saxmatt aad8c71bb1 Fix for bug http://mosquito.wordpress.org/view.php?id=177, adding class to smileys and encoding quotes in alt text.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-28 19:16:14 +00:00
rboren c02d589e36 Use preg_quote() to make spam words regex safe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-28 05:24:09 +00:00
rboren 39bf85133f Perform empty() check on $doing_rss to avoid warning.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-27 04:47:54 +00:00
rboren 03766d3f29 Use weekday locale data in mysql2date. Bug 492. Patch by nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-25 16:23:24 +00:00
rboren 477e3344b8 Do not allow a page to be its own parent.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-24 00:12:46 +00:00
emc3 aa2fbccf6f Use new user_can_foo() functions, clean up comment editing
git-svn-id: http://svn.automattic.com/wordpress/trunk@1875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-23 15:09:24 +00:00
emc3 db5183e714 Don't you think it's time for a minor version bump?
git-svn-id: http://svn.automattic.com/wordpress/trunk@1874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-23 14:09:38 +00:00
rboren 368bf570e6 Allow empty uris to be passed to add_query_arg(). Useful when appending arguments to WP_Query query strings that do not yet have any arguments.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-21 06:03:19 +00:00
rboren 2201be3af3 Add is_paged().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-20 18:32:31 +00:00
rboren 81bb103348 Rewrite rule generation cleanup, including re-indent.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-20 04:28:36 +00:00
rboren 9872261202 Permalink love. Wrap mod_rewrite rules in a conditional. Make sure date permalinks are sane. Add get_year_link().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-19 20:54:16 +00:00
saxmatt 742a9d549f Actions shouldn't change around what they're passed
git-svn-id: http://svn.automattic.com/wordpress/trunk@1867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-19 07:37:18 +00:00
saxmatt f4dcbb2a3b Don't cache pages with DB errors.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-19 02:18:23 +00:00
saxmatt d1ddb156ec Allow users 9+ to post as other users, minor advanced post reorg.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-18 19:40:36 +00:00
rboren 013f6d6fee Allow comments on pages. Props: error http://wordpress.org/support/6/16759
git-svn-id: http://svn.automattic.com/wordpress/trunk@1860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-17 03:45:50 +00:00
rboren 1d5e3d4f3c Check for null category list just in case of borkage.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-15 06:00:21 +00:00
rboren acfb79c47e Sort the category list so that index associations are made non-sparse.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-12 23:08:51 +00:00
rboren c10118addf Avoid polluting the category cache with duplicate category lists when using multiple post loops. http://wordpress.org/support/6/15213. Fix from Owen Winkler.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-10 00:21:24 +00:00
rboren 9f3fcc45ee add $user_agent to check_comment() arg list. Bug 415. Patch by MC_incubus.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-09 02:31:48 +00:00
rboren 390531cad7 Put the right index.php in the template file list for the default theme.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-09 02:29:01 +00:00
emc3 064edd94ae BUGFIX: prevent '#' chars in moderation_keys from breaking regex handling.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-05 03:56:40 +00:00
emc3 6386e0815c ANTI-SPAM: reject numerically encoded entities that fall in the normal ASCII range
git-svn-id: http://svn.automattic.com/wordpress/trunk@1844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-03 14:21:46 +00:00
rboren 02db3ad66b Typo fix. Bug 423.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-02 02:13:00 +00:00
rboren 626a4d0c83 urldecode page URI so that it will work for multibyte languages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-02 01:56:29 +00:00
donncha 3ec05be4d2 Make sure email and name are not blank when checking comment author in whitelist.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-01 13:21:14 +00:00
rboren 7815372fc7 Add $post_per_archive_page to override the number of posts to show for an archive page. Turn off paging if $post_per_* are set to -1.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-27 23:58:40 +00:00
rboren 7cbf843347 List broken themes and suggest corrective action.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-24 23:48:51 +00:00
rboren 184628f5dc PATH_INFO page links now include the index. Bug 404.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-22 21:44:00 +00:00
michelvaldrighi fdfcddbaf7 removed preg_match check from comment_type() since by now we should never ever need it
git-svn-id: http://svn.automattic.com/wordpress/trunk@1826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-22 15:51:08 +00:00
rboren 0bebcf246f Introducing add_query_arg() and remove_query_arg(). Props: Owen Winkler.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-20 21:28:37 +00:00
donncha 2bef1de2b9 Make checking enclosure URLs much faster - fclose() after blank line in response.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-20 15:07:49 +00:00
rboren 04786f267d 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: http://svn.automattic.com/wordpress/trunk@1818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-19 03:03:06 +00:00
rboren c591d809f7 Default textdomain loading cleanup. Fix for bug 230.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-19 00:18:12 +00:00
michelvaldrighi 8990d8c02f better fix for single_month_title, preserves backward-compatibility with
git-svn-id: http://svn.automattic.com/wordpress/trunk@1816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-18 23:52:36 +00:00
michelvaldrighi d6928c9df3 fixed single_month_title. thanks to Brak (http://wordpress.org/support/6/14897)
git-svn-id: http://svn.automattic.com/wordpress/trunk@1815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-18 23:45:26 +00:00
donncha 9f62c48cf9 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: http://svn.automattic.com/wordpress/trunk@1812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-18 12:09:20 +00:00
rboren 667912ce0e Fix typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-18 04:38:49 +00:00
rboren b29cb9cb81 Plugin and theme localization.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-18 02:27:35 +00:00
michelvaldrighi 2c7c6cdc8f added more user_can_* functions
git-svn-id: http://svn.automattic.com/wordpress/trunk@1804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-15 16:20:25 +00:00
rboren cf34374c9c 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: http://svn.automattic.com/wordpress/trunk@1802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-15 03:16:01 +00:00
saxmatt 62ea5faef5 Fix for bug 137. Patch from kelson.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-14 08:27:56 +00:00
saxmatt 40a8e6885b Trackback and pingback cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-14 07:26:41 +00:00
rboren 3472b445a2 Move get_theme*() from admin-functions to functions so that templates and plugins can use them.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-14 03:54:57 +00:00
michelvaldrighi a53659c2ab unb0rked the pagination links
git-svn-id: http://svn.automattic.com/wordpress/trunk@1791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-13 14:18:17 +00:00
rboren c4ff2cc8ec Add template and stylesheet filters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-13 03:20:03 +00:00
rboren f192cfe5c8 Double hash password in cookies.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-13 02:21:37 +00:00
michelvaldrighi a00764ed8e fixed next_posts_links, removed debug artefacts lying there
git-svn-id: http://svn.automattic.com/wordpress/trunk@1785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-12 13:21:53 +00:00
michelvaldrighi f1cd47763b fixed posts_nav_link again, to reclaim functionality lost in last fix ;)
git-svn-id: http://svn.automattic.com/wordpress/trunk@1784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-12 13:12:03 +00:00
michelvaldrighi fc528e3d09 fixed posts_nav_link to use a much lighter query
git-svn-id: http://svn.automattic.com/wordpress/trunk@1783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-12 13:04:35 +00:00
saxmatt f285ca5c55 Move balanceTags into filters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-11 22:07:09 +00:00
saxmatt 55d5e9f47a Removed some left-over link rating stuff
git-svn-id: http://svn.automattic.com/wordpress/trunk@1780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-11 19:54:09 +00:00
saxmatt 2dc5c6115a PHP 5 fix from http://www.fredfred.net/skriker/index.php?p=84
There be dragons here


git-svn-id: http://svn.automattic.com/wordpress/trunk@1779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-11 18:45:14 +00:00
michelvaldrighi 4af875d28f printr instead of print_r
git-svn-id: http://svn.automattic.com/wordpress/trunk@1778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-11 16:49:52 +00:00
michelvaldrighi 7e0657c317 remove contextual compatiblity, and require functions-compat instead
git-svn-id: http://svn.automattic.com/wordpress/trunk@1777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-11 13:22:33 +00:00
michelvaldrighi 172b13b70a functions-compat.php shall hold PHP functions needed for PHP 4.1 compatibility
git-svn-id: http://svn.automattic.com/wordpress/trunk@1776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-11 13:17:12 +00:00
donncha 49cb88b7c0 Re-arranged where wp-mail() sets message headers
git-svn-id: http://svn.automattic.com/wordpress/trunk@1775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-11 12:04:37 +00:00
rboren 39e9a6d942 Login fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-11 07:00:22 +00:00
saxmatt 587429f358 Move to cookiehash define, use wp_login() function for auth.php.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-10 18:02:30 +00:00
rboren 3c360863ae wp_list_pages(), first draft
git-svn-id: http://svn.automattic.com/wordpress/trunk@1766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-09 02:03:37 +00:00
rboren 6372a14f42 pagenow fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@1765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-09 02:00:34 +00:00
saxmatt e72de79fa2 Automatically trigger DB upgrade.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-08 19:49:58 +00:00
donncha 0b10eb6d7d Define message header if blank.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-08 11:52:23 +00:00
rboren ff3d47b742 Use page_id=xx instead of p=xx&static=1
git-svn-id: http://svn.automattic.com/wordpress/trunk@1759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-08 08:06:21 +00:00
donncha d1d02a30bb Check if $uris is an array.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-06 13:10:52 +00:00
saxmatt 6337530119 Automatic login fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-06 05:31:52 +00:00
rboren 543714fbab Page templates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-06 05:11:11 +00:00
rboren 96a0b41202 Page/subpage URIs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-06 02:18:37 +00:00
donncha 976175ef60 Not required by WordPress.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-05 09:23:53 +00:00
saxmatt 2d4dd7e6fb Pages update and tweaks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-05 08:27:13 +00:00
saxmatt 3be6575475 Fix GUID generation
git-svn-id: http://svn.automattic.com/wordpress/trunk@1746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-05 07:36:50 +00:00
donncha 37f854a969 Missing ";"
git-svn-id: http://svn.automattic.com/wordpress/trunk@1741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-04 10:19:43 +00:00
saxmatt 73d33cce75 Kitten's emergent registration / comment whitelisting patch.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-04 08:49:45 +00:00
saxmatt 551e52ff91 Code cleanup and some fixes from the WP Japan folks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-04 08:03:52 +00:00
saxmatt ec34fb1d80 Use mb_mail_send if available.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-04 07:44:04 +00:00
saxmatt ee921221b7 New login system.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-04 06:23:53 +00:00
rboren 9490d5bef2 Fix wp_title() for pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-03 17:07:53 +00:00
rboren 0584402e9f 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: http://svn.automattic.com/wordpress/trunk@1728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-02 19:24:40 +00:00
emc3 8fca0cb926 Security: Clean up user inputs before using.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-02 00:46:30 +00:00
rboren d5c9465fa9 Introduce get_template_directory() and bloginfo('stylesheet_directory'). Make comments_popup_script() theme aware.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-30 17:56:16 +00:00
michelvaldrighi 20fc6e6625 typo/confusion, earlier patch committed in haste
git-svn-id: http://svn.automattic.com/wordpress/trunk@1724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-30 00:34:46 +00:00
michelvaldrighi e8a1744ac0 rather ugly fix to prevent the querying of unknown/removed options, feel free to replace it with a better alternative someday
git-svn-id: http://svn.automattic.com/wordpress/trunk@1723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-29 20:33:05 +00:00
rboren f16701674d Wrap rewrite rules in IfModule. Bug 318.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-28 17:55:52 +00:00
michelvaldrighi 9d428766b0 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: http://svn.automattic.com/wordpress/trunk@1717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-27 12:41:39 +00:00
michelvaldrighi 802bd72016 whoops, we forgot to store the comment_type
git-svn-id: http://svn.automattic.com/wordpress/trunk@1716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-27 11:45:15 +00:00
rboren 7f5ef5c1d3 Use get_query_var to get the search terms.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-27 00:46:42 +00:00
rboren e61cfd4b02 Use call_user_func() when applying filter. Bug 63. Patch from Bill Zeller.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-27 00:45:53 +00:00
michelvaldrighi f6c1bcc60b added discover_pingback_server_uri, should dramatically speed things up
git-svn-id: http://svn.automattic.com/wordpress/trunk@1709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-24 17:29:25 +00:00
michelvaldrighi 00d3d3fec9 fixes for bug #311, by bronski
git-svn-id: http://svn.automattic.com/wordpress/trunk@1705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-22 19:44:35 +00:00
saxmatt d077a61bd2 No longer used.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-21 19:41:13 +00:00
rboren 75d974639b Trackback fix ups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-18 22:47:43 +00:00
rboren 76d4882921 Rename using_mod_rewrite() to using_index_permalinks(). Start removing blogfilename references.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-18 20:04:29 +00:00
rboren 8db1ca2dfa 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: http://svn.automattic.com/wordpress/trunk@1686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-18 03:04:27 +00:00
michelvaldrighi 4133fc887d reverting wp-admin/xmlrpc.php changes
git-svn-id: http://svn.automattic.com/wordpress/trunk@1683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-17 14:57:15 +00:00
michelvaldrighi 1ae5d673e4 updated pingback() to use IXR -- now we aren't using phpxmlrpc anywhere anymore
git-svn-id: http://svn.automattic.com/wordpress/trunk@1682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-17 14:11:28 +00:00
donncha 331257f4fe Check for moderation_notify flag before notifying moderator that about
held comments.


git-svn-id: http://svn.automattic.com/wordpress/trunk@1678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-17 10:26:34 +00:00
michelvaldrighi 5fd7490c9f now that we have a new pingback server in wp-admin/xmlrpc.php, let's advertise it
git-svn-id: http://svn.automattic.com/wordpress/trunk@1677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-17 09:27:04 +00:00
michelvaldrighi 226cf46cb2 letting IXR take care of URI parsing, while leaving the old way to call weblog_ping possible
git-svn-id: http://svn.automattic.com/wordpress/trunk@1676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-17 08:39:12 +00:00
michelvaldrighi 3de41a8e3e replaced old weblog_ping with new IXR-based weblog_ping
git-svn-id: http://svn.automattic.com/wordpress/trunk@1674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-16 17:08:56 +00:00
michelvaldrighi e7d60415cf added timeout and vendor parameters to IXR_Client, could be very useful for weblog_pings
git-svn-id: http://svn.automattic.com/wordpress/trunk@1673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-16 17:07:59 +00:00
michelvaldrighi c0de7fb232 support for comment_type, while we move away from <*back /> stuff
git-svn-id: http://svn.automattic.com/wordpress/trunk@1669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-16 13:15:07 +00:00
saxmatt 33cd55d276 Don't forget to strip
git-svn-id: http://svn.automattic.com/wordpress/trunk@1665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-16 01:08:50 +00:00
saxmatt e8f22c65a2 Axing of geo stuff, major cleanups on permalink options, style tweaks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-15 15:09:39 +00:00
rboren e7e5b63493 Make $pagenow work with PATH_INFO.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-15 08:16:58 +00:00
rboren dfbf01f57b Mark "more" link text for translation, just for grins. Bug 119.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-15 03:37:44 +00:00
rboren d3b14a607d Make comments_template() theme aware.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-15 02:50:29 +00:00
rboren a165b366ab If the query is for a page, make sure single is false.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-14 06:56:13 +00:00
rboren 807c0a77c3 Use stylesheet_url from bloginfo().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-12 20:30:49 +00:00
rboren fec36ee655 Themes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-11 16:12:40 +00:00
saxmatt aae9dbf02d Timeout changes. Hat tip: Michael Dale.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-10 10:55:44 +00:00
rboren 692b713381 Incorporate utf8_uri_encode() in sanitize_title(). Improve UTF-8 accented character decomposition in remove_accents().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-10 08:36:54 +00:00
rboren e5f5c2c859 get_pagenum_link() tweaks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-10 07:03:40 +00:00
rboren 760af53e88 Allow the calendar start of week to be provisioned. get_calendar() patch from rq. Bug 32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-09 23:07:46 +00:00
michelvaldrighi 85b23fe964 ugh, no wonder the new xmlrpc wouldn't post anything
git-svn-id: http://svn.automattic.com/wordpress/trunk@1630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-09 15:54:03 +00:00
rboren b036c6d58d 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: http://svn.automattic.com/wordpress/trunk@1629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-09 03:45:51 +00:00
saxmatt 68fba20343 Some named entities have numbers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-08 08:48:36 +00:00
saxmatt 0388cd27b5 Retrospam check from Kitten
git-svn-id: http://svn.automattic.com/wordpress/trunk@1620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-08 08:17:53 +00:00
rboren d2c63d853a Paging by days fix.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-08 00:02:53 +00:00
saxmatt 5c53295551 Trackback fix from Michael Dale.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-07 03:15:48 +00:00
saxmatt b650b0736a Move trackbacks to new comment function.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-07 02:34:12 +00:00
rboren fda8478485 Apache 1.3 does not support the reluctant (non-greedy) expression modifier. Remove the modifier when outputting mod_rewrite rules.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-07 00:01:19 +00:00
rboren 1f40b73c6e New page by day code from Sebastian Herp.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-06 20:03:16 +00:00
rboren 297af23056 Add missing join to page by day query.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-06 03:03:08 +00:00
rboren 5b059e2e9e Remove left over debug output.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 20:06:01 +00:00
rboren d97d4b74d7 Improve paging by days. Retabify source.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 20:00:09 +00:00
saxmatt c54f9a539f Set GUID on upgrade. CURRENTLY NOT WORKING. For some reason the get_settings calls aren't working.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 02:41:01 +00:00
saxmatt ed34ca04d8 Set GUID when posting.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 02:03:51 +00:00
saxmatt ddba48add2 Track and check user agent for comments.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 01:50:39 +00:00
saxmatt de260e7022 Install and upgrade refactoring complete.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 01:22:17 +00:00
saxmatt 4509b7f435 Version bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 00:31:23 +00:00
saxmatt c9136856b5 Massive options cleanup and another step of cleaning up the upgrade/install.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 00:24:28 +00:00
saxmatt 009d89ec5b Remove optiongroup_options table.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-04 22:15:46 +00:00
saxmatt da9e7308b7 Texturize fix.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-04 20:47:52 +00:00
rboren 48e72c3061 Fix for bug 250: Metaweblog API discards comment_status and ping_status.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-04 06:44:58 +00:00
rboren 3dbecf7853 Return post ID from generic_ping(). Bug 229.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-03 20:33:15 +00:00
rboren 7c72194c52 More permissive, i18n friendly regexs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-03 20:22:23 +00:00
rboren c7c191ed19 Send Geo Url Header only if use_geo_positions is set. Bug 242. Patch from 2fargon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-03 04:29:11 +00:00
rboren 7125f9df10 Add missing quotes. Bug 0000254.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-03 04:03:55 +00:00
saxmatt 2d78e31a7d Vanquishing the terror of iso-8859-1.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-30 07:16:40 +00:00
saxmatt 17433d3a32 Improved autolink function. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000236
git-svn-id: http://svn.automattic.com/wordpress/trunk@1571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-28 08:40:13 +00:00
rboren d39d7e2347 404 permalink handler.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-27 20:59:38 +00:00
michelvaldrighi 9bf7b66e00 added very basic timezone support to IXR_Date
git-svn-id: http://svn.automattic.com/wordpress/trunk@1564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-26 12:40:48 +00:00
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
saxmatt 5a391b5bc8 Some style cleanup. Category base and additional URI options from Jay McCarthy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-05 07:34:41 +00:00
saxmatt 9e9589e6f9 remove_slashes was broken.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-05 06:47:20 +00:00
saxmatt 77fa432bae Don't need slash at the beginning.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-05 06:44:59 +00:00
saxmatt 924792ffb0 Comments fix?
git-svn-id: http://svn.automattic.com/wordpress/trunk@1224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-05 06:32:49 +00:00
saxmatt d35fb75d7d Don't gzip admin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-01 08:59:40 +00:00
saxmatt f824d3efd5 No trace is being used.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-01 00:44:11 +00:00
emc3 f974380ee3 Added 'exclude' parameter to wp_list_cats()
git-svn-id: http://svn.automattic.com/wordpress/trunk@1217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-30 18:28:50 +00:00
saxmatt 9eff118f7c Fixes for post screen.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-30 08:56:49 +00:00
saxmatt 17c0708ee4 Beta time!
git-svn-id: http://svn.automattic.com/wordpress/trunk@1209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-29 07:28:09 +00:00
saxmatt cf06e8e7f6 Gremlins in the options machine.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-28 20:31:41 +00:00
saxmatt c4bcfc02f1 Bug fixes and version bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-28 08:57:11 +00:00
saxmatt 4e4cb4e004 Allow WordPress installation URI and blog URI to be different.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-28 07:27:03 +00:00
saxmatt 07a395f685 Changes from Carthik.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-28 04:42:37 +00:00
saxmatt c8019269c7 Bumpity bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-28 00:08:10 +00:00
saxmatt a1ad557401 Breaking list_cats some more.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-28 00:03:58 +00:00
saxmatt 9dc65ab2db Cleaning up some includes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-27 23:17:16 +00:00
rboren cbc0a250e7 Unify user and author queries on cache_userdata
git-svn-id: http://svn.automattic.com/wordpress/trunk@1186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-27 03:59:13 +00:00
saxmatt 51335f97bb Reducing queries and forward thinking database fields.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-26 23:54:52 +00:00
saxmatt f8e2f4f2f4 More query reduction.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-26 19:18:25 +00:00
saxmatt 788f328d6b Bug that was causing duplicate queries.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-26 19:12:33 +00:00
saxmatt 0864fdf0f2 Updated to use the latest and greatest.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-26 02:54:06 +00:00
rboren ef13af90b8 Geo enhancements. Allow get_Lat and get_Lon to be called outside of the post loop. Add doGeoUrlHeader as an action on wp_head.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-26 02:34:07 +00:00
saxmatt 08e7857fcf Just an indenting thing that was bugging me.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-26 02:28:06 +00:00
rboren b982580f52 Set language with WPLANG.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-26 02:00:08 +00:00
saxmatt 2ae870407b Fixed a problem with using bloginfo().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-24 23:31:34 +00:00
saxmatt 23a6b884b9 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@1154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-24 22:49:09 +00:00
saxmatt 595c041ccf Typos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-24 22:43:10 +00:00
saxmatt 59db478a0e Shouldn't use relative links for link images.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-24 22:09:27 +00:00
saxmatt 9945a746ec Timezone fixes, I hope.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-24 21:52:24 +00:00
saxmatt c226bd74b0 Cleaned up unused options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-24 21:21:19 +00:00
saxmatt 2bd39005c5 Bug fix from Josh @ elsewhere.org.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-24 20:41:28 +00:00
saxmatt 08c6accba1 Things should be as simple as possible, but no more.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-24 19:23:57 +00:00
rboren c31ad8dc06 Mark strings for translation.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-24 03:40:04 +00:00
saxmatt b6a13bf8ab Fix for empty comment bug.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-23 04:03:10 +00:00
saxmatt 4677ac0c77 Trim when updating options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-22 21:29:59 +00:00
saxmatt 02a47ffc04 Explicitly define what gets texturized.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-22 15:58:13 +00:00
saxmatt 5e8246387b Bump it
git-svn-id: http://svn.automattic.com/wordpress/trunk@1123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-22 07:52:56 +00:00
saxmatt 9439a575f6 Removing some old functions. Cleaning up remaining places where we exposed emails. Consolidated ampersand fixing. Fixed pasting from Word.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-22 07:41:57 +00:00
saxmatt 28eef6a8da Use word fixes all the time.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-22 00:44:14 +00:00
saxmatt dfc9cecfd2 Typo fixes sent in by Nick Romney.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-21 21:38:38 +00:00
saxmatt 0fc3d11f7c Added new template function, the_permalink(). echoes get_permalink. We are now consistent in the templates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-21 04:12:55 +00:00
saxmatt fc932087d4 A few typos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-20 23:03:09 +00:00
saxmatt 10c6b7ea9c Changed to superglobals, and eliminated $use_cache (since we always do).
git-svn-id: http://svn.automattic.com/wordpress/trunk@1108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-20 22:56:47 +00:00
saxmatt f856c5bd74 Bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-19 08:15:32 +00:00
rboren 4e2b38a981 Introduce the_author_posts_link().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-18 19:20:37 +00:00
saxmatt 33bc41582e Version bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-18 07:15:17 +00:00
rboren a1842adefb Fix the_author_posts().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-17 23:48:42 +00:00
rboren f81987a2f2 Mark strings for translation.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-17 15:56:23 +00:00
rboren 782590b1aa Replaced by gettext.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-17 05:02:52 +00:00
rboren 4f267012fd Add date and time strings to locale.php.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-17 05:01:10 +00:00
rboren d1d2d6ac4f Replaced by gettext.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-17 00:11:54 +00:00
emc3 2c3e14a0ea Added Alex Stapleton's add_option() code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-16 21:17:09 +00:00
saxmatt 74c2872215 Plugin enhancements.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-16 02:24:37 +00:00
rboren e3e0e62cd7 gettext l10n.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-16 01:56:04 +00:00
saxmatt e5ab2fa0dd gm and bbcode should be moved into plugins.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-15 19:08:51 +00:00
saxmatt 9cdb91980d Removed obsolete functions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-15 19:05:09 +00:00
saxmatt 74380bae72 We use generic ping functions now.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-15 18:57:39 +00:00
alex_t_king e5248743f9 more localization
git-svn-id: http://svn.automattic.com/wordpress/trunk@1067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-13 15:48:11 +00:00
alex_t_king d30adf576c more localization
git-svn-id: http://svn.automattic.com/wordpress/trunk@1066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-13 15:31:35 +00:00
alex_t_king 9e6a5ab947 added the first localization strings in index.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@1065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-13 06:56:38 +00:00
saxmatt 7bd73866c7 Placeholder file.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-13 05:57:59 +00:00
alex_t_king fd44ffdc7a first pass at the localization class
git-svn-id: http://svn.automattic.com/wordpress/trunk@1057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-10 05:22:49 +00:00
saxmatt 3cd3999079 check_comment should return false if there are no comment moderation keys.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-07 00:48:19 +00:00
rboren edf0fb5f39 Pass link name and description through htmlspecialchars().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-04 23:25:55 +00:00
saxmatt 3402b5aa08 Added more API hooks for edit and post formatting.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-04 23:15:54 +00:00
michelvaldrighi ed666a5547 tweaked get_lastpostdate and get_lastpostmodified a bit for consistency
git-svn-id: http://svn.automattic.com/wordpress/trunk@1042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-31 18:06:45 +00:00
michelvaldrighi a6ac8d41f7 fixed multiple breakage possibilities with feeds
git-svn-id: http://svn.automattic.com/wordpress/trunk@1039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-31 16:41:30 +00:00
michelvaldrighi 7e4efe6b26 forgot to replace this one
git-svn-id: http://svn.automattic.com/wordpress/trunk@1035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-31 01:25:12 +00:00
michelvaldrighi e077b55f7e changing xmlrpc_encode to phpxmlrpc�_encode, xmlrpc_decode to phpxmlrpc_decode
git-svn-id: http://svn.automattic.com/wordpress/trunk@1034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-30 21:25:21 +00:00
emc3 cab624959f Add semantics to post-meta
git-svn-id: http://svn.automattic.com/wordpress/trunk@1027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-29 18:46:33 +00:00
alex_t_king 454b3cb0a9 removed email links from comment authors
git-svn-id: http://svn.automattic.com/wordpress/trunk@1024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-29 05:44:01 +00:00
saxmatt 3f69cb1566 Fix for preg /e automatically adding slashes under some magic_quotes setting. BLAH.
Fix to not double escape values we're putting into the DB. This is an old, old bug from b2.


git-svn-id: http://svn.automattic.com/wordpress/trunk@1021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-29 03:54:57 +00:00
saxmatt 5e3f6d89a5 Don't try to ping empty sets.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-25 23:05:25 +00:00
saxmatt 40671953a0 Debug code left.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-25 21:15:55 +00:00
saxmatt eafea44724 Textile should be moved to plugin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-25 20:50:50 +00:00
saxmatt 0c1e3856b6 Additional plugin API hooks, extending moderation scheme to more fully cover trackbacks and pingbacks, cleanup of XML-RPC file.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-25 20:18:20 +00:00
saxmatt 8a79d5712a If more than X links in a comment, moderate that sucker.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-25 10:11:58 +00:00
saxmatt 82605b706b Recache options when updating.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-25 07:21:00 +00:00
saxmatt 591d952310 Typo fixes to do_action and generic_ping
git-svn-id: http://svn.automattic.com/wordpress/trunk@1007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-25 06:11:28 +00:00
michelvaldrighi 3e1430110b fixed get_lastpostdate and get_lastpostmodified
git-svn-id: http://svn.automattic.com/wordpress/trunk@1002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-25 02:37:47 +00:00
michelvaldrighi 3ce57e5d9c since time_difference is now relative to GMT, we should use gmdate instead of date when adding time_difference
git-svn-id: http://svn.automattic.com/wordpress/trunk@1001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-25 02:21:40 +00:00
michelvaldrighi 79fa8206c1 gmt to localtime, and some time_difference fixes that had gone unnoticed
git-svn-id: http://svn.automattic.com/wordpress/trunk@999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-25 02:04:15 +00:00
michelvaldrighi f043e71fdd comments template functions back to localtime
git-svn-id: http://svn.automattic.com/wordpress/trunk@998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-25 01:58:48 +00:00
michelvaldrighi 5abfd66c93 calendar, archives, date, time, you name it, it's back to localtime
git-svn-id: http://svn.automattic.com/wordpress/trunk@996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-25 01:45:07 +00:00
emc3 ea9cc3ff81 Removed 'Meta:' leader from the_meta().
git-svn-id: http://svn.automattic.com/wordpress/trunk@991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-24 14:41:05 +00:00
rboren 346990432c Add feed and feed_image options to wp_list_cats() and wp_list_authors().
git-svn-id: http://svn.automattic.com/wordpress/trunk@987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-23 04:45:27 +00:00
saxmatt b4a43ce64d Texturize kung-foo
git-svn-id: http://svn.automattic.com/wordpress/trunk@985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-22 01:34:32 +00:00
saxmatt adbca5d4fc New comment moderation code, for trackbacks and comments.
git-svn-id: http://svn.automattic.com/wordpress/trunk@984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-21 08:31:33 +00:00
saxmatt a7cdf5c0d4 Generic update pinging. Needs review.
git-svn-id: http://svn.automattic.com/wordpress/trunk@982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-21 07:36:07 +00:00
saxmatt ee0af1789d Fix autop to not mess with pre blocks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-21 07:07:55 +00:00
rboren 8974c946a7 Introducing wp_list_authors() and friends.
git-svn-id: http://svn.automattic.com/wordpress/trunk@979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-19 16:20:49 +00:00
rboren 44f59de914 Fix wp_list_cats() argument handling.
git-svn-id: http://svn.automattic.com/wordpress/trunk@974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-12 23:51:16 +00:00
rboren 7270102622 Fix call to zeroise() in get_calendar(). Courtesy of harpshot.
http://wordpress.org/support/6/3218


git-svn-id: http://svn.automattic.com/wordpress/trunk@973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-12 03:36:16 +00:00
saxmatt 9410b1835c Texturize missing some table block level tags.
git-svn-id: http://svn.automattic.com/wordpress/trunk@972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-11 16:38:54 +00:00
rboren 87c74b9c6e More rewrite fixes. s/[0-9a-z_-]/[_0-9a-z-]/
git-svn-id: http://svn.automattic.com/wordpress/trunk@965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-09 03:55:01 +00:00
saxmatt 06fa93c297 Typo fixes from Cena.
git-svn-id: http://svn.automattic.com/wordpress/trunk@964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-08 08:49:21 +00:00
rboren 6f2c205b0b rewrite_rules() tweaks. Use rewrite_rules() in options-permalink.php.
git-svn-id: http://svn.automattic.com/wordpress/trunk@963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-08 05:12:11 +00:00
rboren 699dcb6ac8 Converted overlooked reference to $siteurl to get_settings().
git-svn-id: http://svn.automattic.com/wordpress/trunk@962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-07 17:41:14 +00:00
emc3 e0ad33fffe Allow 'limit = 0' in Link Categories to hide a category.
git-svn-id: http://svn.automattic.com/wordpress/trunk@960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-05 21:35:14 +00:00
saxmatt a0867db6ed Migration to get_settings and away from globals.
git-svn-id: http://svn.automattic.com/wordpress/trunk@957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-01 19:55:45 +00:00
saxmatt b6aa1f6807 Migration to get_settings
git-svn-id: http://svn.automattic.com/wordpress/trunk@956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-01 06:13:32 +00:00
saxmatt 9e718aff7a Migrating more of the global options to get_settings().
git-svn-id: http://svn.automattic.com/wordpress/trunk@955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-29 08:43:36 +00:00
michelvaldrighi 1947f04aac added a timezone argument to get�_lastpost*()
git-svn-id: http://svn.automattic.com/wordpress/trunk@952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-28 17:51:41 +00:00
saxmatt f6ca911ab9 Version bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-28 17:28:06 +00:00
emc3 0f75194831 Tweaked test version of the_meta() a little
git-svn-id: http://svn.automattic.com/wordpress/trunk@948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-26 22:22:54 +00:00
emc3 6df1e26f2c Added per-post custom metadata support.
git-svn-id: http://svn.automattic.com/wordpress/trunk@946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-26 21:42:47 +00:00
saxmatt 8927968849 Removed global $siteurl and $blogfilename, use get_settings. Syntax fix for wp-db.
git-svn-id: http://svn.automattic.com/wordpress/trunk@945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-26 16:15:48 +00:00
michelvaldrighi 80d1cba5f9 aliasing time_difference to gmt_offset in get_settings(), for great justice
git-svn-id: http://svn.automattic.com/wordpress/trunk@943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-26 16:14:10 +00:00
saxmatt f080abc376 Fix for PHP5, formatting changes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-26 15:18:16 +00:00
michelvaldrighi d31e7bcc4a more GMT fixoragization
git-svn-id: http://svn.automattic.com/wordpress/trunk@938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-26 13:07:11 +00:00
michelvaldrighi 002303e6dc LIKE OMFG ARCHIVE LINKS R TEH FIX0R3D LOLOOLOL :)))) *glomp*
git-svn-id: http://svn.automattic.com/wordpress/trunk@935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-25 17:38:21 +00:00
michelvaldrighi 3c710bb037 just moving these two lines fixes the the_date() issue for GMT
git-svn-id: http://svn.automattic.com/wordpress/trunk@934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-25 17:12:30 +00:00
michelvaldrighi 5cb552277e zeroise() is our friend -- calendar fixed for GMT
git-svn-id: http://svn.automattic.com/wordpress/trunk@933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-25 17:11:26 +00:00
saxmatt f7dd13c338 current_time now uses GMT.
git-svn-id: http://svn.automattic.com/wordpress/trunk@931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-25 00:00:38 +00:00
saxmatt 672ded938d Temporary fix for next_post with GMT.
git-svn-id: http://svn.automattic.com/wordpress/trunk@930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-24 23:49:51 +00:00
michelvaldrighi b4eb99a27f fixed and simplified get_date_from_gmt and get_gmt_from_date
git-svn-id: http://svn.automattic.com/wordpress/trunk@928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-23 16:09:27 +00:00
michelvaldrighi e355cca1c0 fixed touch_time to use user's timezone instead of GMT
git-svn-id: http://svn.automattic.com/wordpress/trunk@926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-23 15:58:26 +00:00
michelvaldrighi a33f95df3f now displaysing comment_date and comment_time as local dates instead of GMT
git-svn-id: http://svn.automattic.com/wordpress/trunk@924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-23 14:22:50 +00:00
michelvaldrighi 2ddaa07123 added in start_wp: $post->post_date_gmt is the gmt version of post_date
git-svn-id: http://svn.automattic.com/wordpress/trunk@919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-23 05:41:14 +00:00
michelvaldrighi f73218bb31 fixed get_date_from_gmt()
git-svn-id: http://svn.automattic.com/wordpress/trunk@918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-23 05:36:57 +00:00
michelvaldrighi bd3265d911 added get_date_from_gmt()
git-svn-id: http://svn.automattic.com/wordpress/trunk@917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-23 04:37:11 +00:00
michelvaldrighi 95b3def4b6 better get time_difference from get_settings than assume a global is set
git-svn-id: http://svn.automattic.com/wordpress/trunk@915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-23 03:46:55 +00:00
michelvaldrighi 84435bfa5f big leap to GMT dates
git-svn-id: http://svn.automattic.com/wordpress/trunk@914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-23 03:42:40 +00:00
michelvaldrighi d92647edb0 added get_gmt_from_date()
git-svn-id: http://svn.automattic.com/wordpress/trunk@913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-23 03:04:55 +00:00
saxmatt 68655b83f7 Undefined function typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-22 14:39:04 +00:00
michelvaldrighi 6d59c60739 added get_lastpostmodified()
git-svn-id: http://svn.automattic.com/wordpress/trunk@908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-22 03:28:46 +00:00
michelvaldrighi a6165937b1 fixes to handle ISO-scrambled email subjects in wp-mail
git-svn-id: http://svn.automattic.com/wordpress/trunk@907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-22 00:31:25 +00:00
michelvaldrighi 8091c63bff removed useless php3 compatibility, fixed a forgotten global
git-svn-id: http://svn.automattic.com/wordpress/trunk@906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-21 22:59:40 +00:00
michelvaldrighi 7449fbcebd notification emails are now sent using the blog's charset
git-svn-id: http://svn.automattic.com/wordpress/trunk@905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-21 22:53:05 +00:00
saxmatt 6d5891cb5d Some formatting fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-21 15:22:34 +00:00
saxmatt dbba7a2d8c New get_posts function, for multiple WP loops.
git-svn-id: http://svn.automattic.com/wordpress/trunk@902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-21 14:10:07 +00:00
michelvaldrighi aaa4710246 quick typo
git-svn-id: http://svn.automattic.com/wordpress/trunk@898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-20 14:05:43 +00:00
michelvaldrighi f6c86216a6 quick typo
git-svn-id: http://svn.automattic.com/wordpress/trunk@897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-20 02:10:04 +00:00
michelvaldrighi 8dfca9ba1c more quotes replacements
git-svn-id: http://svn.automattic.com/wordpress/trunk@896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-20 01:53:41 +00:00
michelvaldrighi e1beab4cb8 more double-to-single quotes replacements
git-svn-id: http://svn.automattic.com/wordpress/trunk@895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-20 01:42:39 +00:00
michelvaldrighi ba0f9c0f6b michel is being anal with single quotes
git-svn-id: http://svn.automattic.com/wordpress/trunk@894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-20 01:14:33 +00:00
michelvaldrighi 251b4a0423 using "" for html attributes in some functions
git-svn-id: http://svn.automattic.com/wordpress/trunk@893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-20 00:51:52 +00:00
michelvaldrighi 1a51bec12c user_pass_ok now uses md5()
git-svn-id: http://svn.automattic.com/wordpress/trunk@892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-19 22:42:47 +00:00
saxmatt 67fa9206a3 Edit comments improvement, multiple comment delete not implemented yet.
git-svn-id: http://svn.automattic.com/wordpress/trunk@887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-17 08:35:04 +00:00
saxmatt d5374b68b6 Typo in previous commit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-17 04:57:31 +00:00
saxmatt 77421739db Refactoring of template tags to use filters, use TABS (!!!), and general cleanliness, which is next to godliness. Some get_settings improvements, less globals.
git-svn-id: http://svn.automattic.com/wordpress/trunk@885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-17 04:56:29 +00:00
saxmatt a0b1f690ef New *_action functions, removed alert_error.
git-svn-id: http://svn.automattic.com/wordpress/trunk@883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-17 03:00:20 +00:00
rboren b70022525e Support PATH_INFO permalinks. Move rewrite rule generation to rewrite_rules().
git-svn-id: http://svn.automattic.com/wordpress/trunk@881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-17 02:50:57 +00:00
saxmatt d0c81c9f8e Fix for id= bug. Old code made obsolete by KSES.
git-svn-id: http://svn.automattic.com/wordpress/trunk@876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-16 03:18:36 +00:00
saxmatt a8d831a286 Texturize tweak.
git-svn-id: http://svn.automattic.com/wordpress/trunk@875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-16 03:02:25 +00:00
saxmatt ecbf95566b Show categories nested by default. New wp_list_cats function that uses parse_str.
git-svn-id: http://svn.automattic.com/wordpress/trunk@873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-13 16:14:36 +00:00
saxmatt 718dcc6297 Edit post slugs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-13 11:21:30 +00:00
saxmatt 725ec5f2e0 Autop improvement
git-svn-id: http://svn.automattic.com/wordpress/trunk@868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-13 06:33:55 +00:00
saxmatt 0284b7ba09 New function, remove_filter. Added priorities to filters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-09 11:58:49 +00:00
saxmatt 63a6efea29 Nested category list from Philip Taron.
git-svn-id: http://svn.automattic.com/wordpress/trunk@848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-09 08:55:29 +00:00
saxmatt c49fecf3f0 Breaking out some of the formatting functions into a different file.
git-svn-id: http://svn.automattic.com/wordpress/trunk@846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-09 06:57:02 +00:00
michelvaldrighi 2055a5905d we should never use $RESUEST_URI, but access it with $_SERVER
git-svn-id: http://svn.automattic.com/wordpress/trunk@845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-08 16:10:28 +00:00
saxmatt c26991b1d1 Move hack file include.
git-svn-id: http://svn.automattic.com/wordpress/trunk@844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-07 22:52:20 +00:00
michelvaldrighi 2d31de1484 fixed typo
git-svn-id: http://svn.automattic.com/wordpress/trunk@842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-06 21:00:31 +00:00
saxmatt 827e40c677 the_excerpt should get autop goodness. Excerpt should fake it by default.
git-svn-id: http://svn.automattic.com/wordpress/trunk@841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-06 20:28:26 +00:00
saxmatt 221123fa57 Comment author link should not strip tildes or plus signs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-06 18:04:35 +00:00
rboren 9bb849b8bf Make sure permalink has trailing slash before appending "trackback/" in trackback_url().
git-svn-id: http://svn.automattic.com/wordpress/trunk@838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-06 02:32:24 +00:00
rboren 6d55b3153a Clean feed and trackback URLs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-05 20:55:50 +00:00
saxmatt cab7113ff9 Bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-05 15:38:23 +00:00
saxmatt 91b753594d Logic error when checking for define.
git-svn-id: http://svn.automattic.com/wordpress/trunk@834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-05 15:25:00 +00:00
saxmatt ebf9f84acd Let people override the allowedtags variable.
git-svn-id: http://svn.automattic.com/wordpress/trunk@832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-05 14:40:32 +00:00
mikelittle a644a1018b Fixed category name bug. "When excluding a category by using '$cat = "-4";' in index.php, the name of the excluded cat is added to the page title."
git-svn-id: http://svn.automattic.com/wordpress/trunk@814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-31 00:03:51 +00:00
alex_t_king ca6bbb36a8 added single quotes around values in SQL statements
git-svn-id: http://svn.automattic.com/wordpress/trunk@810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-30 02:39:01 +00:00
saxmatt 7d63d0c095 Remove remnants of $c.
git-svn-id: http://svn.automattic.com/wordpress/trunk@808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-29 06:49:19 +00:00
saxmatt a5c49531fd Comments link not shown if on comments page, link to comment form, number of comments in comment header, and slight font size tweak.
git-svn-id: http://svn.automattic.com/wordpress/trunk@805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-28 08:40:58 +00:00
saxmatt 14ede25eb5 Version bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-28 01:52:58 +00:00
saxmatt 87fa62b3e6 Broke up template-functions into several files to facilitate maintainance and change tracking.
git-svn-id: http://svn.automattic.com/wordpress/trunk@801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-27 09:58:01 +00:00
saxmatt 292737d0b2 Sub-categories interface improvements.
git-svn-id: http://svn.automattic.com/wordpress/trunk@799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-27 08:31:17 +00:00
saxmatt 8b9f213e57 Initial sub-categories code from Jason Verber
git-svn-id: http://svn.automattic.com/wordpress/trunk@798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-27 06:35:07 +00:00
saxmatt 996ba79f93 last_cats fix from TheJason.
git-svn-id: http://svn.automattic.com/wordpress/trunk@797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-26 20:34:14 +00:00
emc3 07731fae29 Fix hide_empty for list_cats()
git-svn-id: http://svn.automattic.com/wordpress/trunk@795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-26 01:59:09 +00:00
saxmatt 215d39b88d Use IDs instead of classes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-24 23:24:46 +00:00
saxmatt 04541968dc Fix for foreign language comments.
git-svn-id: http://svn.automattic.com/wordpress/trunk@789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-24 23:22:31 +00:00
saxmatt 5b908a99d9 Have links use unique class.
git-svn-id: http://svn.automattic.com/wordpress/trunk@788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-24 23:12:55 +00:00
alex_t_king dc902731b0 added id's and classes to li's in the menu to help in skinning
git-svn-id: http://svn.automattic.com/wordpress/trunk@786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-24 22:52:22 +00:00
alex_t_king ff237a769f bette rhandling of HTML entities in preview/next posts links
git-svn-id: http://svn.automattic.com/wordpress/trunk@780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-15 22:11:13 +00:00
saxmatt 3e494326c4 Fix for mpts markup prob.
git-svn-id: http://svn.automattic.com/wordpress/trunk@779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-15 11:01:21 +00:00
alex_t_king b506da37ff enabled using Category Description as the title attribute in list_cats and made the displayed text use htmlspecialchars
git-svn-id: http://svn.automattic.com/wordpress/trunk@778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-15 01:28:41 +00:00
saxmatt c38e0e27b8 Make entity catch in sanitize_title ungreedy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-14 05:46:53 +00:00
saxmatt 5c4302e582 fix for multiple hypens.
git-svn-id: http://svn.automattic.com/wordpress/trunk@774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-14 05:40:57 +00:00
alex_t_king e2d9617bd6 changed the permalink dates to output leading zeros
git-svn-id: http://svn.automattic.com/wordpress/trunk@773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-14 05:10:32 +00:00
alex_t_king 8058390507 fixed hilite whitespace checking
git-svn-id: http://svn.automattic.com/wordpress/trunk@770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-12 23:24:51 +00:00
emc3 4834619229 Fix harcoded table names
git-svn-id: http://svn.automattic.com/wordpress/trunk@769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-12 22:53:11 +00:00
saxmatt 28298145c8 Tag cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-12 22:09:07 +00:00
emc3 6f5b19cc85 Added a few tags. Pretty formatting.
git-svn-id: http://svn.automattic.com/wordpress/trunk@766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-12 18:15:09 +00:00
saxmatt 02d732dd4a Version bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-12 12:59:27 +00:00
saxmatt 6f44a5461d Performance optimizations.
git-svn-id: http://svn.automattic.com/wordpress/trunk@760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-12 11:52:35 +00:00
saxmatt bc5519d97b Fix from alex:
http://wordpress.org/support/10/1636#post-11


git-svn-id: http://svn.automattic.com/wordpress/trunk@755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-12 09:33:02 +00:00
saxmatt d6ec36fed7 Search hilite changes from Ryan Boren
git-svn-id: http://svn.automattic.com/wordpress/trunk@754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-12 00:59:21 +00:00
alex_t_king 79cc343c52 made tooltips work with multiple posts per day
git-svn-id: http://svn.automattic.com/wordpress/trunk@752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-12 00:14:47 +00:00
alex_t_king 25db37a7a1 making the category links include the trailing slash
git-svn-id: http://svn.automattic.com/wordpress/trunk@749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-10 01:46:27 +00:00
saxmatt 598c4723cf Google hilite.
git-svn-id: http://svn.automattic.com/wordpress/trunk@747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-09 11:16:10 +00:00
emc3 96b3058e9f Fix bug handling ampersands.
git-svn-id: http://svn.automattic.com/wordpress/trunk@740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-08 22:59:25 +00:00
emc3 824fb50f60 Fixed include path problem for links-update-xml
git-svn-id: http://svn.automattic.com/wordpress/trunk@737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-07 21:02:26 +00:00
alex_t_king b4c8ae6c9b re-enabling smilies in comments rss
git-svn-id: http://svn.automattic.com/wordpress/trunk@735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-07 03:00:10 +00:00
alex_t_king 7b434a5c54 commented out smiley conversion in comments RSS
git-svn-id: http://svn.automattic.com/wordpress/trunk@734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-07 02:28:32 +00:00
alex_t_king 567f076791 escaping ampersand in url, task # 42
git-svn-id: http://svn.automattic.com/wordpress/trunk@733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-07 02:22:00 +00:00
saxmatt 119f72da24 KSES fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-07 01:28:30 +00:00
saxmatt b51cf5412b URL fix.
git-svn-id: http://svn.automattic.com/wordpress/trunk@730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-07 01:16:24 +00:00
saxmatt a8b5faacdc Reduce queries.
git-svn-id: http://svn.automattic.com/wordpress/trunk@727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-06 12:44:46 +00:00
saxmatt 572ba33802 More bug fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-06 10:44:41 +00:00
saxmatt 0d24e188a0 Various fixes from forums and such.
git-svn-id: http://svn.automattic.com/wordpress/trunk@725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-06 10:33:07 +00:00
alex_t_king d69f26e0e8 made the pop-up comment link friendly url aware
git-svn-id: http://svn.automattic.com/wordpress/trunk@721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-05 04:07:19 +00:00
alex_t_king 588615970e using the comments_link_rss function
git-svn-id: http://svn.automattic.com/wordpress/trunk@720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-05 03:14:12 +00:00
alex_t_king 80b704540c removing extra nbsp before smilies
git-svn-id: http://svn.automattic.com/wordpress/trunk@718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-05 03:03:49 +00:00
alex_t_king 1e10cd53ac making spacing of counts consistent betweek archives list and category list
git-svn-id: http://svn.automattic.com/wordpress/trunk@717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-05 03:03:35 +00:00
alex_t_king 5c8b016bf3 fixing extra calendar cells bug
git-svn-id: http://svn.automattic.com/wordpress/trunk@716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-05 01:43:01 +00:00
alex_t_king 7f90eaf4c4 removing extra nbsp before smilies
git-svn-id: http://svn.automattic.com/wordpress/trunk@715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-05 01:41:00 +00:00
saxmatt 5781a9f056 Lots of fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-04 07:40:15 +00:00
alex_t_king c31ebcf3c0 fixing next/previous page links to work w/ clean URLs
git-svn-id: http://svn.automattic.com/wordpress/trunk@713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-04 02:54:36 +00:00
saxmatt 13e9584684 Space bug in wp_title.
git-svn-id: http://svn.automattic.com/wordpress/trunk@712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-04 02:34:58 +00:00
saxmatt 82c593a558 Smilies fix.
git-svn-id: http://svn.automattic.com/wordpress/trunk@710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-04 00:48:29 +00:00
saxmatt f4e3970ec1 Comment_allowed_tags fixup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-03 23:48:16 +00:00
saxmatt 4ef7999064 Change how get_settings errors are returned.
git-svn-id: http://svn.automattic.com/wordpress/trunk@708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-03 22:20:25 +00:00
saxmatt 637df9921a Typo
git-svn-id: http://svn.automattic.com/wordpress/trunk@706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-03 19:05:55 +00:00
saxmatt 986c08cc1f Comments number bug.
git-svn-id: http://svn.automattic.com/wordpress/trunk@701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-03 05:03:28 +00:00
saxmatt a0e3c8a8ac Fix for post_id
git-svn-id: http://svn.automattic.com/wordpress/trunk@687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-02 19:38:16 +00:00
saxmatt 384edd177b Use post_status in get_lastpostdate
git-svn-id: http://svn.automattic.com/wordpress/trunk@686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-02 19:27:21 +00:00
alex_t_king 230d55a93b fixing a bug where the next month link was using previous->year instead of next->year
git-svn-id: http://svn.automattic.com/wordpress/trunk@685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-02 19:21:50 +00:00
saxmatt be8435d6b7 Version bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-02 02:49:58 +00:00
saxmatt 6245f53042 Query optimizations.
git-svn-id: http://svn.automattic.com/wordpress/trunk@683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-02 00:58:13 +00:00
saxmatt 11d47e1330 Duplicate comment number queries.
git-svn-id: http://svn.automattic.com/wordpress/trunk@681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-02 00:45:12 +00:00
saxmatt 253f684253 Use modified get_links_list
git-svn-id: http://svn.automattic.com/wordpress/trunk@678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-01 22:13:06 +00:00
alex_t_king a392bb19d3 suppressing Notice messages and moving the use_cache setting higher in blog-header so that it actually gets used when getting settings
git-svn-id: http://svn.automattic.com/wordpress/trunk@677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-01 21:12:22 +00:00
saxmatt 92c031cd84 Author description field.
git-svn-id: http://svn.automattic.com/wordpress/trunk@674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-01 00:55:31 +00:00
saxmatt cbee61601c Edit comment from Ryan Boren.
git-svn-id: http://svn.automattic.com/wordpress/trunk@673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-01 00:20:22 +00:00
saxmatt edc7d7cd8c Installation cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-31 23:51:41 +00:00
saxmatt 9a4221ee46 Initial Atom syndication and autodiscovery support.
git-svn-id: http://svn.automattic.com/wordpress/trunk@666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-30 12:05:25 +00:00
saxmatt 3bcdffad13 edit_this_post() from Ryan Boren. Cleaned up function and integrated into default template.
git-svn-id: http://svn.automattic.com/wordpress/trunk@665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-30 10:48:06 +00:00
saxmatt 3a2f87a2d4 KSES fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-30 08:34:57 +00:00
saxmatt df7fdc51b6 Permalink structure fix and link comments when pings are on.
git-svn-id: http://svn.automattic.com/wordpress/trunk@659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-28 21:45:18 +00:00
saxmatt 738be91fcd Fix title function.
git-svn-id: http://svn.automattic.com/wordpress/trunk@653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-27 18:37:30 +00:00
saxmatt 8d232849e3 New title code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-25 00:01:31 +00:00
saxmatt 223d1b272b We don't need to numeric amp.
git-svn-id: http://svn.automattic.com/wordpress/trunk@651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-24 21:57:16 +00:00
saxmatt 52e1d45f45 Add kses HTML cleaning to comment functions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-24 20:43:04 +00:00
saxmatt 3f71149d19 Add kses HTML cleaning.
git-svn-id: http://svn.automattic.com/wordpress/trunk@649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-23 22:09:02 +00:00
saxmatt b8373c949d Version bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-23 21:51:56 +00:00
saxmatt 85eaa93dd6 Moved gzip stuff into options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-23 21:31:09 +00:00
saxmatt 42db9e2708 Template tag for category_description and set $cat if you have category_name thing going on. Space out options screen.
git-svn-id: http://svn.automattic.com/wordpress/trunk@643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-23 20:51:04 +00:00
emc3 c8604702fc Fixed %post_id% token handling. Fixed pingback link detection.
git-svn-id: http://svn.automattic.com/wordpress/trunk@640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-22 23:00:45 +00:00
saxmatt 1c352e673e Update sending pingbacks to use new URL structure. Need to update to receive like that.
git-svn-id: http://svn.automattic.com/wordpress/trunk@638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-22 03:26:31 +00:00
saxmatt d3d08d60ef Trackback on edit done.
git-svn-id: http://svn.automattic.com/wordpress/trunk@636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-22 02:46:40 +00:00
saxmatt 61df3dab96 Better error reporting.
git-svn-id: http://svn.automattic.com/wordpress/trunk@635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-22 01:50:20 +00:00
saxmatt c3d03c529d Multiple category support for RDF.
git-svn-id: http://svn.automattic.com/wordpress/trunk@634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-22 00:32:05 +00:00
saxmatt af1326791a Moved wp-links files to wp-includes or wp-images where appropiate. Updated necessary paths.
git-svn-id: http://svn.automattic.com/wordpress/trunk@630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-18 10:12:34 +00:00
saxmatt e7705d626b Formatting changes and version bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-18 09:45:34 +00:00
saxmatt 99a7358baf Renaming Reloaded.
git-svn-id: http://svn.automattic.com/wordpress/trunk@628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-18 09:36:13 +00:00
saxmatt 869714e60b Now more sanely deals with bad connection data and offers useful suggestions, doesn't go on when it can't connect to the DB.
git-svn-id: http://svn.automattic.com/wordpress/trunk@625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-18 09:18:57 +00:00
saxmatt bfefe94945 Multiple categories in RSS. RSS 1.0 currently broken
git-svn-id: http://svn.automattic.com/wordpress/trunk@624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-18 08:58:07 +00:00
mikelittle b0db88d03a Some more b2->wp renaming
git-svn-id: http://svn.automattic.com/wordpress/trunk@617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-16 01:58:39 +00:00
saxmatt eb2969916c Hacks file option and include.
git-svn-id: http://svn.automattic.com/wordpress/trunk@614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-15 09:55:47 +00:00
saxmatt 54bda8c55f Took out some old stuff.
git-svn-id: http://svn.automattic.com/wordpress/trunk@611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-15 08:01:13 +00:00
saxmatt 09092a3d3e Fix to have post title where post_name is specified but post ID is not.
git-svn-id: http://svn.automattic.com/wordpress/trunk@610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-13 17:53:42 +00:00
saxmatt e1e8c6dbf7 Update autop to include th and divs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-13 17:47:28 +00:00
saxmatt 18407cfa16 Missing quote.
git-svn-id: http://svn.automattic.com/wordpress/trunk@605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-11 18:44:05 +00:00
saxmatt 5f1fe85ec0 Fix for permalink in comment. Removed old sample config.
git-svn-id: http://svn.automattic.com/wordpress/trunk@603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-11 18:10:43 +00:00
saxmatt 43e4a8a930 The great renaming.
git-svn-id: http://svn.automattic.com/wordpress/trunk@601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-11 00:22:36 +00:00