Commit Graph

156 Commits

Author SHA1 Message Date
Ryan Boren 60bc7f83f4 Fix draft list and publish button. fixes #1514
git-svn-id: https://develop.svn.wordpress.org/trunk@2723 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-17 21:08:47 +00:00
Ryan Boren 5dbb58cd91 Migrate to caps.
git-svn-id: https://develop.svn.wordpress.org/trunk@2709 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-13 22:26:26 +00:00
Ryan Boren 19ab84315c Role/capability system. Round one. Props: Owen Winkler
git-svn-id: https://develop.svn.wordpress.org/trunk@2703 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-11 22:39:50 +00:00
Matt Mullenweg 810e0018f4 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: https://develop.svn.wordpress.org/trunk@2702 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-09 01:27:46 +00:00
Matt Mullenweg 5bd6027fbd Drafts clean up.
git-svn-id: https://develop.svn.wordpress.org/trunk@2701 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-08 22:59:15 +00:00
Matt Mullenweg b5675c3c05 Ugly escaping
git-svn-id: https://develop.svn.wordpress.org/trunk@2692 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-03 17:42:11 +00:00
Ryan Boren 12d6518279 Fix ID in confirmdeletecomment.
git-svn-id: https://develop.svn.wordpress.org/trunk@2691 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-03 17:34:55 +00:00
Ryan Boren 706c897f32 Comment updating cleanup. Add get_comment(), edit_comment(), get_comment_to_edit(), and wp_update_comment().
git-svn-id: https://develop.svn.wordpress.org/trunk@2662 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-26 19:55:12 +00:00
Ryan Boren 9e63ebda78 Return post_ID from write_post() and pass it along when doing a save and continue redirect. Props: CŽedric
git-svn-id: https://develop.svn.wordpress.org/trunk@2654 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-19 23:44:22 +00:00
Ryan Boren 2b50612117 Add get_post_to_edit() and get_default_post_to_edit(). More post.php cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@2651 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-19 02:51:48 +00:00
Ryan Boren 67846fb123 Consolidate post update code.
git-svn-id: https://develop.svn.wordpress.org/trunk@2650 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-19 01:33:38 +00:00
Ryan Boren 15dc0c3307 Consolidate post creation code into wp_insert_post().
git-svn-id: https://develop.svn.wordpress.org/trunk@2647 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-18 19:08:38 +00:00
Matt Mullenweg afc06a6f56 New schmancy posting interface
git-svn-id: https://develop.svn.wordpress.org/trunk@2639 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-14 07:31:36 +00:00
Matt Mullenweg 202758f35d http://mosquito.wordpress.org/view.php?id=1347 - Hat tip: Skippy the Salacious
git-svn-id: https://develop.svn.wordpress.org/trunk@2604 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-13 21:45:51 +00:00
Ryan Boren 017d679aa4 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: https://develop.svn.wordpress.org/trunk@2574 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-24 04:19:19 +00:00
Matt Mullenweg 34f8f74d36 More sanitization cleanups
git-svn-id: https://develop.svn.wordpress.org/trunk@2557 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-20 04:06:37 +00:00
Matt Mullenweg 61ebee5445 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: https://develop.svn.wordpress.org/trunk@2536 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-16 16:31:38 +00:00
Ryan Boren 2e7c387207 Make get_postdata() use get_post(). Label get_postdata() as deprecated. Remove the one remaining call to get_postdata().
git-svn-id: https://develop.svn.wordpress.org/trunk@2524 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-09 17:25:47 +00:00
Ryan Boren 6abd89a643 Don't set auto-set post slug until published. http://mosquito.wordpress.org/view.php?id=1073 Props: coffee2code
git-svn-id: https://develop.svn.wordpress.org/trunk@2496 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 19:24:37 +00:00
Ryan Boren 61efa3844d i18n fix. http://mosquito.wordpress.org/view.php?id=1136 Props: nbachiyski
git-svn-id: https://develop.svn.wordpress.org/trunk@2463 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-22 00:17:55 +00:00
Ryan Boren 7fa77a3e96 Level 1 users cannot edit or delete published posts. http://mosquito.wordpress.org/view.php?id=1004
git-svn-id: https://develop.svn.wordpress.org/trunk@2452 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-17 03:38:28 +00:00
Ryan Boren a21f267454 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: https://develop.svn.wordpress.org/trunk@2441 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-14 00:48:11 +00:00
Ryan Boren 06b50ae8f5 Don't make post slug sticky until the post is published. http://mosquito.wordpress.org/view.php?id=531
git-svn-id: https://develop.svn.wordpress.org/trunk@2426 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-10 03:01:45 +00:00
Ryan Boren 16afe16dbe Fix edit page menu highlighting. http://mosquito.wordpress.org/view.php?id=799 Hat tip: mdawaffe
git-svn-id: https://develop.svn.wordpress.org/trunk@2401 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-02 16:30:00 +00:00
Ryan Boren ffad6205f9 Localize strings. http://mosquito.wordpress.org/view.php?id=909 Props: nbachiyski
git-svn-id: https://develop.svn.wordpress.org/trunk@2377 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-25 00:20:48 +00:00
Matt Mullenweg 8e8b13594c Redirect to the right place - http://mosquito.wordpress.org/view.php?id=510
git-svn-id: https://develop.svn.wordpress.org/trunk@2333 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 09:46:08 +00:00
Matt Mullenweg a5fec00554 Don't let there be duplicate post_names
git-svn-id: https://develop.svn.wordpress.org/trunk@2323 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 04:51:14 +00:00
Matt Mullenweg f2f1c3083e More presave filters.
git-svn-id: https://develop.svn.wordpress.org/trunk@2317 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 04:05:19 +00:00
Matt Mullenweg 0c1b494001 When in advanced view it means the boxes are unchecked
git-svn-id: https://develop.svn.wordpress.org/trunk@2290 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-12 09:25:54 +00:00
Matt Mullenweg fd66fc02c6 Enclosure cleanups
git-svn-id: https://develop.svn.wordpress.org/trunk@2288 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-12 08:58:10 +00:00
Matt Mullenweg 294a80c2b0 Update rewrite rules on delete - http://wordpress.org/support/topic.php?id=22562
git-svn-id: https://develop.svn.wordpress.org/trunk@2219 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-05 05:32:36 +00:00
michelvaldrighi 31ba3d15e0 Fix for bug #559, capitalisation issue
git-svn-id: https://develop.svn.wordpress.org/trunk@2194 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 11:03:45 +00:00
Ryan Boren 8b95197691 Remove support for 'all' queries and for poststart and postend.
git-svn-id: https://develop.svn.wordpress.org/trunk@2179 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 01:49:51 +00:00
Matt Mullenweg 48c873e2fa Fix for assigning authors - http://mosquito.wordpress.org/view.php?id=759
git-svn-id: https://develop.svn.wordpress.org/trunk@2172 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-31 10:32:28 +00:00
Matt Mullenweg 8768dfb610 Moderation confirmation from Ryan, some other template and comment editing improvements.
git-svn-id: https://develop.svn.wordpress.org/trunk@2165 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-31 04:22:01 +00:00
Matt Mullenweg 9436737d04 Fix for menu_order - http://mosquito.wordpress.org/view.php?id=740
git-svn-id: https://develop.svn.wordpress.org/trunk@2122 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-24 05:36:20 +00:00
Ryan Boren 8aee31bc63 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: https://develop.svn.wordpress.org/trunk@2109 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-20 05:18:55 +00:00
Matt Mullenweg 6ca2c31abd http://mosquito.wordpress.org/view.php?id=521
git-svn-id: https://develop.svn.wordpress.org/trunk@2062 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-07 01:11:51 +00:00
Matt Mullenweg 00d285d0dd Cleaning up filters and format-to-post
git-svn-id: https://develop.svn.wordpress.org/trunk@2059 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-06 22:51:44 +00:00
Matt Mullenweg 7ca6c5dc82 Show feedback that the post was saved.
git-svn-id: https://develop.svn.wordpress.org/trunk@2050 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-06 09:29:04 +00:00
Matt Mullenweg 824519adfa Expose menu_order.
git-svn-id: https://develop.svn.wordpress.org/trunk@2031 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-02 00:09:05 +00:00
Matt Mullenweg 3835423ade http://mosquito.wordpress.org/view.php?id=568
git-svn-id: https://develop.svn.wordpress.org/trunk@1981 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-19 08:17:07 +00:00
Matt Mullenweg 928966d6ce HTML fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@1961 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-15 23:09:46 +00:00
Matt Mullenweg 953caf1484 Axing htmlspecialchars because it double-encodes-encodes. Better error handling around queries.
git-svn-id: https://develop.svn.wordpress.org/trunk@1940 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-12 20:41:19 +00:00
Ryan Boren 017dfb115b Remove call to undefined function clear_smarty_cache(). Bug 424.
git-svn-id: https://develop.svn.wordpress.org/trunk@1917 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-08 00:23:02 +00:00
Ryan Boren 226f415935 Fix post deletion. Update wp_delete_post() and call from post.php. Bug 472.
git-svn-id: https://develop.svn.wordpress.org/trunk@1891 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-27 04:46:54 +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
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
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
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