Ryan Boren
9aa164cfc8
Properly encode the post title. Props koopersmith, nacin. For trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17395 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-05 18:26:46 +00:00
Mark Jaquith
e0f37101f7
Make sure we don't double-add -user or -network suffixes in convert_to_screen(). props SergeyBiryukov. fixes #16348
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17356 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-24 04:16:55 +00:00
Andrew Nacin
acd01861fb
Don't allow the 'Path' column on sites.php to be hidden. see #16322 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17337 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-20 22:09:01 +00:00
Andrew Nacin
2b4674a3b4
Remove AJAX from list tables. first pass. see #16262 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17322 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-16 21:47:24 +00:00
Mark Jaquith
4c70887da7
Append -network or -user suffix in convert_to_screen(). props kawauso. fixes #16238
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17318 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-16 05:38:44 +00:00
Peter Westwood
966477d6f7
Switch _admin_search_query to use $_REQUEST so as to work for no-js searches sent over POST as well as url based searches over GET. See #14927
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17309 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-15 03:40:52 +00:00
Andrew Nacin
96fa9d4b56
Hide the many extraneous meta boxes for pages by default too. see #14212 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17294 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-14 01:02:15 +00:00
Ryan Boren
eba71eb7c0
Bring out the shears.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17228 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-06 04:11:14 +00:00
Andrew Nacin
31285457f2
Small visual improvements to post formats on edit.php. see #16047 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17191 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-31 04:49:27 +00:00
Ryan Boren
ee09d38544
Fix comment reply colspan. Props garyc40. fixes #15876
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17124 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-23 17:21:29 +00:00
Ryan Boren
34ef8c8df9
Translations in title attributes require esc_attr().
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17102 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 17:17:58 +00:00
Ryan Boren
b69af5ae31
Consistently use edit_posts_per_page. Props sorich87. fixes #14135
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17082 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 16:18:13 +00:00
Peter Westwood
f3490db600
Give the screen options Apply button an id so it validates.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17007 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 21:08:37 +00:00
Andrew Nacin
31a1806d2e
Revert [16645]. see #15625 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16964 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 18:50:39 +00:00
scribu
510942bbfb
Limit height only to iframe body. Fixes #15679
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16937 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 10:39:50 +00:00
Ryan Boren
6dc2d07bc4
Pink trailing whites.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16900 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 21:21:50 +00:00
Dion Hulse
3fcf08fe17
Add missing global for r16881 See #15781
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16882 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-12 06:40:52 +00:00
Dion Hulse
81e923a291
Include Javascript Global variables in iframe_header(); Add extra style/script actions which are missing from iframe_header() to bring it inline with admin-header.php. Fixes #15781
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16881 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-12 05:43:35 +00:00
Mark Jaquith
2158fc7445
Backwards compat for plugin use of updated=1. fixes #15660
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16706 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-03 10:59:20 +00:00
scribu
6708e2ea42
Fix compression test 404. Props duck_. Fixes #15496
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16689 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 14:15:25 +00:00
Ryan Boren
36a4508140
Update since phpdoc. Props demetris. fixes #15445
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16660 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 19:24:38 +00:00
Peter Westwood
80c79e5607
Don't show the Post Format if the current theme doesn't support them. Fixes #15625 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16645 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 12:31:27 +00:00
Mark Jaquith
5f5d514b4b
Do not double up on id attribute for submit_button() if id is provided in other attributes param. props duck_. see #15064
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16568 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 16:30:40 +00:00
Andrew Nacin
bc868ac452
Indent a foreach.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16509 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 19:20:32 +00:00
Ryan Boren
4b33a0e9c4
Pinking shears
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16438 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 18:47:34 +00:00
Mark Jaquith
55e0256967
esc_textarea() and application for obvious textarea escaping. props alexkingorg. fixes #15454
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16431 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:12:01 +00:00
scribu
3951871605
Remove drag_drop_help() and plugins_search_help(). Fixes #15451
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16426 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 16:41:26 +00:00
scribu
2b895dda71
Introduce WP_List_Table::get_column_count() and take care of update notice <tr>. Props ocean90 for initial patch. Fixes #15318
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16368 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 18:00:09 +00:00
Andrew Nacin
7912dd4561
Use direct post_title instead of get_the_title() in get_inline_data(). reverts [13079] but adds trim() to solve original bug. fixes #14323 , props filosofo.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16278 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 17:08:05 +00:00
Andrew Nacin
8a63e8ba33
Hide the slugdiv by default for custom post types. Restores behavior toggled in [15555]. see #14212 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16246 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 00:46:05 +00:00
Mark Jaquith
32ac7d22a6
get_post_format_string() to get nice version of a post format slug. Try appending post format as a post-status label. Enclose in square brackets to help it stand out. Remove post format strings filter. If this is going to be standard, it should be standard. see #14746
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16198 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 03:04:13 +00:00
scribu
3944269814
Minor cleanups. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16190 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 18:28:58 +00:00
Peter Westwood
817aa1975c
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: https://develop.svn.wordpress.org/trunk@16175 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 08:07:03 +00:00
scribu
ed884411fe
List-table Class Names: Consistency's Revenge. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16171 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 21:09:27 +00:00
Peter Westwood
c4633bbd54
The big renaming of the list-table class files.
...
See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16128 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 09:19:50 +00:00
Andrew Nacin
0180091a56
Fix nested HTML in submit_button(). fixes #15257 , see #15064 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16097 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 06:14:15 +00:00
Mark Jaquith
d65cdf4ba8
Expand submit_button() capabilities. Replace all (or almost all) manual HTML instances in WP. props sbressler. see #15064
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16061 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 21:56:43 +00:00
Ryan Boren
7f1de33932
Hide more meta boxes by default. fixes #14212
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15976 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 17:14:31 +00:00
Andrew Nacin
2a7cb746de
Introduce require_list_table(), rework get_list_table() calls, split default-list-tables into individual files. see #14579 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15955 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 02:57:43 +00:00
Andrew Nacin
cd50525faa
Don't show the admin bar in the plugin/theme installers. Inserts condition directly into iframe_header(). Allows show_admin_bar() to be called after init by unsetting wp_admin_bar, thus preventing render once those hooks are fired. see #14772 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15938 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 19:49:25 +00:00
Ryan Boren
f2dbc7d273
Fix media dialog keyPress handling. Props mdawaffe. fixes #14394
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15918 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 19:23:00 +00:00
Andrew Nacin
19f0fffed4
Remove debug cruft in [15844].
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15845 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:59:26 +00:00
Andrew Nacin
22ba9295bf
Introduce show_in_menu for register_post_type. Allows post types to be a submenu. Accepts boolean and also a parent base. With help from duck_. fixes #14145 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15844 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:58:02 +00:00
Andrew Nacin
fb4e38b0e7
Pinking shears.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15843 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:48:22 +00:00
scribu
0911aa3e1a
Use submit_button() in more places. See #15064
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15830 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-17 18:24:34 +00:00
scribu
baa3e083c7
Introduce submit_button(). Props markjaquith for initial patch. See #15064
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15810 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 19:58:06 +00:00
Andrew Nacin
2e864d29ad
Pass screen context to favorite_actions filter. props whoismanu, fixes #15117 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15802 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 09:53:04 +00:00
scribu
eb59a85d22
Add WP_List_Table columns before all others. Fixes #15075
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15764 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 09:39:16 +00:00
Ryan Boren
9ee8b20f30
First pass of user admin. Network admin and screen cleanups. see #14696
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15746 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 19:34:18 +00:00
Andrew Nacin
842f61b71e
Apply [15661] to the edit-tags.php screens. fixes #14959 . see #14886 for current_screen.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15664 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-26 09:34:09 +00:00
Andrew Nacin
7639bd04c7
Prevent the $title global from being stomped. Caused by merger of manage_columns_prefs() into screen_meta() in [15653]. see #14952 , see #14776 . The global is apparent cruft as the function doesn't use it.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15662 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-26 09:16:38 +00:00
Andrew Nacin
6aea75f676
Add a post type class to screen icons. props jfarthing84 for initial patch. see #14959 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15661 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-26 08:51:34 +00:00
scribu
861c929165
Column headers revamp:
...
* undeprecate get_column_headers()
* undeprecate get_hidden_columns()
* in WP_List_Table, rename get_column_headers() to get_column_info()
* remove $taxonomy argument from single_row()
* merge manage_columns_prefs() into screen_meta()
Fixes #14952 . Fixes #14776 .
git-svn-id: https://develop.svn.wordpress.org/trunk@15653 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-24 13:35:06 +00:00
Andrew Nacin
9494e4ce7e
Phpdoc argument/@param cleanups. props duck_, see #14783 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15590 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 11:21:11 +00:00
Ryan Boren
22bd5efd46
Hide more meta boxes by default. fixes #14212
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15555 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-31 18:27:59 +00:00
scribu
76ac1c93a8
Introduce get_list_table(). See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15528 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-25 00:51:44 +00:00
scribu
1c4aeef40e
replace $table with $wp_list_table. See #14651
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15519 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-22 11:22:46 +00:00
scribu
b96c92620d
use is_a() instead of is_object() in screen_meta(). See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15518 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-22 01:50:34 +00:00
scribu
c5c084c42f
Small, subtle fixes. See #14596
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15493 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-12 00:15:31 +00:00
scribu
fb9394167f
Ajaxify list-type screens in the admin. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15491 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-11 21:54:51 +00:00
Ryan Boren
01508edfac
Favorite action for network admin. see #14435
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15489 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-02 19:07:03 +00:00
Andrew Nacin
494f898c39
screen_options() for 'show on screen' should look for show_ui post types, not public.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15339 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-27 08:38:06 +00:00
Andrew Nacin
73b2b7c164
Make Categories/Tags columns on edit.php properly aware of post types. Also ensure AJAX add-tag on edit-tags.php is given the post type. fixes #14061 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15336 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-27 01:05:53 +00:00
Ryan Boren
494ee995b5
Use get_current_user() and get_current_user_id() instead of global . Props filofo. see #13934 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15315 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-24 15:01:29 +00:00
Dion Hulse
e263911f0e
Fix typos in r15278. Caused by fat fingers.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15280 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-19 05:48:30 +00:00
Dion Hulse
309a88827b
Coding standards clean-up of admin template.php. No logic changes. Removal of multiple spaces, addition of whitespace, addition of ;, s/"/'/g where appropriate, case changes of constants, removal of $output = '..'; echo $output.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15278 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-19 05:32:01 +00:00
Ryan Boren
9968a51d0d
Differentiate between edit and new via an action field for the screen. Fix favorite_actions(). fixes #13876
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15253 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 19:33:04 +00:00
Andrew Nacin
95256b14b9
Don't use deprecated functions. props koopersmith, fixes #13854 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15242 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-13 06:20:51 +00:00
Andrew Nacin
825032bbf6
Provide context for screen options plural labels. fixes #13369 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15201 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 20:56:14 +00:00
Andrew Nacin
a052939dfc
Revert accidental commit. see [15199], see #13369
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15200 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 20:48:04 +00:00
Andrew Nacin
0ed6a9bbb2
Valid HTML for wp-signup. fixes #13369 , props ocean90, snumb130.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15199 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 20:44:54 +00:00
Peter Westwood
537fcf4970
Improve phpDoc for add_settings_section. Fixes #13801 props frankieroberto.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15180 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-09 20:21:43 +00:00
Ryan Boren
9537ce264c
Set the screen for add-tag ajax requests. see #13783
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15178 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-09 16:52:25 +00:00
Ryan Boren
d599a6ca65
Make set_current_screen() taxonomy aware. Use current_screen when setting up table headers for edit-tags.php. see #13783
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15175 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-08 15:34:42 +00:00
Andrew Nacin
6f57a1a3ec
s/echos/echoes/ in phpdoc. props demetris, fixes #13742 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15148 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-06 05:16:32 +00:00
Mark Jaquith
b8f92556c3
Fix the Author links from Edit Pages screen. props duck_. fixes #13665
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15085 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-01 00:26:49 +00:00
Mark Jaquith
cb6f66977e
Do proper caps check when processing bulk edited posts, and hide the checkbox on the Page edit page for users who lack permissions. props ocean90
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15032 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 15:49:13 +00:00
Andrew Nacin
d70faa9a43
Fix nonce check for updating custom fields. fixes #13586 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15028 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 04:09:08 +00:00
Andrew Nacin
7de9be3c08
Separate out multiple _ajax_nonce fields on post forms. Yay, validation. fixes #13383 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14933 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 04:55:21 +00:00
Ryan Boren
cd201ff6b2
Post and page help. see #13467
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14929 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 03:36:04 +00:00
Ryan Boren
aec821c651
Strip trailing whitespace
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14924 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 02:42:15 +00:00
Andrew Nacin
1bedd5e11a
Generalize some strings. Also tidy the discussions meta box, which will stay as "page" as that is referring to the HTML page, not post/page/book etc. see #13539
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14904 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 19:47:22 +00:00
Ryan Boren
51e11b64d6
Allow searching custom post types when attaching media. Props markoheijnen. fixes #13229
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14869 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 02:18:07 +00:00
Peter Westwood
f8bb337e42
phpDoc updates.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14859 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 21:28:07 +00:00
Ryan Boren
b97b898d80
Fix update label for link categories. Props duck_. fixes #13515
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14841 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 16:09:52 +00:00
Dion Hulse
b93faecc52
Introduce a 'post_updated' action, Fires when a post is updated, Post ID, Current and Previous post objects are passed. Updatewp_check_for_changed_slugs() to use new hook. See #12473
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14814 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-23 07:49:21 +00:00
Peter Westwood
a6e3d28d3e
Restore some more "Show on screen" headers. See #13393 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14768 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-20 21:29:45 +00:00
Ryan Boren
9fef68880d
Meta box and screen option phpdoc and cleanup. Props hakre. fixes #13017
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14752 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-19 19:11:33 +00:00
Ryan Boren
51518f24be
Allow removing all categories via quick edit. Props duck_. fixes #13397
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14724 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-18 15:08:05 +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
Peter Westwood
a441108f91
Fix the column headers title override to use a special name rather than one we use elsewhere.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14675 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 20:57:17 +00:00
Andrew Nacin
23d6bf302c
More validation fixes. Escape some preview=true URLs, also clean up tags in edit-attachment-rows. Slight CSS tweak to match presentation to the formerly invalid HTML. props zeo, see #13383 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14673 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 20:36:49 +00:00
Andrew Nacin
47136b319f
Introduce _ex(), a hybrid between _e() and _x() -- translate with context, then echo. props westi, see #13395 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14647 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 21:46:25 +00:00
Peter Westwood
bbc1edced6
Try and tidy up the show_screen logic a little.
...
Implement a better override of the column header.
See #13393 .
git-svn-id: https://develop.svn.wordpress.org/trunk@14637 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 16:39:56 +00:00
Peter Westwood
10abe48571
Remove unnecessary filters and provide for translation context instead. Fixes #13393 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14636 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 16:12:46 +00:00
Peter Westwood
f73384ffe8
Only show the column preferences if we have columns. See #13393 props duck_.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14635 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 15:49:20 +00:00
Peter Westwood
1302562718
Add phpDoc for convert_to_screen() and get_column_headers().
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14634 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 15:47:14 +00:00
Nikolay Bachiyski
599c19481e
I18n for custom taxonomies. Fixes #13357
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14614 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 00:34:04 +00:00
Andrew Nacin
4f689c8309
Move taxonomy object properties for capabilities into a cap object. Capabilities can be specified via ['capabilities'] (an array keyed by the generic cap name) for register_taxonomy. fixes #13358 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14593 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-13 04:10:17 +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
Peter Westwood
6847f8e171
Fix typos. Props Utkarsh.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14524 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-09 09:59:43 +00:00
Andrew Nacin
c2c58d26d8
Show meta boxes when no JS, as we don't have screen options to turn them on. props filosofo, fixes #13253 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14459 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 22:28:51 +00:00
Nikolay Bachiyski
abf6b82a23
Differentiate spam strings by subject: comments, sites, and users. Props dimadin. Fixes #13199
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14407 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:37:07 +00:00
Ryan Boren
d783952469
Strip trailing whites.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14404 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:26:11 +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
Andrew Nacin
5a46795d60
Nav menu UI updates. props koopersmith, see #13134 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14287 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 03:43:39 +00:00
Ryan Boren
02bda72572
Fix back compat for hidden columns and layout screen options. Change meta baox order to be per user, rather than per blog. This breaks back compat for box order but the previous behavior was wrong. see #13032
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14235 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-25 15:59:03 +00:00
Dion Hulse
a5c4bcabe0
Remove dead browse happy code. Has not been used for 18months in core admin. Props ocean90. Fixes #4833
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14233 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-25 08:40:37 +00:00
Dion Hulse
9bffb132ef
Remove Horizontal scrollbars on Thickbox iframes. Props ocean90. Fixes #13062
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14210 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-24 02:59:41 +00:00
Joseph Scott
c97705cd49
- don't pass user id to list_users check
...
- only link the username if the edit_user cap check passes
see #13074
git-svn-id: https://develop.svn.wordpress.org/trunk@14191 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-22 22:53:44 +00:00
Joseph Scott
cae7b3b275
New 'list_users' cap to provide more controls over listing users vs. editing
...
users.
Apply this new cap to the 'Authors & Users' menu item and 'Users' page in
wp-admin.
Bump db version to 14139 to pick up the new cap.
See #13074
git-svn-id: https://develop.svn.wordpress.org/trunk@14189 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-22 19:48:13 +00:00
Ryan Boren
0e3d10f5ac
Separate user deletion and removal. Add promote_users cap so that multisite Admins (not supes) can promote. see #13074
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14176 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-21 17:43:53 +00:00
Nikolay Bachiyski
81d0b63fde
Don't use missing $taxonomy in screen_options(). $tax->name has the taxonomy slug/name we need
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14168 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-20 15:13:27 +00:00
Andrew Nacin
c3ec0a0c9c
Change the 'per page' screen options strings. fixes #12872 , props caesarsgrunt.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14157 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 17:15:58 +00:00
Andrew Nacin
1061d2e414
Remove dead code. props azaozz, see #11882 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14156 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 16:49:18 +00:00
Dion Hulse
04bdc64bc9
Toggle between "Show Details" and "Hide Details" on GUU; Add no-js CSS class support to generic iframe header. Props ocean90. Fixes #12919
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14123 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-17 12:27:13 +00:00
Ryan Boren
93e7f711ad
Change meta-box-hidden to metaboxhidden to adjust for new key sanitization rules and maintain the same key name as 2.9. fixes #13032
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14113 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 17:44:38 +00:00
Andrew Nacin
e9ce1f2b54
Add $force_delete to get_delete_post_link(). Remove unnecessary argument. props scribu, fixes #12708
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14099 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 02:29:10 +00:00
Andrew Nacin
41ed843027
Be back compat with the contextual_help filter.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14091 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-15 16:09:56 +00:00
Ryan Boren
977731745c
Map 'index' to 'dashboard' for current screen. Fixes contextual help for the dashboard.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14089 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-14 21:55:09 +00:00
Dion Hulse
5c178eeef7
Prevent the Slug metabox from being forever hidden when showing all metaboxes. Fixes #12088
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14065 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-11 02:41:40 +00:00
Andrew Nacin
f6e054f892
Quick edit taxonomy label. props scribu, keighl, fixes #12796
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14054 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-10 11:54:33 +00:00
Andrew Nacin
8fa7ed4573
Remove references to the old .fade class for message divs.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14039 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-08 03:36:52 +00:00
Andrew Nacin
fb9e47a5a9
Use correct var in inline_edit_row(). fixes #12887 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14026 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-07 06:01:29 +00:00
Andrew Nacin
f11175d631
Check for post type support in quick/bulk edit. props caesarsgrunt for some of the commit. see #12869
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14025 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-07 05:08:37 +00:00
Andrew Nacin
2bd947fa9c
New super admin icons for the blue/classic color scheme from Ben Dunkle. Remove temp icons, implement the new ones. fixes #12374 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14024 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-07 03:54:43 +00:00
Andrew Nacin
9e5a7a14f6
Have quick/bulk edit styled per existence of hierarchical taxonomies for that post type. Reintroduce classes that are specific for post types. fixes #12883 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14023 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-07 02:58:23 +00:00
Ron Rennick
c439a5b81c
fix caps check on delete user link, props ocean90, see #12793
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13931 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 03:40:49 +00:00
Andrew Nacin
e34ca97ae0
Change @since 3.0 to @since 3.0.0.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13827 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 19:13:36 +00:00
Dion Hulse
6f62362b96
Use correct cap checks and nonces for custom post_type's
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13786 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-21 02:29:11 +00:00
Dion Hulse
9b70561913
Fix Quick edit for non-page Hierarchical post_types. See #12643
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13779 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-20 03:05:25 +00:00
Andrew Nacin
ddc506f01c
Remove unnecessary ternary operators such as (expr) ? true : false.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13769 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 21:15:00 +00:00
Andrew Nacin
c44cd2b999
Correct a copy-paste error in wp_manage_posts_columns().
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13759 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 22:34:58 +00:00
Andrew Nacin
fa0be92d46
Add deprecated notices for Options > Misc settings registrations. see #12437
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13749 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 17:32:27 +00:00
Dion Hulse
17d50834af
Remove Options -> Misc entirely as core as there are no longer options left there. Plugin registered options will be redirected to the General settings page. Fixes #12437
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13745 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 07:50:43 +00:00
Ryan Boren
e61755c853
Trim trailing whitespace
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13733 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 16:27:25 +00:00
Andrew Nacin
8d0a3589c9
Use disabled() form helper. fixes #12581
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13661 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 17:12:23 +00:00
Ryan Boren
e333b6925a
Use page icon for page menus. fixes #12583
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13659 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 16:54:47 +00:00
Andrew Nacin
90182075c0
Introduce the disabled() form helper. Move selected() and checked() out of wp-admin and into full scope. see #12581
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13658 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 16:34:27 +00:00
Dion Hulse
969ed4c5f8
Fix inline taxonomy Quick Edit. Props mdawaffe. See #12553
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13624 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-09 10:23:03 +00:00
Ryan Boren
7850523e62
Update ms-sites UI. Props ocean90. see #12460
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13609 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 18:31:10 +00:00
Ryan Boren
8aea5863d7
Fix submenus for post types. Props TobiasBg. see #12453
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13579 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-04 00:15:55 +00:00
Ryan Boren
1604a2e58b
Improve user listing performance. Props miqrogroove. see #11914
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13576 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 19:08:30 +00:00
Ryan Boren
04899b5212
Make favorite actions custom post type aware. Props ptahdunbar. fixes #12433
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13536 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 16:03:27 +00:00
Ryan Boren
8ef5d73550
Custom taxonomy support for inline edit. Props prettyboymp. see #9674
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13535 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 15:48:01 +00:00
Andrew Nacin
1cc5b31283
s/onClick/onclick/. props TobiasBg fixes #12429
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13510 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 19:39:06 +00:00
Dion Hulse
28f4212cd2
remove LOWER() in Order by clause for Post Meta. Allows MySQL to use the indexes properly. Props Denis-de-Bernardy. Fixes #11741
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13503 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 13:15:54 +00:00