Commit Graph

83 Commits

Author SHA1 Message Date
Ryan Boren 6fe5b12b77 Use correct variable name. Props sirzooro. fixes #11204
git-svn-id: https://develop.svn.wordpress.org/trunk@12247 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-20 20:12:01 +00:00
Andrew Ozz 4bf4ab5114 Fix warning when trashing a post from the write screen, fixes #11131
git-svn-id: https://develop.svn.wordpress.org/trunk@12182 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-13 03:47:10 +00:00
Andrew Ozz b86ab00920 Undo for posts, pages and media, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12121 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-28 02:46:08 +00:00
Mark Jaquith 8276810f7f pull thumbnail scripts out of Page admin pages. see #10928. props scribu, gracious even in reversion.
git-svn-id: https://develop.svn.wordpress.org/trunk@12064 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-19 21:46:10 +00:00
Mark Jaquith dabaeac026 Allow pages to have thumbnails too. Props scribu. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12056 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-19 14:44:17 +00:00
Andrew Ozz aaae110d8f Remove remains from the old bookmarklet code
git-svn-id: https://develop.svn.wordpress.org/trunk@12029 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-14 05:53:49 +00:00
Andrew Ozz 9d5f38a1df Merge post.js with page.js and slug.js, optimize categories and tags JS, standardize postboxes IDs and JS.
git-svn-id: https://develop.svn.wordpress.org/trunk@12022 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-13 10:02:42 +00:00
Andrew Ozz 2dc1de999c Open View/Preview post in a new window from the link in the Saved/Updated message, cleanup messages code, add Draft updated for Pages.
git-svn-id: https://develop.svn.wordpress.org/trunk@12020 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-11 00:37:26 +00:00
Mark Jaquith 04772d1b9f Surface "Move to Trash" link for posts/pages immediately after first autosave fires. Props cross country flight. fixes #10344
git-svn-id: https://develop.svn.wordpress.org/trunk@11986 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-01 11:44:18 +00:00
Peter Westwood 3fbccfb9fc Switch the post|page being editing message from a create_function call to a normal function and reduce the duplicated code. See #10729.
git-svn-id: https://develop.svn.wordpress.org/trunk@11923 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-13 08:52:39 +00:00
Peter Westwood 0811d99fbd Better feedback on publishing of future posts and pages. Fixes #10711 based on patch from scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@11897 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-01 21:15:20 +00:00
Andrew Ozz aa630abdab Fix bulk edit, some cleanup and message fixes for moving in/out of the trash, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11807 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-12 10:57:15 +00:00
Andrew Ozz d9f8c67f2f Trash status updates for posts, pages, comments and attachments, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11749 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-30 13:39:34 +00:00
Mark Jaquith f0336cfa7d deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: https://develop.svn.wordpress.org/trunk@11380 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 15:11:07 +00:00
Andrew Ozz 3bf18aa189 Banishing ASCII quotes and apostrophes, props demetris, fixes #9655
git-svn-id: https://develop.svn.wordpress.org/trunk@11190 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 04:28:05 +00:00
Ryan Boren 630f4578b7 Clean up save mssage. see #8713
git-svn-id: https://develop.svn.wordpress.org/trunk@11159 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-02 21:44:09 +00:00
Andrew Ozz cc1e3f416b Show "Post submitted" message when contributors submit a post for review, props mdawaffe, fixes #8519
git-svn-id: https://develop.svn.wordpress.org/trunk@10094 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-07 03:39:00 +00:00
Ryan Boren 6cae7a0d77 Feedback for post and page deletions. fixes #8415
git-svn-id: https://develop.svn.wordpress.org/trunk@9998 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-01 18:02:16 +00:00
Ryan Boren 8ad7e7bf46 Give feedback after publishing a page. fixes #8414
git-svn-id: https://develop.svn.wordpress.org/trunk@9996 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-01 05:09:43 +00:00
Ryan Boren 10a97c635b Fix parents for page and link editors. fixes #8421
git-svn-id: https://develop.svn.wordpress.org/trunk@9966 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-29 17:51:30 +00:00
Mark Jaquith 3b9b10645f Remove manual santization of redirect URLs (handled in wp_redirect())
git-svn-id: https://develop.svn.wordpress.org/trunk@9779 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-19 06:32:10 +00:00
Ryan Boren fab4e5a68e Unused var fixes. Props DD32. see #8220
git-svn-id: https://develop.svn.wordpress.org/trunk@9716 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-15 18:10:35 +00:00
Ryan Boren 7f00d29121 Move screen_meta() to admin header. Add all meta boxes before requiring admin-header.
git-svn-id: https://develop.svn.wordpress.org/trunk@9620 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-11 22:40:16 +00:00
Ryan Boren 83e002f20b Notice fixes from DD32. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@9596 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-10 18:54:18 +00:00
Andrew Ozz 7d45802347 Preview fixes: different method of showing previews for published posts, now uses the proper templates. Fixes #8052
git-svn-id: https://develop.svn.wordpress.org/trunk@9509 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-04 13:00:12 +00:00
Andrew Ozz 8b6e95b056 Preview fixes: ensure autosave is run at least once on new posts before preview, properly show previews for pending and scheduled posts.
git-svn-id: https://develop.svn.wordpress.org/trunk@9473 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-02 13:56:32 +00:00
Peter Westwood f45463e0aa Redirect correctly on page deletion. Fixes #8030.
git-svn-id: https://develop.svn.wordpress.org/trunk@9468 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-01 22:28:34 +00:00
Andrew Ozz 78b8de31b6 Preview for both drafts and published posts/pages
git-svn-id: https://develop.svn.wordpress.org/trunk@9451 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-31 22:47:07 +00:00
Ryan Boren 8f62bd766a h2 removal per wireframes. Props Viper007Bond. see #7552
git-svn-id: https://develop.svn.wordpress.org/trunk@9032 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-29 22:06:23 +00:00
Peter Westwood e1adf1d070 More phpdoc updates for wp-adming. See #7496 props santosj.
git-svn-id: https://develop.svn.wordpress.org/trunk@8656 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-16 07:27:34 +00:00
Ryan Boren b7d641c8fd Don't redirect back to permalink after editing from Edit This link. fixes #7503 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8627 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-12 21:00:22 +00:00
Ryan Boren a359db73a2 Use get_edit_post_link() instead of hardcoding edit links. Props mdawaffe. fixes #7425
git-svn-id: https://develop.svn.wordpress.org/trunk@8484 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-29 05:22:58 +00:00
Ryan Boren 07518727b8 Add thickbox to pages that use media uploader.
git-svn-id: https://develop.svn.wordpress.org/trunk@8033 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-02 21:46:25 +00:00
Ryan Boren f213f87d59 First cut and better admin SSL support. see #7001
git-svn-id: https://develop.svn.wordpress.org/trunk@7998 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-27 17:46:01 +00:00
Ryan Boren 58a9595df2 Theme preview and thickbox CSS cleanup. Props azaozz. see #5486
git-svn-id: https://develop.svn.wordpress.org/trunk@7961 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-20 17:19:33 +00:00
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