Commit Graph

48 Commits

Author SHA1 Message Date
Ryan Boren
67d3c5a09d Word count from azaozz. see #4807
git-svn-id: https://develop.svn.wordpress.org/trunk@7854 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-29 19:17:23 +00:00
Ryan Boren
202cb03220 don't get or set post_lock if you can't edit the post/page. Props mdawaffe
git-svn-id: https://develop.svn.wordpress.org/trunk@7781 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-22 23:54:13 +00:00
Ryan Boren
8107431372 Post and page edit redirect fixes. fixes #6720 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7759 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-21 17:54:56 +00:00
Ryan Boren
c72fd439c6 Post revisions from mdawaffe. see #6775
git-svn-id: https://develop.svn.wordpress.org/trunk@7747 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 23:38:21 +00:00
Mark Jaquith
7bf526880e 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: https://develop.svn.wordpress.org/trunk@7564 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-29 06:47:30 +00:00
Ryan Boren
ba57072603 Redirect consistency when saving pages and posts.
git-svn-id: https://develop.svn.wordpress.org/trunk@7527 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 18:55:24 +00:00
Mark Jaquith
29475bd4be "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: https://develop.svn.wordpress.org/trunk@7438 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-21 03:31:12 +00:00
Ryan Boren
fc0efdfc8d Always save and continue except when referred from the permalink page for the post being edited.
git-svn-id: https://develop.svn.wordpress.org/trunk@7426 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-20 21:15:05 +00:00
Ryan Boren
9df4b3f641 Post edit collision detection fixes from mdawaffe. fixes #6043
git-svn-id: https://develop.svn.wordpress.org/trunk@7146 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-04 00:05:30 +00:00
Ryan Boren
89c5e9720d Change save page redirects. see #6024
git-svn-id: https://develop.svn.wordpress.org/trunk@7116 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-01 00:16:55 +00:00
Ryan Boren
e29306e69c Post Edit Collision Detection from mdawaffe. fixes #6043
git-svn-id: https://develop.svn.wordpress.org/trunk@7103 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-29 09:51:36 +00:00
Ryan Boren
928acb6048 Add page saved notice.
git-svn-id: https://develop.svn.wordpress.org/trunk@7047 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-26 20:53:07 +00:00
Ryan Boren
679cd738b9 TinyMCE config enhancements from azaozz. fixes #5896 #5888
git-svn-id: https://develop.svn.wordpress.org/trunk@6894 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-18 17:11:12 +00:00
Ryan Boren
7886e5c6e0 Fix add custom field redirects. Props pishmishy. fixes #2788
git-svn-id: https://develop.svn.wordpress.org/trunk@6816 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-13 18:10:41 +00:00
Ryan Boren
bfa0dd639a Move editor js to editor.js. fixes #5799
git-svn-id: https://develop.svn.wordpress.org/trunk@6770 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-09 13:08:28 +00:00
Ryan Boren
4c6d9571f9 Postbox save updates and admin js refactoring from nbachiyski. fixes #5799
git-svn-id: https://develop.svn.wordpress.org/trunk@6761 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-08 19:57:50 +00:00
Ryan Boren
de5dc36346 Update edit page form. Post boxes need fixin'
git-svn-id: https://develop.svn.wordpress.org/trunk@6665 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-25 23:11:54 +00:00
Ryan Boren
72a79d489d Port autosave to jquery. Props rmccue. see #3824
git-svn-id: https://develop.svn.wordpress.org/trunk@6546 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-04 08:46:33 +00:00
Ryan Boren
80b6586f90 Load jquery.js instead of interface.js. fixes #5544
git-svn-id: https://develop.svn.wordpress.org/trunk@6513 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-28 19:57:00 +00:00
Ryan Boren
490789554f jquery for list manipulation. Round one, fight. Props mdawaffe. fixes #4805
git-svn-id: https://develop.svn.wordpress.org/trunk@6213 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-09 22:49:42 +00:00
Ryan Boren
7a43c01e08 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@6026 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 23:32:58 +00:00
Ryan Boren
9ef753c3c5 Display error message when attempting to edit post or page IDs that do not exist. Props Viper007Bond. fixes #4737
git-svn-id: https://develop.svn.wordpress.org/trunk@5875 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-15 22:31:19 +00:00
Matt Mullenweg
93e33032b6 Kill the slow-loading iframe in favor of a popup link
git-svn-id: https://develop.svn.wordpress.org/trunk@5159 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 22:02:19 +00:00
Mark Jaquith
d8336eed5c 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: https://develop.svn.wordpress.org/trunk@5056 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-17 08:46:59 +00:00
Mark Jaquith
56368548ad Use strpos instead of strstr where ever possible, for speed. Props rob1n. fixes #3920
git-svn-id: https://develop.svn.wordpress.org/trunk@4990 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 05:29:15 +00:00
Mark Jaquith
5acfcd9fea trailing tabs and whitespace cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@4953 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-27 15:24:54 +00:00
Ryan Boren
819e6e9c4f Reverse logic.
git-svn-id: https://develop.svn.wordpress.org/trunk@4915 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-22 15:30:47 +00:00
Ryan Boren
ff46d95c6c Don't allow editing pages via post.php. Redirect to page.php
git-svn-id: https://develop.svn.wordpress.org/trunk@4780 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-22 08:16:58 +00:00
Mark Jaquith
31c39f948d new function for escaping within attributes: attribute_escape()
git-svn-id: https://develop.svn.wordpress.org/trunk@4656 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-21 10:10:04 +00:00
Ryan Boren
32c1d247ac Attachment data abstraction from mdawaffe. fixes #3440
git-svn-id: https://develop.svn.wordpress.org/trunk@4612 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-05 22:37:19 +00:00
Ryan Boren
661e5dedc3 Set eol style. fixes #3264
git-svn-id: https://develop.svn.wordpress.org/trunk@4424 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-25 22:55:05 +00:00
Matt Mullenweg
bc2d62560c Some UI cleanups, changes, and various miscellany.
git-svn-id: https://develop.svn.wordpress.org/trunk@4349 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-06 01:14:47 +00:00
Mark Jaquith
3fdba8da61 Better notice and link after post/page saving. Props mdawaffe. fixes #1690
git-svn-id: https://develop.svn.wordpress.org/trunk@4317 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 07:46:47 +00:00
Ryan Boren
8941e0dfbe Validate good times, come on. Props Viper007Bond. fixes #3113
git-svn-id: https://develop.svn.wordpress.org/trunk@4169 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-07 17:28:29 +00:00
Ryan Boren
a28be38534 i18n fixes from nbachiyski. fixes #3109
git-svn-id: https://develop.svn.wordpress.org/trunk@4165 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-05 18:52:24 +00:00
Ryan Boren
7e82eef627 Use get_option instead of get_settings. Just 'cause.
git-svn-id: https://develop.svn.wordpress.org/trunk@4144 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 21:46:31 +00:00
Ryan Boren
8988c209e9 Fix autosave redirects
git-svn-id: https://develop.svn.wordpress.org/trunk@4088 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-11 19:13:00 +00:00
Ryan Boren
89c450981a autosave fix ups
git-svn-id: https://develop.svn.wordpress.org/trunk@4087 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-11 18:54:09 +00:00
Ryan Boren
ff9a056e8b Autosave and prototype. Props masquerade. fixes #3020 #3017
git-svn-id: https://develop.svn.wordpress.org/trunk@4082 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-11 03:54:45 +00:00
Ryan Boren
0b25954d38 Use wp_die(). Props filosofo. fixes #2914
git-svn-id: https://develop.svn.wordpress.org/trunk@3985 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-05 22:00:03 +00:00
Ryan Boren
0474f077f0 wp_reset_vars() from Sewar. fixes #2888
git-svn-id: https://develop.svn.wordpress.org/trunk@3946 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-03 19:03:37 +00:00
Ryan Boren
23e2a0a25f Use wp_redirect().
git-svn-id: https://develop.svn.wordpress.org/trunk@3928 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-27 05:38:56 +00:00
Ryan Boren
11a6312a36 Use wp_get_referer(). fixes #2800
git-svn-id: https://develop.svn.wordpress.org/trunk@3918 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-24 07:34:35 +00:00
Ryan Boren
6f1d273fc9 Update nonce action strings. Props mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/trunk@3804 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-26 23:08:05 +00:00
Ryan Boren
855864396f Improvements to the nonce AYS from mdawaffe. #2734
git-svn-id: https://develop.svn.wordpress.org/trunk@3783 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-18 06:49:22 +00:00
Ryan Boren
fcfda4db13 Nonce from above. #2678
git-svn-id: https://develop.svn.wordpress.org/trunk@3759 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-02 22:36:06 +00:00
Ryan Boren
f16c66b3d6 Redirect if no action is set. Props Viper007Bond. fixes #2619
git-svn-id: https://develop.svn.wordpress.org/trunk@3674 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-01 23:02:01 +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