Commit Graph

181 Commits

Author SHA1 Message Date
Ryan Boren cb23290318 AJAX, cause you love it. Props mdawaffe. fixes #2561
git-svn-id: https://develop.svn.wordpress.org/trunk@3660 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-29 01:51:55 +00:00
Ryan Boren e758b74575 Add referer check. Props masquerade.
git-svn-id: https://develop.svn.wordpress.org/trunk@3621 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-06 08:32:20 +00:00
Ryan Boren 5b484ee182 Add referer checks. Props masquerade.
git-svn-id: https://develop.svn.wordpress.org/trunk@3618 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-06 08:19:41 +00:00
Ryan Boren ba5d6bafdd Fix post save/delete redirects. fixes #2505 #2502
git-svn-id: https://develop.svn.wordpress.org/trunk@3571 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-27 05:15:13 +00:00
Ryan Boren b4351fd870 Breakup post.php into post.php, comment.php, page.php, post-new.php
git-svn-id: https://develop.svn.wordpress.org/trunk@3563 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-21 06:11:46 +00:00
Ryan Boren 4fc77411ee Option to 'mark as spam' in notification e-mail from Mark J. fixes #1048
git-svn-id: https://develop.svn.wordpress.org/trunk@3529 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-14 20:09:13 +00:00
Ryan Boren 6008a133c4 Death to trailing tabs. Props Mark J. fixes #2405
git-svn-id: https://develop.svn.wordpress.org/trunk@3517 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 07:53:23 +00:00
Ryan Boren f961003343 Allow draft pages. Use post_type for object types. Reserve post_status strictly for status. fixes #1820
git-svn-id: https://develop.svn.wordpress.org/trunk@3510 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-09 10:03:48 +00:00
Ryan Boren 28bd6692a0 is_preview() fixes from David House. fixes #2188
git-svn-id: https://develop.svn.wordpress.org/trunk@3473 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-23 23:39:56 +00:00
Ryan Boren 8a67cfddd0 Remove reference to non-existant edit-attachment-form. fixes #2270
git-svn-id: https://develop.svn.wordpress.org/trunk@3428 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-12 03:44:44 +00:00
Ryan Boren 82f037674e Confirm-delete dialog fix from Mark Jaquith. fixes #2249
git-svn-id: https://develop.svn.wordpress.org/trunk@3416 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-09 22:50:35 +00:00
Ryan Boren 152fe33307 Don't require admin-header.
git-svn-id: https://develop.svn.wordpress.org/trunk@3361 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-26 17:00:39 +00:00
Ryan Boren dcaa152386 Don't die.
git-svn-id: https://develop.svn.wordpress.org/trunk@3315 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-15 22:26:22 +00:00
Ryan Boren f160329f66 Attachment enhancements from skeltoac. fixes #2074
git-svn-id: https://develop.svn.wordpress.org/trunk@3303 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-13 19:19:56 +00:00
Ryan Boren f8f9acc610 i18n fixes from nbachiyski. #2006
git-svn-id: https://develop.svn.wordpress.org/trunk@3262 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-02 22:37:02 +00:00
Ryan Boren 27dbb0228e Close iframe properly. Props ringmaster. fixes #1932
git-svn-id: https://develop.svn.wordpress.org/trunk@3188 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-21 18:30:46 +00:00
Ryan Boren 8d5607f6f7 Tab highlight fix from skeltoac. fixes #1619
git-svn-id: https://develop.svn.wordpress.org/trunk@3164 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 19:20:33 +00:00
Ryan Boren 9e6d93b6d6 Trailing slashes. Propers to Mark Jaquith. fixes #1893
git-svn-id: https://develop.svn.wordpress.org/trunk@3134 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 10:10:10 +00:00
Ryan Boren e94f3a0418 Bookmarklet script updates.
git-svn-id: https://develop.svn.wordpress.org/trunk@3132 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 09:44:41 +00:00
Ryan Boren eb4979a640 New bookmarklet action.
git-svn-id: https://develop.svn.wordpress.org/trunk@3127 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 03:26:24 +00:00
Ryan Boren 7ffc6d0838 Put the preview anchors on the h2. Props: markjaquith fixes #1765
git-svn-id: https://develop.svn.wordpress.org/trunk@2973 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-29 01:52:56 +00:00
Ryan Boren 72133b0358 Post preview, now with extra spiff, from Mark Jaquith. fixes #1701
git-svn-id: https://develop.svn.wordpress.org/trunk@2906 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-23 00:44:26 +00:00
Ryan Boren 9b64414d35 Fix page edit redirect.
git-svn-id: https://develop.svn.wordpress.org/trunk@2850 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-08 20:38:30 +00:00
Matt Mullenweg 7c4907713c 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: https://develop.svn.wordpress.org/trunk@2762 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-08 01:13:22 +00:00
Matt Mullenweg 1d5e21d175 Tweaks and catchups
git-svn-id: https://develop.svn.wordpress.org/trunk@2756 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-07 08:58:10 +00:00
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