Commit Graph

62 Commits

Author SHA1 Message Date
Andrew Nacin f504e221e1 Switch from Panel/SubPanel to Screen in inline documentation and Codex links. props michaelh, fixes #17265.
git-svn-id: https://develop.svn.wordpress.org/trunk@17748 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 15:24:49 +00:00
Ryan Boren 802c03455d Die if user doesn't have caps for the post type. Props duck_. fixes #15259
git-svn-id: https://develop.svn.wordpress.org/trunk@16135 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 16:28:35 +00:00
Ryan Boren e88dc2d87d Set show_ui to true for post and page. Exclude _builtin = true from areas where we need to special case builtin types. fixes #13403
git-svn-id: https://develop.svn.wordpress.org/trunk@14713 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-17 16:39:36 +00:00
Andrew Nacin 43959a6f47 Use show_ui instead of public flag to check whether the post type uses post-new and edit.php. see #13403.
git-svn-id: https://develop.svn.wordpress.org/trunk@14674 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 20:49:28 +00:00
Andrew Nacin 323342deec Move post type object capabilities to a 'cap' object. Allow them to be initialized via the 'capabilities' key (an array) when registering support for the post type. Caps are now referred to by the name of the cap as if it was a post, i.e. ->cap->edit_post. see #13358.
git-svn-id: https://develop.svn.wordpress.org/trunk@14585 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-12 20:45:18 +00:00
Nikolay Bachiyski ad3881470e I18n for custom post type labels. Props demetris, dimadin. Fixes #12968
git-svn-id: https://develop.svn.wordpress.org/trunk@14571 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 19:52:50 +00:00
Andrew Nacin e3e9a8e5c8 Don't enqueue unnecessary scripts when the post type doesn't support the editor. fixes #12590, props scribu, _duck.
git-svn-id: https://develop.svn.wordpress.org/trunk@14107 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 14:03:48 +00:00
Ryan Boren a37ca909a6 Die if invalid post type is passed. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13537 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 20:33:03 +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 8be3a24819 Add a separate show_ui flag for post types. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12993 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 17:27:30 +00:00
Mark Jaquith 2d54780d5e Create post_status=auto-draft when creating a new post item. status changes to draft on first auto-save. now we always have a real post ID to work with. see #11889. fixes #11145. fixes #11990
git-svn-id: https://develop.svn.wordpress.org/trunk@12987 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 10:07:57 +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
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 4e3864bd28 Merge page-new.php into post-new.php. Start abstracting column headers and prefs. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12702 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 00:14:27 +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 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
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
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 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 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 6a435d145f Menu reorg
git-svn-id: https://develop.svn.wordpress.org/trunk@8977 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-25 19:33:53 +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 ab17f7283c phpdoc for wp-admin. See #7496 props santosj.
git-svn-id: https://develop.svn.wordpress.org/trunk@8645 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-14 06:30:38 +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 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
Matt Mullenweg cb1aa603b4 Remove drafts from Write page.
git-svn-id: https://develop.svn.wordpress.org/trunk@7282 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-14 07:07:46 +00:00
Matt Mullenweg 1a25889bb9 A number of style tweaks; widen up a little; starting to add contextual help to various forms; catching up unloved forms with new UI guidelines.
git-svn-id: https://develop.svn.wordpress.org/trunk@7181 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-07 10:05:54 +00:00
Ryan Boren fcdcbe69e8 Remove bookmarklet stuff from post-new.php. Moving it somewhere else.
git-svn-id: https://develop.svn.wordpress.org/trunk@6903 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-18 20:36:49 +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 9d87bc73e7 Update post save notifications and redirects
git-svn-id: https://develop.svn.wordpress.org/trunk@6807 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-13 08:55:17 +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
Matt Mullenweg 9b9c8bd46f Redirect to edit page with posted blurb as default.
git-svn-id: https://develop.svn.wordpress.org/trunk@6581 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-09 11:21:27 +00:00
Ryan Boren fd80901dcf New image uploader from tellyworth. see #5609
git-svn-id: https://develop.svn.wordpress.org/trunk@6579 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-09 08:14:29 +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
Matt Mullenweg 30224a0b3d New tag interface, tag auto-suggest while typing. Rough - suggest and parts of JS should probably be refactored. Hat tip: jhodgdon.
git-svn-id: https://develop.svn.wordpress.org/trunk@6542 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-03 01:34:11 +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 a83ced4491 Add some filtering. Props jhodgdon. fixes #5030
git-svn-id: https://develop.svn.wordpress.org/trunk@6147 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-21 15:04:13 +00:00
Mark Jaquith fc12da3d9b Fix link to others' drafts from nag. fixes #4912
git-svn-id: https://develop.svn.wordpress.org/trunk@6038 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-05 18:40:40 +00:00
Mark Jaquith 59d491abd0 Show "Post #N" for posts without a title in the nag. Props Viper007Bond. fixes #4849
git-svn-id: https://develop.svn.wordpress.org/trunk@6037 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-05 18:33:45 +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 dd51d69fb3 Revert jcalendar date picker experiment. Save it for another day. fixes #4641
git-svn-id: https://develop.svn.wordpress.org/trunk@5808 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-17 19:26:03 +00:00
Ryan Boren bd72aa8e00 jquery data selector for post timestamps. Props tellyworth. fixes #4641
git-svn-id: https://develop.svn.wordpress.org/trunk@5804 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-16 19:22:27 +00:00
Mark Jaquith 0fc22b727c Change to "and x more" for nags. see #4446
git-svn-id: https://develop.svn.wordpress.org/trunk@5749 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-24 05:46:08 +00:00
Mark Jaquith 0f0788d24d Introducing post_status="pending". see #4446 and put any initial bug reports on that ticket
git-svn-id: https://develop.svn.wordpress.org/trunk@5707 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 16:24:28 +00:00
rob1n af3be824e7 Translate ». see #3401
git-svn-id: https://develop.svn.wordpress.org/trunk@5676 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-11 21:05:50 +00:00
rob1n a2854082d8 Don't reference old-style "levels," as they apparently used to call them back in the day.
git-svn-id: https://develop.svn.wordpress.org/trunk@5384 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-04 04:18:59 +00:00
rob1n ef92dec9ba Add Firefox bookmarking instructions. Props abelcheung. fixes #4203
git-svn-id: https://develop.svn.wordpress.org/trunk@5325 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-27 00:55:11 +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