Commit Graph

48 Commits

Author SHA1 Message Date
ryan
123a6091fb Word count from azaozz. see #4807
git-svn-id: http://svn.automattic.com/wordpress/trunk@7854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-29 19:17:23 +00:00
ryan
5d839715d5 don't get or set post_lock if you can't edit the post/page. Props mdawaffe
git-svn-id: http://svn.automattic.com/wordpress/trunk@7781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-22 23:54:13 +00:00
ryan
23fd331b4a Post and page edit redirect fixes. fixes #6720 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-21 17:54:56 +00:00
ryan
35086b850f Post revisions from mdawaffe. see #6775
git-svn-id: http://svn.automattic.com/wordpress/trunk@7747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 23:38:21 +00:00
markjaquith
a364c8f80e Sync page edit and post edit redirect message usage a bit more -- properly exclude the page.php file from the "go back" link for page edits.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-29 06:47:30 +00:00
ryan
1c0b403516 Redirect consistency when saving pages and posts.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 18:55:24 +00:00
markjaquith
62642cb9fe "Go back" link for admin-initiated post/page edits. e.g. do a search, edit a post, click the link to go back to the search.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 03:31:12 +00:00
ryan
3f52602fa4 Always save and continue except when referred from the permalink page for the post being edited.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-20 21:15:05 +00:00
ryan
4e45603410 Post edit collision detection fixes from mdawaffe. fixes #6043
git-svn-id: http://svn.automattic.com/wordpress/trunk@7146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-04 00:05:30 +00:00
ryan
44fb2281f3 Change save page redirects. see #6024
git-svn-id: http://svn.automattic.com/wordpress/trunk@7116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-01 00:16:55 +00:00
ryan
d9aef704a1 Post Edit Collision Detection from mdawaffe. fixes #6043
git-svn-id: http://svn.automattic.com/wordpress/trunk@7103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-29 09:51:36 +00:00
ryan
83908c9078 Add page saved notice.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 20:53:07 +00:00
ryan
6bef16a574 TinyMCE config enhancements from azaozz. fixes #5896 #5888
git-svn-id: http://svn.automattic.com/wordpress/trunk@6894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-18 17:11:12 +00:00
ryan
f77f58e7cb Fix add custom field redirects. Props pishmishy. fixes #2788
git-svn-id: http://svn.automattic.com/wordpress/trunk@6816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 18:10:41 +00:00
ryan
ce4fb5e015 Move editor js to editor.js. fixes #5799
git-svn-id: http://svn.automattic.com/wordpress/trunk@6770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-09 13:08:28 +00:00
ryan
bc817d2a2e Postbox save updates and admin js refactoring from nbachiyski. fixes #5799
git-svn-id: http://svn.automattic.com/wordpress/trunk@6761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-08 19:57:50 +00:00
ryan
0bf9c81fb5 Update edit page form. Post boxes need fixin'
git-svn-id: http://svn.automattic.com/wordpress/trunk@6665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 23:11:54 +00:00
ryan
e46b5e6bc2 Port autosave to jquery. Props rmccue. see #3824
git-svn-id: http://svn.automattic.com/wordpress/trunk@6546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 08:46:33 +00:00
ryan
f56f0f64a4 Load jquery.js instead of interface.js. fixes #5544
git-svn-id: http://svn.automattic.com/wordpress/trunk@6513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-28 19:57:00 +00:00
ryan
f8afc0b75d jquery for list manipulation. Round one, fight. Props mdawaffe. fixes #4805
git-svn-id: http://svn.automattic.com/wordpress/trunk@6213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-09 22:49:42 +00:00
ryan
321c310717 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@6026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:32:58 +00:00
ryan
eb3e9e6dc7 Display error message when attempting to edit post or page IDs that do not exist. Props Viper007Bond. fixes #4737
git-svn-id: http://svn.automattic.com/wordpress/trunk@5875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-15 22:31:19 +00:00
matt
01961fba45 Kill the slow-loading iframe in favor of a popup link
git-svn-id: http://svn.automattic.com/wordpress/trunk@5159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 22:02:19 +00:00
markjaquith
611b037efa use clean_url() instead of attribute_escape() when dealing with src/href to protect against XSS. props xknown. fixes #3986 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-17 08:46:59 +00:00
markjaquith
3320dd1380 Use strpos instead of strstr where ever possible, for speed. Props rob1n. fixes #3920
git-svn-id: http://svn.automattic.com/wordpress/trunk@4990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 05:29:15 +00:00
markjaquith
d0f79bb3f2 trailing tabs and whitespace cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-27 15:24:54 +00:00
ryan
c8997ffad9 Reverse logic.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-22 15:30:47 +00:00
ryan
d6287980ea Don't allow editing pages via post.php. Redirect to page.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@4780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-22 08:16:58 +00:00
markjaquith
5a76c03203 new function for escaping within attributes: attribute_escape()
git-svn-id: http://svn.automattic.com/wordpress/trunk@4656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-21 10:10:04 +00:00
ryan
995d839bfb Attachment data abstraction from mdawaffe. fixes #3440
git-svn-id: http://svn.automattic.com/wordpress/trunk@4612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-05 22:37:19 +00:00
ryan
c476029674 Set eol style. fixes #3264
git-svn-id: http://svn.automattic.com/wordpress/trunk@4424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-25 22:55:05 +00:00
matt
c437b9c9b0 Some UI cleanups, changes, and various miscellany.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-06 01:14:47 +00:00
markjaquith
2537888779 Better notice and link after post/page saving. Props mdawaffe. fixes #1690
git-svn-id: http://svn.automattic.com/wordpress/trunk@4317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-04 07:46:47 +00:00
ryan
6b7de4afd3 Validate good times, come on. Props Viper007Bond. fixes #3113
git-svn-id: http://svn.automattic.com/wordpress/trunk@4169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-07 17:28:29 +00:00
ryan
ebbcf250d5 i18n fixes from nbachiyski. fixes #3109
git-svn-id: http://svn.automattic.com/wordpress/trunk@4165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-05 18:52:24 +00:00
ryan
849a0d29d7 Use get_option instead of get_settings. Just 'cause.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 21:46:31 +00:00
ryan
a458715afa Fix autosave redirects
git-svn-id: http://svn.automattic.com/wordpress/trunk@4088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-11 19:13:00 +00:00
ryan
83665b2bf5 autosave fix ups
git-svn-id: http://svn.automattic.com/wordpress/trunk@4087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-11 18:54:09 +00:00
ryan
b4601fc06c Autosave and prototype. Props masquerade. fixes #3020 #3017
git-svn-id: http://svn.automattic.com/wordpress/trunk@4082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-11 03:54:45 +00:00
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
ryan
f5e88cd3d5 Redirect if no action is set. Props Viper007Bond. fixes #2619
git-svn-id: http://svn.automattic.com/wordpress/trunk@3674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-01 23:02:01 +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