Commit Graph

190 Commits

Author SHA1 Message Date
ryan
42557940a1 Use wp_die(). Props filosofo. fixes #2914
git-svn-id: http://svn.automattic.com/wordpress/trunk@3985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-05 22:00:03 +00:00
ryan
55af15d623 wp_reset_vars() from Sewar. fixes #2888
git-svn-id: http://svn.automattic.com/wordpress/trunk@3946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-03 19:03:37 +00:00
ryan
ff19f4b5a5 Use wp_redirect().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-27 05:38:56 +00:00
ryan
ec9b6242a3 Use wp_get_referer(). fixes #2800
git-svn-id: http://svn.automattic.com/wordpress/trunk@3918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-24 07:34:35 +00:00
ryan
96c3f739a8 Update nonce action strings. Props mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-26 23:08:05 +00:00
ryan
8ee6921b49 Improvements to the nonce AYS from mdawaffe. #2734
git-svn-id: http://svn.automattic.com/wordpress/trunk@3783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-18 06:49:22 +00:00
ryan
3f57a94f4c Nonce from above. #2678
git-svn-id: http://svn.automattic.com/wordpress/trunk@3759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-02 22:36:06 +00:00
matt
823f832a8e A better comment delete button
git-svn-id: http://svn.automattic.com/wordpress/trunk@3721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-19 08:02:16 +00:00
ryan
d02d4a9319 Redirect if no action given.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-04 00:12:43 +00:00
ryan
baa30dd4d8 AJAX, cause you love it. Props mdawaffe. fixes #2561
git-svn-id: http://svn.automattic.com/wordpress/trunk@3660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-29 01:51:55 +00:00
ryan
b8bbbd656e Add referer check. Props masquerade.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-06 08:32:20 +00:00
ryan
75a62f2e1e Add referer checks. Props masquerade.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-06 08:19:41 +00:00
ryan
1de4321d0b Fix post save/delete redirects. fixes #2505 #2502
git-svn-id: http://svn.automattic.com/wordpress/trunk@3571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-27 05:15:13 +00:00
ryan
29540c8e2b Breakup post.php into post.php, comment.php, page.php, post-new.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@3563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-21 06:11:46 +00:00
ryan
d30b5f1c99 Option to 'mark as spam' in notification e-mail from Mark J. fixes #1048
git-svn-id: http://svn.automattic.com/wordpress/trunk@3529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-14 20:09:13 +00:00
ryan
dd202ce1f9 Death to trailing tabs. Props Mark J. fixes #2405
git-svn-id: http://svn.automattic.com/wordpress/trunk@3517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-12 07:53:23 +00:00
ryan
f812294867 Allow draft pages. Use post_type for object types. Reserve post_status strictly for status. fixes #1820
git-svn-id: http://svn.automattic.com/wordpress/trunk@3510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-09 10:03:48 +00:00
ryan
9a6867aa44 is_preview() fixes from David House. fixes #2188
git-svn-id: http://svn.automattic.com/wordpress/trunk@3473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-23 23:39:56 +00:00
ryan
acff9479ff Remove reference to non-existant edit-attachment-form. fixes #2270
git-svn-id: http://svn.automattic.com/wordpress/trunk@3428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-12 03:44:44 +00:00
ryan
0962ff9bff Confirm-delete dialog fix from Mark Jaquith. fixes #2249
git-svn-id: http://svn.automattic.com/wordpress/trunk@3416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-09 22:50:35 +00:00
ryan
c24a484571 Don't require admin-header.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-26 17:00:39 +00:00
ryan
32743aec23 Don't die.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-15 22:26:22 +00:00
ryan
ab9b8f8b6a Attachment enhancements from skeltoac. fixes #2074
git-svn-id: http://svn.automattic.com/wordpress/trunk@3303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-13 19:19:56 +00:00
ryan
843a9afbfc i18n fixes from nbachiyski. #2006
git-svn-id: http://svn.automattic.com/wordpress/trunk@3262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-02 22:37:02 +00:00
ryan
bfcc6d9927 Close iframe properly. Props ringmaster. fixes #1932
git-svn-id: http://svn.automattic.com/wordpress/trunk@3188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-21 18:30:46 +00:00
ryan
8272052631 Tab highlight fix from skeltoac. fixes #1619
git-svn-id: http://svn.automattic.com/wordpress/trunk@3164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 19:20:33 +00:00
ryan
c9685b895a Trailing slashes. Propers to Mark Jaquith. fixes #1893
git-svn-id: http://svn.automattic.com/wordpress/trunk@3134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 10:10:10 +00:00
ryan
f048de8695 Bookmarklet script updates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 09:44:41 +00:00
ryan
f34d914107 New bookmarklet action.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 03:26:24 +00:00
ryan
faa8397c00 Put the preview anchors on the h2. Props: markjaquith fixes #1765
git-svn-id: http://svn.automattic.com/wordpress/trunk@2973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-29 01:52:56 +00:00
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