Commit Graph

290 Commits

Author SHA1 Message Date
Dion Hulse
468d0d7cff Variable Cleanup, Unused variables, Typo'd variables, unused code blocks. Fixes #12299
git-svn-id: https://develop.svn.wordpress.org/trunk@13242 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 02:01:46 +00:00
Dion Hulse
4b66bf7c74 Introduce 'singular_label' for Post Types. Props scribu. See #12214
git-svn-id: https://develop.svn.wordpress.org/trunk@13101 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 08:56:38 +00:00
Ryan Boren
12c49c44f4 Allow customizing capabilities for custom post types. Always check caps against those in the post type object instead of contructing them manually. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12927 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 17:37:03 +00:00
Mark Jaquith
ba857dbae9 Include post_type= when redirecting after "Trash" click from item individual edit screen, to avoid going to Post edit screen for other post_types
git-svn-id: https://develop.svn.wordpress.org/trunk@12820 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-24 20:50:50 +00:00
Ryan Boren
b74bea8a2c Merge edit-pages.php into edit.php. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12728 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 16:58:36 +00:00
Ryan Boren
9b510ecec4 Merge page.php into post.php. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12708 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 16:50:37 +00:00
Ryan Boren
9ef2cb198f More custom post type support. Props scribu. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12597 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-04 16:58:43 +00:00
Andrew Ozz
770fd776d7 Disable trash for attachments for now pending improvements in 3.0, fixes #11149
git-svn-id: https://develop.svn.wordpress.org/trunk@12377 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-12 06:40:16 +00:00
Andrew Ozz
ad34368ba9 Fix multiple confirmation messages when restoring posts and pages from the trash, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12312 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 23:28:20 +00:00
Peter Westwood
b9b969f12a Allow plugins to change the redirect on post/page publishing/submitting. Fixes #10929 props johnjosephbachir and johnbillion.
git-svn-id: https://develop.svn.wordpress.org/trunk@12260 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-22 22:30:27 +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
Andrew Ozz
0c847d8256 Pull thumbnail scripts out of Posts screens too. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12065 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-19 21:51:16 +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
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
Andrew Ozz
cfad60032c Show "Draft updated" instead of "Post updated" when saving drafts.
git-svn-id: https://develop.svn.wordpress.org/trunk@12017 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-10 07:24:05 +00:00
Mark Jaquith
ab98fc356b First pass on canonical post thumbanils. Admin-side GUI only. Theme functions to follow. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12007 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-07 22:18:09 +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
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
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
Andrew Ozz
9baa38326e Fix bulk edit and preview url
git-svn-id: https://develop.svn.wordpress.org/trunk@9453 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-01 01:15:22 +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
Mark Jaquith
a859515f6e Revert to simple Edit Post title for post editing screen. No longer makes sense with lack of breadcrumbs and the actual post title box so high on the screen
git-svn-id: https://develop.svn.wordpress.org/trunk@9433 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-31 16:40:55 +00:00
Ryan Boren
752eafa95c Bring back h2 for add/edit post
git-svn-id: https://develop.svn.wordpress.org/trunk@9221 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-17 00:36:18 +00:00
Ryan Boren
2601e590b2 Add opt-in optioon for comment hotkeys. Props nbachiyski. fixes #7643
git-svn-id: https://develop.svn.wordpress.org/trunk@9217 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-16 22:23:32 +00:00
Ryan Boren
638a41bf49 Draggable dash, first cut. Props mdawaffe. see #7552
git-svn-id: https://develop.svn.wordpress.org/trunk@9103 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-08 23:32:34 +00:00
Ryan Boren
50d77a0fb1 Title changes
git-svn-id: https://develop.svn.wordpress.org/trunk@8995 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-27 06:20:21 +00:00
Ryan Boren
6ca991c79e Dedicated drafts page
git-svn-id: https://develop.svn.wordpress.org/trunk@8992 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-26 21:53:26 +00:00
Andrew Ozz
55f93f1cb0 Few sidebar.php updates, functionality and look similar to the quick-post dashboard widget
git-svn-id: https://develop.svn.wordpress.org/trunk@8834 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-06 06:10:38 +00:00
Andrew Ozz
5cb7f1c9bc Fix saving as draft, see #7672
git-svn-id: https://develop.svn.wordpress.org/trunk@8832 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-06 05:16:56 +00:00
Peter Westwood
6b3d49a607 Correct message when saving a draft. Fixes #7693 props johnhennmacc.
git-svn-id: https://develop.svn.wordpress.org/trunk@8830 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-05 23:54:49 +00:00
Peter Westwood
09e15ecf6f Set comment and ping status when QuickPressing. Fixes #7672 props ShaneF.
git-svn-id: https://develop.svn.wordpress.org/trunk@8797 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-03 07:13:51 +00:00
Andrew Ozz
8dfe80eefb Add hotkeys.js to all pages that list comments and prevent error if not loaded, see #7643
git-svn-id: https://develop.svn.wordpress.org/trunk@8780 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-30 07:16:16 +00:00
Andrew Ozz
3e9d31fc8f Reply to comments from admin, first run, see #7435
git-svn-id: https://develop.svn.wordpress.org/trunk@8720 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-24 06:56:22 +00:00
Ryan Boren
6db75e59d4 Collapse crazyhorse to trunk. Incoming! see #7552
git-svn-id: https://develop.svn.wordpress.org/trunk@8691 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-20 21:42:31 +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
b0d1405333 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@8625 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-12 20:58:00 +00:00
Ryan Boren
2272a1a950 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 05:36:14 +00:00