Commit Graph

1875 Commits

Author SHA1 Message Date
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 bdc464726b Preserve author ID when editing pages. Bug 480. Hat tip: adsworth
git-svn-id: https://develop.svn.wordpress.org/trunk@1873 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-21 21:28:18 +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 d3490e0162 Make short tag long. Reported by adsworth.
git-svn-id: https://develop.svn.wordpress.org/trunk@1869 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-19 21:05:26 +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 8c3c69dac1 Just a little tidying
git-svn-id: https://develop.svn.wordpress.org/trunk@1866 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-19 07:23:37 +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 4ef178d2e0 More name cleanups
git-svn-id: https://develop.svn.wordpress.org/trunk@1864 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-18 23:55:08 +00:00
Mike Little a0537e71c7 cleanup filenames
git-svn-id: https://develop.svn.wordpress.org/trunk@1863 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-18 23:30:51 +00:00
Matt Mullenweg 20c979050f Fail more gracefully for lower level users
git-svn-id: https://develop.svn.wordpress.org/trunk@1862 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-18 19:51:31 +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 2663acc49a Remove spurious typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@1859 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-17 03:20:32 +00:00
Ryan Boren 464d959270 Theme, plugin, and file editing cleanup. Work in progress.
git-svn-id: https://develop.svn.wordpress.org/trunk@1858 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-17 03:15:44 +00:00
Matt Mullenweg 70fdfb4785 Improvements to page handling. Move form to own page, put under "Write", ambiguiate language, and fix redirect.
git-svn-id: https://develop.svn.wordpress.org/trunk@1857 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-16 19:29:51 +00:00
Matt Mullenweg 0ddb1564aa Final XFN 1.1 fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@1856 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-15 20:52:34 +00:00
Matt Mullenweg e9e1b92f87 Added comment form hook
git-svn-id: https://develop.svn.wordpress.org/trunk@1855 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-15 17:09:30 +00:00
Ryan Boren 1b3ce357bb Refuse comments for post IDs that do not exist.
git-svn-id: https://develop.svn.wordpress.org/trunk@1854 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-15 06:20:28 +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 426cd01a2a The first category is 1 not 0.
git-svn-id: https://develop.svn.wordpress.org/trunk@1852 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-15 05:59:34 +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 111d7005e6 Issue a 404 if a permalink request does not match any posts.
git-svn-id: https://develop.svn.wordpress.org/trunk@1850 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-10 04:01:46 +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 1089c39b55 Use $wpdb->post2cat instead of wp_main_post2cat. Bug 442. Hat tip: ludoo.
git-svn-id: https://develop.svn.wordpress.org/trunk@1848 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-09 02:40:09 +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 feca248c64 Do not process path info if it contains only "/".
git-svn-id: https://develop.svn.wordpress.org/trunk@1842 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-02 02:08:17 +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
michelvaldrighi a82fa76aee leave my textarea opened, kthx
git-svn-id: https://develop.svn.wordpress.org/trunk@1839 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-29 15:29:36 +00:00
Ryan Boren 94d704f573 Save user profile. Bug 413.
git-svn-id: https://develop.svn.wordpress.org/trunk@1838 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-29 01:17:17 +00:00
Ryan Boren 4f5b48fdf4 require_once admin.php from admin-header.php. This will avoid having to change plugins that use the old style include. Bug 393.
git-svn-id: https://develop.svn.wordpress.org/trunk@1837 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-28 04:03:56 +00:00
Ryan Boren 31023dd15b Make button save "Save Page" instead of "Create New Page" when editing an existing page.
git-svn-id: https://develop.svn.wordpress.org/trunk@1836 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-28 04:01:51 +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 5a32ea0adc Extract updated query vars back into global namespace.
git-svn-id: https://develop.svn.wordpress.org/trunk@1834 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-27 22:07:58 +00:00
Dougal Campbell 01584c9905 Eliminate double emails. Already sending email in wp_new_comment()
git-svn-id: https://develop.svn.wordpress.org/trunk@1833 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-26 16:41:08 +00:00
Donncha O Caoimh 0064b2180c Very minor typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@1832 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-26 16:31:44 +00:00
Donncha O Caoimh c10ebb4a7c Added links to developer's sites.
Fixed bug in install: post2cat record for "first post" missing.


git-svn-id: https://develop.svn.wordpress.org/trunk@1831 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-26 16:28:43 +00:00
Ryan Boren 9e9a6348f5 Do not touch REQUEST_URI if it is already set by the server.
git-svn-id: https://develop.svn.wordpress.org/trunk@1830 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-26 04:03:34 +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
Ryan Boren c565632bb3 Fix REQUEST_URI construction for IIS. Bug 389. Patch from Dennis Williamson.
git-svn-id: https://develop.svn.wordpress.org/trunk@1827 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-22 18:07:29 +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