Commit Graph

2068 Commits

Author SHA1 Message Date
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 3985990228 Just a little tidying
git-svn-id: http://svn.automattic.com/wordpress/trunk@1866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-19 07:23:37 +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 88efcfd20d More name cleanups
git-svn-id: http://svn.automattic.com/wordpress/trunk@1864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-18 23:55:08 +00:00
mikelittle 10d0af0fb2 cleanup filenames
git-svn-id: http://svn.automattic.com/wordpress/trunk@1863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-18 23:30:51 +00:00
saxmatt 8615d77651 Fail more gracefully for lower level users
git-svn-id: http://svn.automattic.com/wordpress/trunk@1862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-18 19:51:31 +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 1408432e64 Remove spurious typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-17 03:20:32 +00:00
rboren 0102268117 Theme, plugin, and file editing cleanup. Work in progress.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-17 03:15:44 +00:00
saxmatt 1c1c71b436 Improvements to page handling. Move form to own page, put under "Write", ambiguiate language, and fix redirect.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-16 19:29:51 +00:00
saxmatt 6f80cf6b6a Final XFN 1.1 fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@1856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-15 20:52:34 +00:00
saxmatt 258b2b65e9 Added comment form hook
git-svn-id: http://svn.automattic.com/wordpress/trunk@1855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-15 17:09:30 +00:00
rboren a6f951101c Refuse comments for post IDs that do not exist.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-15 06:20:28 +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 0efa226889 The first category is 1 not 0.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-15 05:59:34 +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 93f05160ec Issue a 404 if a permalink request does not match any posts.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-10 04:01:46 +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 9f893ae091 Use $wpdb->post2cat instead of wp_main_post2cat. Bug 442. Hat tip: ludoo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-09 02:40:09 +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 ec4cfef503 Do not process path info if it contains only "/".
git-svn-id: http://svn.automattic.com/wordpress/trunk@1842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-02 02:08:17 +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
michelvaldrighi b3547b3d8c leave my textarea opened, kthx
git-svn-id: http://svn.automattic.com/wordpress/trunk@1839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-29 15:29:36 +00:00
rboren ee2e45faab Save user profile. Bug 413.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-29 01:17:17 +00:00
rboren cf2d3b5aab 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: http://svn.automattic.com/wordpress/trunk@1837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-28 04:03:56 +00:00
rboren 60263c83d9 Make button save "Save Page" instead of "Create New Page" when editing an existing page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-28 04:01:51 +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 ec579f4ec6 Extract updated query vars back into global namespace.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-27 22:07:58 +00:00
emc3 fb3e755b14 Eliminate double emails. Already sending email in wp_new_comment()
git-svn-id: http://svn.automattic.com/wordpress/trunk@1833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-26 16:41:08 +00:00
donncha 78ff4b8f90 Very minor typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-26 16:31:44 +00:00
donncha 2641b2ae40 Added links to developer's sites.
Fixed bug in install: post2cat record for "first post" missing.


git-svn-id: http://svn.automattic.com/wordpress/trunk@1831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-26 16:28:43 +00:00
rboren 720316ddb1 Do not touch REQUEST_URI if it is already set by the server.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-26 04:03:34 +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
rboren 12b406941a Fix REQUEST_URI construction for IIS. Bug 389. Patch from Dennis Williamson.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-22 18:07:29 +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
donncha 6d4a7e7228 Indented file.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-22 14:41:01 +00:00
donncha c2b6df21be Fixed missing function - include admin.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@1824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-21 15:16:03 +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
emc3 757a8a8396 Fix header error when saving drafts.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-20 21:27:40 +00:00
emc3 3dde29bde0 BUG 390: Fixed support for multiple enclosures.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-20 16:54:31 +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
donncha 279385f199 change for admin.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@1819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-19 16:01:13 +00:00