ryan
|
66388c185e
|
Don't fallback to default post type or taxonomy if given an invalid post type or taxonomy. Use typenow as the canonical post type. Props nacin. see #19131
git-svn-id: http://svn.automattic.com/wordpress/trunk@19321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-11-17 18:01:08 +00:00 |
ryan
|
91bf9d9bae
|
Don't show the view link for a future post unless the current user has the permissions to edit the post. Treat future posts as a preview case. Props ocean90. fixes #18894
git-svn-id: http://svn.automattic.com/wordpress/trunk@19213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-11-08 14:24:14 +00:00 |
nacin
|
84280671d4
|
Don't use $post_type global in the posts list table. props scribu, see #18475.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-11-06 21:14:27 +00:00 |
ryan
|
62afab8db3
|
Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@19054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-10-24 19:13:23 +00:00 |
nacin
|
f6368c50c4
|
Use get_current_screen() rather than a $current_screen global reference. Remove unused global reference. see #14886.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-10-23 18:01:33 +00:00 |
nacin
|
43eae59235
|
Translated strings in attributes require esc_attr(). s/_e/esc_attr_e/g
git-svn-id: http://svn.automattic.com/wordpress/trunk@19028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-10-20 15:04:46 +00:00 |
duck_
|
16daac44ec
|
Show the current post format in quick edit even if it's not supported. Props nacin, fixes #18083.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-10-19 17:48:07 +00:00 |
markjaquith
|
aa64ec5d1d
|
Use the correct capability check for taxonomies in Quick Edit. props lancewillett. fixes #18551
git-svn-id: http://svn.automattic.com/wordpress/trunk@19010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-10-19 17:08:57 +00:00 |
nacin
|
3440dbb182
|
Add filter for the args into wp_dropdown_pages() in the page attributes box. Give the list_pages filter the context of the post object. fixes #8592 for 3.3.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-09-29 21:21:15 +00:00 |
duck_
|
698957e40e
|
Add post formats to quick edit and bulk edit. Fixes #18083.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-09-19 17:02:58 +00:00 |
nacin
|
0179ece052
|
Use get_post_class() in the posts list table. props brandondove, fixes #18516.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-09-18 21:11:28 +00:00 |
nacin
|
cdb9e49b8c
|
Properly handle display of Order, Template, and Parent page attributes in Quick/Bulk Edit. props duck_, fixes #18352.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-11 03:02:01 +00:00 |
markjaquith
|
856c2742ca
|
Fix mistaken use of publicly_queryable when public was what was intended. props nacin. fixes #17040
git-svn-id: http://svn.automattic.com/wordpress/trunk@18234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-06-10 17:02:03 +00:00 |
azaozz
|
31e257b3c9
|
Fix quick edit error message styling, props solarissmoke, fixes #16912, fixes #14317
Fix top margin in bulk edit posts
git-svn-id: http://svn.automattic.com/wordpress/trunk@18158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-06-06 01:14:26 +00:00 |
ryan
|
8192d0dae8
|
Validation fixes. Props ocean90, peaceablewhale. see #17364
git-svn-id: http://svn.automattic.com/wordpress/trunk@18010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-05-23 23:33:30 +00:00 |
nacin
|
8abc94a139
|
Don't show broken 'View' links when a CPT isn't publicly queryable. fixes #13301, props johnbillion.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-05-12 06:04:47 +00:00 |
ryan
|
04487fc268
|
Constructor cleanup. Props ocean90. fixes #16768
git-svn-id: http://svn.automattic.com/wordpress/trunk@17771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-04-29 20:05:12 +00:00 |
nacin
|
5f29ef7e7b
|
Add the filter in display_rows, rather than _display_rows.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-04-22 18:33:53 +00:00 |
nacin
|
26989db5d4
|
Remove vestige code, prevent over-escaping of post titles when using Quick Edit for hierarchical post types. fixes #17218.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-04-22 18:20:49 +00:00 |
nacin
|
19efd03fe8
|
Use only an ID, no name, on the 'Filter' buttons on list screens. see #16345.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-01-22 18:25:32 +00:00 |
nacin
|
37075f7f71
|
Remove AJAX from list tables. first pass. see #16262.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-01-16 21:47:24 +00:00 |
markjaquith
|
bf473f3545
|
Show the author dropdown in quick edit even when there is only one contributor-or-higher user and the post belongs to someone who no longer has contributor-or-higher access. fixes #14420
git-svn-id: http://svn.automattic.com/wordpress/trunk@17284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-01-13 07:14:12 +00:00 |
nacin
|
d1c2b06a7e
|
Use is_post_type_hierarchical() instead of hierarchical_display. fixes #16213.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-01-13 01:21:30 +00:00 |
nacin
|
9c1f2901cd
|
Revert [17275] and [17276]. The rabbit hole is too deep. see #16166.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-01-13 00:50:35 +00:00 |
nacin
|
68c994d72b
|
Move edit.php bulk actions code to a handler in the list table class. see #16166.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-01-13 00:34:18 +00:00 |
nacin
|
1322474b22
|
div.alignleft.actions needs to wrap the 'Empty Trash' button too, otherwise they're not aligned. see #15580.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-31 23:56:38 +00:00 |
ryan
|
0630489d88
|
Issue manage_pages_custom_column for hierarchical post types. Props mrwok, duck_. fixes #16000
git-svn-id: http://svn.automattic.com/wordpress/trunk@17160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-28 19:34:31 +00:00 |
nacin
|
53895d9778
|
Don't include trash posts in the sticky posts count. props garyc40, fixes #15934.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-21 14:58:17 +00:00 |
ryan
|
eb9fa27602
|
Add 'who' arg to wp_dropdown_users() and get_users(). Add' hide_if_only_one_author' argument to get_users(). Query only authors (user level greater than 0) when who => author is passed. Query only authors for author meta box and quick edit dropdowns. Props scribu. fixes #15871
git-svn-id: http://svn.automattic.com/wordpress/trunk@17088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-20 17:25:39 +00:00 |
nacin
|
a189f21c45
|
Replace check_permissions() with ajax_user_can(). New method returns true/false to current_user_can(), which we then handle in admin ajax. see #15326.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-16 09:18:28 +00:00 |
westi
|
c9809f18f3
|
Re-instate this code so AJAX still works
git-svn-id: http://svn.automattic.com/wordpress/trunk@16966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-15 19:04:31 +00:00 |
westi
|
d70286d3a6
|
Move post_type var setup back into edit.php and reinstate the cap check. See #15326
git-svn-id: http://svn.automattic.com/wordpress/trunk@16965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-15 18:58:05 +00:00 |
scribu
|
0f6329b74f
|
Run parent title through 'the_title'. Props garyc40. Fixes #13968
git-svn-id: http://svn.automattic.com/wordpress/trunk@16908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-14 10:22:06 +00:00 |
nacin
|
d9b4dcf576
|
String fixes. props demetris. fixes #15688.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-05 14:31:18 +00:00 |
nacin
|
61a6e261c5
|
Revert [15742]. Custom post types and sticky posts don't mix. fixes #12702.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-02 03:39:26 +00:00 |
ryan
|
3f72e340d6
|
Update since phpdoc. Props demetris. fixes #15445
git-svn-id: http://svn.automattic.com/wordpress/trunk@16660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-01 19:24:38 +00:00 |
scribu
|
3014920524
|
Make date columns first sort in descending order. See #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@16593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-26 02:03:02 +00:00 |
ryan
|
847499e531
|
Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@16438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-17 18:47:34 +00:00 |
scribu
|
e2be537941
|
Don't show author column if the post type doesn't support it. Fixes #15425
git-svn-id: http://svn.automattic.com/wordpress/trunk@16376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-14 20:35:42 +00:00 |
scribu
|
a41a7b5b5b
|
Introduce WP_List_Table::get_column_count() and take care of update notice <tr>. Props ocean90 for initial patch. Fixes #15318
git-svn-id: http://svn.automattic.com/wordpress/trunk@16368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-14 18:00:09 +00:00 |
nacin
|
e8af3af849
|
Use cap->edit_post in WP_Posts_List_Table. see #14122.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-13 00:13:08 +00:00 |
westi
|
435c4c2dbf
|
Revert most of [16332] - renaming and deprecating a commonly used function is silly. Improving it is good. Fixes #15407.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-12 21:53:15 +00:00 |
scribu
|
98cda5bd65
|
Replace get_the_category() with get_the_categories(). Props filosofo. Fixes #15407
git-svn-id: http://svn.automattic.com/wordpress/trunk@16332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-12 20:05:37 +00:00 |
markjaquith
|
75d045de8e
|
Add checks for WP_Error. props ptahdunbar. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-12 04:10:56 +00:00 |
scribu
|
3d8f4b6b2e
|
Use get_current_screen() in list table classes. Fixes #15338
git-svn-id: http://svn.automattic.com/wordpress/trunk@16235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-08 15:43:44 +00:00 |
scribu
|
fa4ea77657
|
Make post column hooks consistent. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-05 21:16:46 +00:00 |
scribu
|
c0b067fcf5
|
remove leading <li> from get_views() and add it later. Fixes #15321
git-svn-id: http://svn.automattic.com/wordpress/trunk@16205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-05 14:34:09 +00:00 |
markjaquith
|
f1a30e2dd5
|
format-FOO classes on post edit row TR tags. props deanjrobinson. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-05 07:09:13 +00:00 |
scribu
|
0bfee7db48
|
Rename property _screen to screen. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-04 21:02:13 +00:00 |
scribu
|
c5a9fd309d
|
Default to get_current_screen() in list table classes. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-04 15:00:55 +00:00 |
westi
|
5e90c5d1c3
|
Revert [16171] and [16172] - The class names were fine as they were and the MultiSite classes stand out more with the original naming.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-04 08:07:03 +00:00 |
scribu
|
836ec33dca
|
List-table Class Names: Consistency's Revenge. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-03 21:09:27 +00:00 |
ryan
|
70295ae440
|
edit.php markup fixes. Props wahgnube. fixes #15260
git-svn-id: http://svn.automattic.com/wordpress/trunk@16134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-01 16:24:48 +00:00 |
westi
|
ad92d629d6
|
The big renaming of the list-table class files.
See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-01 09:19:50 +00:00 |