Andrew Nacin
902314ad3c
No AYS or autosave for attachments on post.php. Reverts part of [22725]. fixes #22491 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@22858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-27 02:02:32 +00:00
Andrew Nacin
f26102a248
Redirect post-new.php?post_type=attachment to media-new.php. see #22491 , #22083 , #21391 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@22777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-21 17:40:53 +00:00
Andrew Ozz
0e38402629
Don't load autosave.js on the attachment editing screen, add simple AYS on unload if there are changes, props helenyhou, fixes #22491
...
git-svn-id: http://core.svn.wordpress.org/trunk@22725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-20 19:46:38 +00:00
Ryan Boren
a550a6d489
Use the create_posts capability in more places.
...
In get_post_type_capabilities(), make sure create_posts reflects customizations to the edit_posts capability when create_posts is not specifically set.
git-svn-id: http://core.svn.wordpress.org/trunk@22291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-24 22:15:43 +00:00
ryan
27630a4286
Schedule auto-draft deletion from post-new.php instead of from admin.php. This provides better throttling for large multisite installs and reduces the risk of a delete avalanche.
...
fixes #19663
git-svn-id: http://svn.automattic.com/wordpress/trunk@20453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-12 18:49:48 +00:00
ryan
e3b46b25d3
Lose EOF ?>. Clean up EOF newlines. fixes #12307
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 17:01:11 +00:00
nacin
974108d57c
Select the submenu item for post-new.php when using show_in_menu = 'some-parent-file' for post types. Continue to select the post-new.php submenu item if it has been separately added with add_submenu_page(). fixes #19125 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 20:45:23 +00:00
nacin
5e69bd0caf
Set $parent_file for post-new.php when show_in_menu is a file. Provides for correct top-level highlighting. $submenu_file remains set to expect a post-new.php menu. see #19125 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 15:35:57 +00:00
nacin
9cb6e158fc
Switch from Panel/SubPanel to Screen in inline documentation and Codex links. props michaelh, fixes #17265 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 15:24:49 +00:00
ryan
de0188c661
Die if user doesn't have caps for the post type. Props duck_. fixes #15259
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 16:28:35 +00:00
ryan
f0076eed1c
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: http://svn.automattic.com/wordpress/trunk@14713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-17 16:39:36 +00:00
nacin
6d6532bfa1
Use show_ui instead of public flag to check whether the post type uses post-new and edit.php. see #13403 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 20:49:28 +00:00
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