Commit Graph

2241 Commits

Author SHA1 Message Date
rboren e9cd4f12cc Fix post deletion. Update wp_delete_post() and call from post.php. Bug 472.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-27 04:46:54 +00:00
rboren 65afc9f7b6 Change "Front Page" to "Pages". Bug 481.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-27 00:58:39 +00:00
rboren bc9a785437 Mark string for translation. Bug 493. Hat tip: nbachiyski
git-svn-id: http://svn.automattic.com/wordpress/trunk@1889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-27 00:51:43 +00:00
rboren c44cecdb72 Use empty() to check if $feed is set at the beginning of the feed files. Bug 495.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-27 00:42:55 +00:00
rboren a4c058f2c8 get_plugin_data() and get_plugins()
git-svn-id: http://svn.automattic.com/wordpress/trunk@1887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-26 02:29:45 +00:00
rboren 8b9b4d71da add_menu_page(), add_submenu_page(), add_management_page().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-26 01:50:37 +00:00
saxmatt 0ddd331190 CSS typos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-25 19:36:21 +00:00
saxmatt 3a5a2d097c Bump version.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-25 19:12:37 +00:00
saxmatt d3297ea877 Try not to cache if the page doesn't finish, updated link.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-25 19:09:49 +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 aa2dd4d548 Pass theme in URI when sending update header. Bug 491.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-25 16:15:27 +00:00
rboren 6af4d57f8d Admin tweaks from MooKitty.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-25 15:45:16 +00:00
rboren dae8fed4f7 i18n fixes. Bug 489. Patch from nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-25 04:11:57 +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
rboren 7c7133aa9a Give 404 precedence over other templates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-23 21:16:04 +00:00
rboren a80864dbf5 Fix array_merge of stylesheets and templates. Patch from kharris.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-23 17:51:34 +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 c84728b1f3 Preserve author ID when editing pages. Bug 480. Hat tip: adsworth
git-svn-id: http://svn.automattic.com/wordpress/trunk@1873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-21 21:28:18 +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 acbad8e480 Make short tag long. Reported by adsworth.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-19 21:05:26 +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 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