Commit Graph

62 Commits

Author SHA1 Message Date
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
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