Ryan Boren
|
1c232307a0
|
Help for edit.php. see #13467
git-svn-id: https://develop.svn.wordpress.org/trunk@14855 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-24 20:46:27 +00:00 |
Ryan Boren
|
cc560f3877
|
Don't show view switcher for hierarhical post types. They don't support it yet.
git-svn-id: https://develop.svn.wordpress.org/trunk@14843 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-24 17:17:24 +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
|
265a0fedd2
|
Align default items shown in edit.php. props ocean90, fixes #13312.
git-svn-id: https://develop.svn.wordpress.org/trunk@14627 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-14 08:11:22 +00:00 |
Andrew Nacin
|
df111e4021
|
Use 'Posts', 'Pages', and corresponding custom post type names as the edit.php title. fixes #12968, fixes #11274.
git-svn-id: https://develop.svn.wordpress.org/trunk@14616 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-14 01:45:30 +00:00 |
Andrew Nacin
|
490a0a99cd
|
More typos. see #13358.
git-svn-id: https://develop.svn.wordpress.org/trunk@14588 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-12 21:03:33 +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 |
Ryan Boren
|
57a5a11660
|
Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14374 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-03 18:16:22 +00:00 |
Ryan Boren
|
7fcda10d46
|
Escape links by default. Props alexkingorg. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14347 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-02 22:53:59 +00:00 |
Nikolay Bachiyski
|
0cab071f77
|
Trash should always be in titlecase for consistency
git-svn-id: https://develop.svn.wordpress.org/trunk@14167 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-20 14:54:36 +00:00 |
Andrew Nacin
|
ec4f5b83bf
|
Use relative paths when including files, avoiding include_path. fixes #12594, props sorich87.
git-svn-id: https://develop.svn.wordpress.org/trunk@14139 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-18 06:14:45 +00:00 |
Andrew Nacin
|
ed8970fe66
|
Don't remove a category filter after performing an action on edit.php. props garyc40, fixes #11587
git-svn-id: https://develop.svn.wordpress.org/trunk@13987 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-04 06:37:10 +00:00 |
Andrew Nacin
|
ebd39b1233
|
Have get_search_query() escape by default, like it's echoing counterpart the_search_query(). see #12780
git-svn-id: https://develop.svn.wordpress.org/trunk@13978 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-03 23:38:38 +00:00 |
Andrew Nacin
|
066c4893a1
|
Fix "Mine" posts link on edit.php. Adds post_type to URL, and hides auto-drafts from count. props rovo89, fixes #12692.
git-svn-id: https://develop.svn.wordpress.org/trunk@13957 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-03 05:19:39 +00:00 |
Mark Jaquith
|
6d32e21468
|
Use correct post type label in a few key places.
git-svn-id: https://develop.svn.wordpress.org/trunk@13916 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-01 20:14:26 +00:00 |
Dion Hulse
|
c161ae3d7d
|
Use $ptype_obj->edit_type_cap instead of 'edit_posts' for custom post_type menu's & edit.php access. Allows for a user to have the capability to edit a post_type irrespective of their Posts access. Props rovo89. Fixes #12691
git-svn-id: https://develop.svn.wordpress.org/trunk@13841 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-27 06:40:59 +00:00 |
Andrew Nacin
|
dd306def81
|
Remove redundant isset() and empty() checks.
git-svn-id: https://develop.svn.wordpress.org/trunk@13770 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-19 21:29:21 +00:00 |
Dion Hulse
|
0b6f00c0c1
|
Fix paging links "Displaying x–y of z" for Pages. Props Utkarsh. Fixes #12552
git-svn-id: https://develop.svn.wordpress.org/trunk@13643 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-10 08:41:09 +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
|
1dfa7cea6e
|
Move 'restrict_manage_posts' out of category check. Props jfarthing84. Fixes #12310
git-svn-id: https://develop.svn.wordpress.org/trunk@13273 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-21 01:33:35 +00:00 |
Andrew Nacin
|
5d808fce86
|
Use admin_url() for images in wp-admin, to allow for filtering. Props mdawaffe, see #12300
git-svn-id: https://develop.svn.wordpress.org/trunk@13256 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-20 21:09:49 +00:00 |
Ryan Boren
|
f17505ed9f
|
Don't include internal post types in the total. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13198 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-18 20:01:10 +00:00 |
Ryan Boren
|
663ab7e478
|
Flag post statuses as public, private, protected, or internal. Add flags for showing the type in the admin all query and the admin status list. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13172 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-16 21:13:44 +00:00 |
Andrew Nacin
|
8be6c296b1
|
Consistently hide bulk actions, filters, and subpage links on admin panels when there are no items to show. Fixes #12086
git-svn-id: https://develop.svn.wordpress.org/trunk@13100 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 08:49:27 +00:00 |
Ryan Boren
|
68db07fb9b
|
Add more visibility args to post status registration. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12994 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-06 17:46:00 +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 |
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
|
b0898268c3
|
Include the post type, or else clicking All from pages will give you "all POSTS"
git-svn-id: https://develop.svn.wordpress.org/trunk@12819 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-24 20:33:45 +00:00 |
Ryan Boren
|
2e46e81309
|
i18n fixes. Props nbachiyski. fixes #11954
git-svn-id: https://develop.svn.wordpress.org/trunk@12789 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-21 21:37:43 +00:00 |
Ryan Boren
|
efb7966619
|
Update trash and right now links for pages. fixes #11958
git-svn-id: https://develop.svn.wordpress.org/trunk@12783 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-21 06:53:33 +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
|
105573a2f9
|
register_post_type(). see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12719 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-13 18:49:56 +00:00 |
Ryan Boren
|
0e4bc929a1
|
Make wp_edit_posts_query() more post_type aware. Use array calling style. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12706 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-12 15:23:10 +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
|
060d9185e6
|
Remove unused .fade CSS class, props nacin, fixes #11628
git-svn-id: https://develop.svn.wordpress.org/trunk@12546 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-26 09:00:58 +00:00 |
Peter Westwood
|
fafe6e5f01
|
Fix notice on edit posts page when logged in as a user without the 'edit_others_posts' capability.
git-svn-id: https://develop.svn.wordpress.org/trunk@12390 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-13 13:01:30 +00:00 |
Ryan Boren
|
d6003d7fa6
|
Standardize on 'Undo'. Props caesarsgrunt. fixes #11299
git-svn-id: https://develop.svn.wordpress.org/trunk@12308 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-01 20:00:33 +00:00 |
Ryan Boren
|
42a3082c21
|
Add context to strings. Props nbachiyski. fixes #10738
git-svn-id: https://develop.svn.wordpress.org/trunk@12231 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-11-19 22:49:16 +00:00 |
Andrew Ozz
|
a881ca3321
|
Fix notice in post.php, props sirzooro, fixes #11132
git-svn-id: https://develop.svn.wordpress.org/trunk@12184 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-11-13 07:11:46 +00:00 |
Andrew Ozz
|
0093a3a989
|
Remove all instances of "Trash" from the UI when Trash is disabled, replace trash actions with "Delete permanently", props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12162 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-11-10 10:38:19 +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
|
1011e0cf58
|
Add "View trash" link to the notice after moving to the trash
git-svn-id: https://develop.svn.wordpress.org/trunk@11952 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-09-19 01:06:17 +00:00 |
Ryan Boren
|
43c201d458
|
Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11930 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-09-14 14:03:32 +00:00 |
Andrew Ozz
|
bb7c8d7b4b
|
Show My Posts as default view on the Edit Posts screen for users without 'edit_others_posts' cap.
git-svn-id: https://develop.svn.wordpress.org/trunk@11843 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-08-19 22:37:51 +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
|
7dcba3d22e
|
Notice fixes, props mrmist, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11779 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-08-06 00:40:39 +00:00 |
Andrew Ozz
|
9376d20e68
|
Show Empty Trash button only when the user has cap. props mrmist, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11778 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-08-05 23:50:29 +00:00 |
Ryan Boren
|
7b8c4df9bc
|
Add some CYA cap checks.
git-svn-id: https://develop.svn.wordpress.org/trunk@11763 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-08-01 21:58:59 +00:00 |