Commit Graph

160 Commits

Author SHA1 Message Date
ryan feb0b6d562 Post preview, now with extra spiff, from Mark Jaquith. fixes #1701
git-svn-id: http://svn.automattic.com/wordpress/trunk@2906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-23 00:44:26 +00:00
ryan 54d761eee0 Fix page edit redirect.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-08 20:38:30 +00:00
matt 65546ba7a5 Draw more attention to the messages, which now blend in a little with the header. TODO: Put all messages in an array, abstract out HTML
git-svn-id: http://svn.automattic.com/wordpress/trunk@2762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-08 01:13:22 +00:00
matt a7b8ae2f17 Tweaks and catchups
git-svn-id: http://svn.automattic.com/wordpress/trunk@2756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-07 08:58:10 +00:00
ryan 63073bc4fe Fix draft list and publish button. fixes #1514
git-svn-id: http://svn.automattic.com/wordpress/trunk@2723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-17 21:08:47 +00:00
ryan 02523f59d3 Migrate to caps.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-13 22:26:26 +00:00
ryan a6ade4a767 Role/capability system. Round one. Props: Owen Winkler
git-svn-id: http://svn.automattic.com/wordpress/trunk@2703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-11 22:39:50 +00:00
matt 13f492ab75 Massive user_level fix. We were still using the user_level field in wp_users in some places, where we should just use the table prefixed usermeta value.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-09 01:27:46 +00:00
matt 233afca132 Drafts clean up.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-08 22:59:15 +00:00
matt e2d9a4c765 Ugly escaping
git-svn-id: http://svn.automattic.com/wordpress/trunk@2692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-03 17:42:11 +00:00
ryan 5edea3a5cd Fix ID in confirmdeletecomment.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-03 17:34:55 +00:00
ryan 8b55719431 Comment updating cleanup. Add get_comment(), edit_comment(), get_comment_to_edit(), and wp_update_comment().
git-svn-id: http://svn.automattic.com/wordpress/trunk@2662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-26 19:55:12 +00:00
ryan 16efd6a7f3 Return post_ID from write_post() and pass it along when doing a save and continue redirect. Props: CŽedric
git-svn-id: http://svn.automattic.com/wordpress/trunk@2654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-19 23:44:22 +00:00
ryan 0b7373e0cc Add get_post_to_edit() and get_default_post_to_edit(). More post.php cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-19 02:51:48 +00:00
ryan 477f109d97 Consolidate post update code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-19 01:33:38 +00:00
ryan 5cfc1a248b Consolidate post creation code into wp_insert_post().
git-svn-id: http://svn.automattic.com/wordpress/trunk@2647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-18 19:08:38 +00:00
matt 4a25d166b4 New schmancy posting interface
git-svn-id: http://svn.automattic.com/wordpress/trunk@2639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-14 07:31:36 +00:00
matt 32cb17c3dd http://mosquito.wordpress.org/view.php?id=1347 - Hat tip: Skippy the Salacious
git-svn-id: http://svn.automattic.com/wordpress/trunk@2604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-13 21:45:51 +00:00
ryan 75af9cc6b6 Correctly set comment and ping status when publishing from advanced edit page. http://mosquito.wordpress.org/view.php?id=877 Props: MC_incubus
git-svn-id: http://svn.automattic.com/wordpress/trunk@2574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-24 04:19:19 +00:00
matt c377504cd3 More sanitization cleanups
git-svn-id: http://svn.automattic.com/wordpress/trunk@2557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-20 04:06:37 +00:00
matt c7bd7fe40b Initial auto-save checkin code from DarkCryst. No bug reports on it yet! Several known issues, including deleting cookies, moving the restore button, and other behavior probs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-16 16:31:38 +00:00
ryan 92805e971f Make get_postdata() use get_post(). Label get_postdata() as deprecated. Remove the one remaining call to get_postdata().
git-svn-id: http://svn.automattic.com/wordpress/trunk@2524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-09 17:25:47 +00:00
ryan 8007e707c8 Don't set auto-set post slug until published. http://mosquito.wordpress.org/view.php?id=1073 Props: coffee2code
git-svn-id: http://svn.automattic.com/wordpress/trunk@2496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-29 19:24:37 +00:00
ryan 0d88aac206 i18n fix. http://mosquito.wordpress.org/view.php?id=1136 Props: nbachiyski
git-svn-id: http://svn.automattic.com/wordpress/trunk@2463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-22 00:17:55 +00:00
ryan ab0395cd3c Level 1 users cannot edit or delete published posts. http://mosquito.wordpress.org/view.php?id=1004
git-svn-id: http://svn.automattic.com/wordpress/trunk@2452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-17 03:38:28 +00:00
ryan c81c012981 Don't let users who cannot publish edit published posts, even their own. Make consistent use of user_can_create_post(). http://mosquito.wordpress.org/view.php?id=1004 Props: MC_incubus
git-svn-id: http://svn.automattic.com/wordpress/trunk@2441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-14 00:48:11 +00:00
ryan 1996a5986f Don't make post slug sticky until the post is published. http://mosquito.wordpress.org/view.php?id=531
git-svn-id: http://svn.automattic.com/wordpress/trunk@2426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-10 03:01:45 +00:00
ryan b9433193df Fix edit page menu highlighting. http://mosquito.wordpress.org/view.php?id=799 Hat tip: mdawaffe
git-svn-id: http://svn.automattic.com/wordpress/trunk@2401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-02 16:30:00 +00:00
ryan 894c4cc880 Localize strings. http://mosquito.wordpress.org/view.php?id=909 Props: nbachiyski
git-svn-id: http://svn.automattic.com/wordpress/trunk@2377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-25 00:20:48 +00:00
saxmatt f8efc5c837 Redirect to the right place - http://mosquito.wordpress.org/view.php?id=510
git-svn-id: http://svn.automattic.com/wordpress/trunk@2333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 09:46:08 +00:00
saxmatt a622906bd5 Don't let there be duplicate post_names
git-svn-id: http://svn.automattic.com/wordpress/trunk@2323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 04:51:14 +00:00
saxmatt ce7add2275 More presave filters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 04:05:19 +00:00
saxmatt c8c2d1ef89 When in advanced view it means the boxes are unchecked
git-svn-id: http://svn.automattic.com/wordpress/trunk@2290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-12 09:25:54 +00:00
saxmatt 553e41cf73 Enclosure cleanups
git-svn-id: http://svn.automattic.com/wordpress/trunk@2288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-12 08:58:10 +00:00
saxmatt 20a12ca306 Update rewrite rules on delete - http://wordpress.org/support/topic.php?id=22562
git-svn-id: http://svn.automattic.com/wordpress/trunk@2219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-05 05:32:36 +00:00
michelvaldrighi 2774142c5a Fix for bug #559, capitalisation issue
git-svn-id: http://svn.automattic.com/wordpress/trunk@2194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-01 11:03:45 +00:00
rboren e9d1241d26 Remove support for 'all' queries and for poststart and postend.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-01 01:49:51 +00:00
saxmatt c4d8b5c8b4 Fix for assigning authors - http://mosquito.wordpress.org/view.php?id=759
git-svn-id: http://svn.automattic.com/wordpress/trunk@2172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-31 10:32:28 +00:00
saxmatt f95c9db9b7 Moderation confirmation from Ryan, some other template and comment editing improvements.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-31 04:22:01 +00:00
saxmatt 36f89f11c9 Fix for menu_order - http://mosquito.wordpress.org/view.php?id=740
git-svn-id: http://svn.automattic.com/wordpress/trunk@2122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-24 05:36:20 +00:00
rboren bf06e2f857 If post title is not provided, we still need to have a sanitized name for use in permalinks. Use the post id. Bug 717.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-20 05:18:55 +00:00
saxmatt 4015316834 http://mosquito.wordpress.org/view.php?id=521
git-svn-id: http://svn.automattic.com/wordpress/trunk@2062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-07 01:11:51 +00:00
saxmatt 99df7e3a03 Cleaning up filters and format-to-post
git-svn-id: http://svn.automattic.com/wordpress/trunk@2059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-06 22:51:44 +00:00
saxmatt 6e71a37427 Show feedback that the post was saved.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-06 09:29:04 +00:00
saxmatt 064976d3e0 Expose menu_order.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-02 00:09:05 +00:00
saxmatt 7b3972f45e http://mosquito.wordpress.org/view.php?id=568
git-svn-id: http://svn.automattic.com/wordpress/trunk@1981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-19 08:17:07 +00:00
saxmatt 50346fe5b0 HTML fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@1961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-15 23:09:46 +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 a2b6757246 Remove call to undefined function clear_smarty_cache(). Bug 424.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-08 00:23:02 +00:00
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