Commit Graph

546 Commits

Author SHA1 Message Date
Ryan Boren 89fb8beb57 Perform empty() check on $doing_rss to avoid warning.
git-svn-id: https://develop.svn.wordpress.org/trunk@1892 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-27 04:47:54 +00:00
Ryan Boren 0b62fd613b Use weekday locale data in mysql2date. Bug 492. Patch by nbachiyski.
git-svn-id: https://develop.svn.wordpress.org/trunk@1882 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-25 16:23:24 +00:00
Ryan Boren 5710a6ac38 Do not allow a page to be its own parent.
git-svn-id: https://develop.svn.wordpress.org/trunk@1878 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-24 00:12:46 +00:00
Dougal Campbell 7ed7543a6d Use new user_can_foo() functions, clean up comment editing
git-svn-id: https://develop.svn.wordpress.org/trunk@1875 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-23 15:09:24 +00:00
Dougal Campbell d649b199a0 Don't you think it's time for a minor version bump?
git-svn-id: https://develop.svn.wordpress.org/trunk@1874 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-23 14:09:38 +00:00
Ryan Boren d2e0a1c81a 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: https://develop.svn.wordpress.org/trunk@1872 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-21 06:03:19 +00:00
Ryan Boren 6641104194 Add is_paged().
git-svn-id: https://develop.svn.wordpress.org/trunk@1871 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-20 18:32:31 +00:00
Ryan Boren 4c8f0e6910 Rewrite rule generation cleanup, including re-indent.
git-svn-id: https://develop.svn.wordpress.org/trunk@1870 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-20 04:28:36 +00:00
Ryan Boren 91e1e27d01 Permalink love. Wrap mod_rewrite rules in a conditional. Make sure date permalinks are sane. Add get_year_link().
git-svn-id: https://develop.svn.wordpress.org/trunk@1868 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-19 20:54:16 +00:00
Matt Mullenweg b04059c4a5 Actions shouldn't change around what they're passed
git-svn-id: https://develop.svn.wordpress.org/trunk@1867 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-19 07:37:18 +00:00
Matt Mullenweg fb26f2cb34 Don't cache pages with DB errors.
git-svn-id: https://develop.svn.wordpress.org/trunk@1865 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-19 02:18:23 +00:00
Matt Mullenweg 0e36c1f615 Allow users 9+ to post as other users, minor advanced post reorg.
git-svn-id: https://develop.svn.wordpress.org/trunk@1861 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-18 19:40:36 +00:00
Ryan Boren cc06069384 Allow comments on pages. Props: error http://wordpress.org/support/6/16759
git-svn-id: https://develop.svn.wordpress.org/trunk@1860 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-17 03:45:50 +00:00
Ryan Boren 8a56739dc3 Check for null category list just in case of borkage.
git-svn-id: https://develop.svn.wordpress.org/trunk@1853 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-15 06:00:21 +00:00
Ryan Boren 2eb5611be9 Sort the category list so that index associations are made non-sparse.
git-svn-id: https://develop.svn.wordpress.org/trunk@1851 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-12 23:08:51 +00:00
Ryan Boren 05c8a88de8 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: https://develop.svn.wordpress.org/trunk@1849 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-10 00:21:24 +00:00
Ryan Boren ea54a86ebb add $user_agent to check_comment() arg list. Bug 415. Patch by MC_incubus.
git-svn-id: https://develop.svn.wordpress.org/trunk@1847 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-09 02:31:48 +00:00
Ryan Boren f34a43bf4e Put the right index.php in the template file list for the default theme.
git-svn-id: https://develop.svn.wordpress.org/trunk@1846 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-09 02:29:01 +00:00
Dougal Campbell 1039a6fed1 BUGFIX: prevent '#' chars in moderation_keys from breaking regex handling.
git-svn-id: https://develop.svn.wordpress.org/trunk@1845 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-05 03:56:40 +00:00
Dougal Campbell 9ef62e7f0c ANTI-SPAM: reject numerically encoded entities that fall in the normal ASCII range
git-svn-id: https://develop.svn.wordpress.org/trunk@1844 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-03 14:21:46 +00:00
Ryan Boren ecc156d4bd Typo fix. Bug 423.
git-svn-id: https://develop.svn.wordpress.org/trunk@1843 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-02 02:13:00 +00:00
Ryan Boren 82acac8021 urldecode page URI so that it will work for multibyte languages.
git-svn-id: https://develop.svn.wordpress.org/trunk@1841 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-02 01:56:29 +00:00
Donncha O Caoimh b9640d9ec1 Make sure email and name are not blank when checking comment author in whitelist.
git-svn-id: https://develop.svn.wordpress.org/trunk@1840 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-01 13:21:14 +00:00
Ryan Boren 00d3226b7b 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: https://develop.svn.wordpress.org/trunk@1835 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-27 23:58:40 +00:00
Ryan Boren d3f7d9e4c8 List broken themes and suggest corrective action.
git-svn-id: https://develop.svn.wordpress.org/trunk@1829 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-24 23:48:51 +00:00
Ryan Boren 4b81c51c9b PATH_INFO page links now include the index. Bug 404.
git-svn-id: https://develop.svn.wordpress.org/trunk@1828 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-22 21:44:00 +00:00
michelvaldrighi b06c7e026d removed preg_match check from comment_type() since by now we should never ever need it
git-svn-id: https://develop.svn.wordpress.org/trunk@1826 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-22 15:51:08 +00:00
Ryan Boren fb09e46ffe Introducing add_query_arg() and remove_query_arg(). Props: Owen Winkler.
git-svn-id: https://develop.svn.wordpress.org/trunk@1823 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-20 21:28:37 +00:00
Donncha O Caoimh e7ecb7ad81 Make checking enclosure URLs much faster - fclose() after blank line in response.
git-svn-id: https://develop.svn.wordpress.org/trunk@1820 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-20 15:07:49 +00:00
Ryan Boren ed78ed9a2d Split admin-header.php into admin.php and admin-header.php. Split menu.php into menu-header.php and menu.php. Add plugin admin page support.
git-svn-id: https://develop.svn.wordpress.org/trunk@1818 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-19 03:03:06 +00:00
Ryan Boren ac3556c7aa Default textdomain loading cleanup. Fix for bug 230.
git-svn-id: https://develop.svn.wordpress.org/trunk@1817 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-19 00:18:12 +00:00
michelvaldrighi f95b24fb39 better fix for single_month_title, preserves backward-compatibility with
git-svn-id: https://develop.svn.wordpress.org/trunk@1816 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-18 23:52:36 +00:00
michelvaldrighi 3359d36922 fixed single_month_title. thanks to Brak (http://wordpress.org/support/6/14897)
git-svn-id: https://develop.svn.wordpress.org/trunk@1815 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-18 23:45:26 +00:00
Donncha O Caoimh cc9dc67ff8 Enclosure support moved to functions.php - it now scans the content
and encloses file of mime type "video", "audio" and "image".
Fixed a bug in upgrade.php - extra character at the start of file.


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


git-svn-id: https://develop.svn.wordpress.org/trunk@1779 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-11 18:45:14 +00:00