Commit Graph

58 Commits

Author SHA1 Message Date
nacin
7734a07cb2 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: http://svn.automattic.com/wordpress/trunk@14585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 20:45:18 +00:00
nbachiyski
46afe7c285 I18n for custom post type labels. Props demetris, dimadin. Fixes #12968
git-svn-id: http://svn.automattic.com/wordpress/trunk@14571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-11 19:52:50 +00:00
nacin
340acf8263 Don't enqueue unnecessary scripts when the post type doesn't support the editor. fixes #12590, props scribu, _duck.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 14:03:48 +00:00
ryan
9f0db9355a Die if invalid post type is passed. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-01 20:33:03 +00:00
dd32
8136de990c Introduce 'singular_label' for Post Types. Props scribu. See #12214
git-svn-id: http://svn.automattic.com/wordpress/trunk@13101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 08:56:38 +00:00
ryan
9de60f3644 Add a separate show_ui flag for post types. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 17:27:30 +00:00
markjaquith
0f924eee99 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: http://svn.automattic.com/wordpress/trunk@12987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 10:07:57 +00:00
ryan
5922f7e2c4 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: http://svn.automattic.com/wordpress/trunk@12927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 17:37:03 +00:00
ryan
05bf7382ff Merge edit-pages.php into edit.php. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 16:58:36 +00:00
ryan
5316b4fc2d Merge page-new.php into post-new.php. Start abstracting column headers and prefs. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 00:14:27 +00:00
ryan
da89de4958 More custom post type support. Props scribu. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-04 16:58:43 +00:00
azaozz
7927c2f6c6 Pull thumbnail scripts out of Posts screens too. see #10928
git-svn-id: http://svn.automattic.com/wordpress/trunk@12065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-19 21:51:16 +00:00
markjaquith
d7a30e235f First pass on canonical post thumbanils. Admin-side GUI only. Theme functions to follow. see #10928
git-svn-id: http://svn.automattic.com/wordpress/trunk@12007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-07 22:18:09 +00:00
ryan
cc7c443f62 Move screen_meta() to admin header. Add all meta boxes before requiring admin-header.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-11 22:40:16 +00:00
ryan
d457e3d181 Bring back h2 for add/edit post
git-svn-id: http://svn.automattic.com/wordpress/trunk@9221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 00:36:18 +00:00
ryan
e434ec4cef Title changes
git-svn-id: http://svn.automattic.com/wordpress/trunk@8995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-27 06:20:21 +00:00
ryan
de958f418e Menu reorg
git-svn-id: http://svn.automattic.com/wordpress/trunk@8977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-25 19:33:53 +00:00
ryan
d3b414932c Collapse crazyhorse to trunk. Incoming! see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-20 21:42:31 +00:00
westi
7f894ae416 phpdoc for wp-admin. See #7496 props santosj.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-14 06:30:38 +00:00
ryan
c2e5bd7c3b Use get_edit_post_link() instead of hardcoding edit links. Props mdawaffe. fixes #7425
git-svn-id: http://svn.automattic.com/wordpress/trunk@8484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-29 05:22:58 +00:00
ryan
3b7179f50e Add thickbox to pages that use media uploader.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-02 21:46:25 +00:00
ryan
bc07ef1efe Theme preview and thickbox CSS cleanup. Props azaozz. see #5486
git-svn-id: http://svn.automattic.com/wordpress/trunk@7961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-20 17:19:33 +00:00
ryan
123a6091fb Word count from azaozz. see #4807
git-svn-id: http://svn.automattic.com/wordpress/trunk@7854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-29 19:17:23 +00:00
matt
62298aa7c7 Remove drafts from Write page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-14 07:07:46 +00:00
matt
932ffd6ed7 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: http://svn.automattic.com/wordpress/trunk@7181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-07 10:05:54 +00:00
ryan
23a4e81028 Remove bookmarklet stuff from post-new.php. Moving it somewhere else.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-18 20:36:49 +00:00
ryan
6bef16a574 TinyMCE config enhancements from azaozz. fixes #5896 #5888
git-svn-id: http://svn.automattic.com/wordpress/trunk@6894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-18 17:11:12 +00:00
ryan
8d1af802b2 Update post save notifications and redirects
git-svn-id: http://svn.automattic.com/wordpress/trunk@6807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 08:55:17 +00:00
ryan
ce4fb5e015 Move editor js to editor.js. fixes #5799
git-svn-id: http://svn.automattic.com/wordpress/trunk@6770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-09 13:08:28 +00:00
matt
cc18743397 Redirect to edit page with posted blurb as default.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-09 11:21:27 +00:00
ryan
3388050bf9 New image uploader from tellyworth. see #5609
git-svn-id: http://svn.automattic.com/wordpress/trunk@6579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-09 08:14:29 +00:00
ryan
e46b5e6bc2 Port autosave to jquery. Props rmccue. see #3824
git-svn-id: http://svn.automattic.com/wordpress/trunk@6546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 08:46:33 +00:00
matt
ae18e22598 New tag interface, tag auto-suggest while typing. Rough - suggest and parts of JS should probably be refactored. Hat tip: jhodgdon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-03 01:34:11 +00:00
ryan
f56f0f64a4 Load jquery.js instead of interface.js. fixes #5544
git-svn-id: http://svn.automattic.com/wordpress/trunk@6513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-28 19:57:00 +00:00
ryan
2794b34f4a Add some filtering. Props jhodgdon. fixes #5030
git-svn-id: http://svn.automattic.com/wordpress/trunk@6147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-21 15:04:13 +00:00
markjaquith
c8215773ce Fix link to others' drafts from nag. fixes #4912
git-svn-id: http://svn.automattic.com/wordpress/trunk@6038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 18:40:40 +00:00
markjaquith
f396867f60 Show "Post #N" for posts without a title in the nag. Props Viper007Bond. fixes #4849
git-svn-id: http://svn.automattic.com/wordpress/trunk@6037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 18:33:45 +00:00
ryan
321c310717 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@6026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:32:58 +00:00
ryan
e7d71efdd9 Revert jcalendar date picker experiment. Save it for another day. fixes #4641
git-svn-id: http://svn.automattic.com/wordpress/trunk@5808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-17 19:26:03 +00:00
ryan
714f8edd6c jquery data selector for post timestamps. Props tellyworth. fixes #4641
git-svn-id: http://svn.automattic.com/wordpress/trunk@5804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-16 19:22:27 +00:00
markjaquith
a05fcdcf23 Change to "and x more" for nags. see #4446
git-svn-id: http://svn.automattic.com/wordpress/trunk@5749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-24 05:46:08 +00:00
markjaquith
7f44512c5d Introducing post_status="pending". see #4446 and put any initial bug reports on that ticket
git-svn-id: http://svn.automattic.com/wordpress/trunk@5707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 16:24:28 +00:00
rob1n
458b65a2f0 Translate ». see #3401
git-svn-id: http://svn.automattic.com/wordpress/trunk@5676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-11 21:05:50 +00:00
rob1n
48c85562b8 Don't reference old-style "levels," as they apparently used to call them back in the day.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-04 04:18:59 +00:00
rob1n
9843f9df79 Add Firefox bookmarking instructions. Props abelcheung. fixes #4203
git-svn-id: http://svn.automattic.com/wordpress/trunk@5325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-27 00:55:11 +00:00
ryan
c8997ffad9 Reverse logic.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-22 15:30:47 +00:00
ryan
eda9021317 Hold off on menu cleanup until next release. There be dragons.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-18 07:31:29 +00:00
matt
07126127e6 Admin functions cleanup, and change how we do titles and parents in the backend
git-svn-id: http://svn.automattic.com/wordpress/trunk@4478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-18 06:09:48 +00:00
markjaquith
bc0594c5cb Bookmarklet consistency patch by foolswisdom. fixes #3168
git-svn-id: http://svn.automattic.com/wordpress/trunk@4429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-27 22:15:38 +00:00
ryan
c476029674 Set eol style. fixes #3264
git-svn-id: http://svn.automattic.com/wordpress/trunk@4424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-25 22:55:05 +00:00