Ryan Boren
51879abf56
Export filtering. Props duck_. fixes #15197
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16652 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 17:21:58 +00:00
Ryan Boren
ca60ed1d07
Don’t nag to Change Permalinks if permalink structure is defined. Props demetris. fixes #13918
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16651 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 17:16:22 +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
Nikolay Bachiyski
508084aba6
Add another pair of parentheses, so that the right-hand win_is_writable() isn't always called. Fixes #15616
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16635 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 21:41:57 +00:00
Nikolay Bachiyski
d79653915b
Run the iis7_supports_permalinks() check first
...
* It's cheapest, most of the others involve disk operations
* Doesn't go through win_is_writable(), which can't avoid relying on the @ operator
git-svn-id: https://develop.svn.wordpress.org/trunk@16634 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 20:50:59 +00:00
Pete Mall
4331aa9663
Remove update notifications from site-themes. See #14897
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16629 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 20:31:49 +00:00
Nikolay Bachiyski
757aeb2121
Rename the $rm variable so that the logic in win_is_writable() makes more sense
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16623 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 19:57:39 +00:00
Nikolay Bachiyski
8a45977efc
Proper spacing in win_is_writable(), according to the coding standards
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16622 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 19:13:27 +00:00
Nikolay Bachiyski
17ad180ca0
COonvert spaces to tabs
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16621 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 19:11:09 +00:00
Pete Mall
04b78e6ab2
Remove theme udpate notification from site admin for multisite installs.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16620 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 03:03:40 +00:00
scribu
907353550e
Get rid of in favor of . Fixes #15607 . See #15580
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16617 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 20:15:04 +00:00
Ryan Boren
b15476c5fd
Remove unnecessary addslashes. Props duck_. fixes #15325
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16608 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 14:40:43 +00:00
Peter Westwood
d36b682a59
Make the list of actions that can be performed on a site in the User List in Network admin filterable.
...
Add classes for all core site status types to the view url.
Move the CSS to a css file rather than including it inline.
See #15558
git-svn-id: https://develop.svn.wordpress.org/trunk@16607 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 13:31:42 +00:00
scribu
90109c1aea
Set get_users() as a replacement to get_editable_user_ids() and friends. See #14572
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16605 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 05:39:39 +00:00
scribu
5c78a0ff01
Make bottom admin pagination scroll to the top after rows are updated. See #15580
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16602 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-28 19:05:12 +00:00
scribu
22f5bc004f
Fix problems with hidden columns on network users screen. Props ocean90. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16601 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-28 17:39:44 +00:00
scribu
5e2c697088
Update get_*_columns() method docs. See #15580
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16594 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-26 09:12:38 +00:00
scribu
507547af83
Make date columns first sort in descending order. See #15580
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16593 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-26 02:03:02 +00:00
scribu
2116903ae6
Make comment content column unsortable. See #15580
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16588 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-25 18:45:28 +00:00
scribu
9de282e670
Check public flag instead of query_var to decide if counts should be linked. See #15573
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16579 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-25 01:39:34 +00:00
scribu
853d2537c7
Don't link post counts if taxonomy isn't queryable. Fixes #15573
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16578 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 23:29:13 +00:00
Mark Jaquith
012da48a0a
Improve the wording of the file upload security message. props janeforshort. fixes #13550
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16577 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 20:45:21 +00:00
Pete Mall
21955a7e8c
Use get_user_count() in network admin users. Fixes #15567
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16574 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 20:03:28 +00:00
Pete Mall
7f3b087f38
Hide posts column for site-users. Props ocean90, see #15558
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16573 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 19:51:36 +00:00
Pete Mall
0b83b57a70
Add screen option in site-users. Props duck_, see #15558
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16570 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 16:54:53 +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
Peter Westwood
b1417100ce
Error suppression is lame!
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16565 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 11:19:23 +00:00
Mark Jaquith
2cc12c224e
Make Linking and Internal Linking keyboard-friendly and URL-paste-friendly. props koopersmith. fixes #15544
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16561 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 06:44:46 +00:00
Pete Mall
ac67c65fe4
Adapt user-list-table for network admin site-users. See #15558
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16560 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 05:31:25 +00:00
Pete Mall
842d059bd1
Site Themes cleanup. See #14897 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16559 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 00:27:54 +00:00
Ryan Boren
0f2e7ef602
Set blog id for site-themes.php AJAX requests.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16556 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 22:27:05 +00:00
Peter Westwood
33e3c14b11
And proper context too!
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16550 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 13:50:23 +00:00
Peter Westwood
2be428108c
Correct incorrect action name.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16549 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 13:41:57 +00:00
Peter Westwood
ecdda2ce86
Require nonces for all the confirm links so we know they actually came from us.
...
Add a nonce check on the confirm links in the Network Admin stage two.
git-svn-id: https://develop.svn.wordpress.org/trunk@16548 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 12:14:03 +00:00
Peter Westwood
66a5b13074
Implement proper column show/hide behaviour based on screen options for the Network Admin Sites table column added for the wpmublogsaction hook.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16546 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 11:46:10 +00:00
Peter Westwood
40115d566d
Implement proper column show/hide behaviour based on screen options for the Network Admin Sites table.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16545 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 11:39:50 +00:00
scribu
ef9b5fb1ec
Document url_shorten() and use in more places. Props latz for initial patch. Fixes #15540
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16536 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-22 17:17:31 +00:00
Andrew Nacin
e8dd42ce2a
Revert [15688], [15689], [15691]. Try again in 3.2. see #14966 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16535 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-22 17:17:26 +00:00
Pete Mall
250c2d591e
Use first and last name in network admin users. Fixes #15528 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16530 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-22 04:31:31 +00:00
Andrew Nacin
3cf1723947
Use 'Update' and 'Save Link' for internal linking submit button. props koopersmith, see #11420 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16510 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 19:27:12 +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
scribu
306874cbb6
Don't need WP_MS_Users_List_Table constructor anymore. See [16501]
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16507 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 14:03:49 +00:00
Ryan Boren
0786857c32
Don't esc_textarea() in meta boxes since the post object is already escaped. Props Viper007Bond. see #15505
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16502 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 06:10:07 +00:00
Ryan Boren
bc9642a3f5
Could not bulk edit users in Network Admin due to reversed logic on capability check, and incorrect action included for comparing to nonce. Props beaulebens
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16501 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 05:48:35 +00:00
Andrew Nacin
c32cd17908
self_admin_url in plugin-install. props ocean90, fixes #14062 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16499 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 01:38:21 +00:00
Andrew Nacin
10f92b7e87
Don't include Network Only plugins in the site admin plugin counts. props PeteMall, fixes #15502 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16498 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 01:23:44 +00:00
Ryan Boren
c245d5f44b
Site search performance tweaks. Use subquery for registration log queries to allow cross DB queries. Lose order by id by default. Search only by blog_id for numeric search strings. see #15170
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16489 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 18:16:03 +00:00
Andrew Nacin
f86af64e5f
Internal linking cleanups. Fix combination of pagination and searching. Add a margin of error (ha, get it?) to triggering the river. props koopersmith, see #11420 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16479 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 05:31:07 +00:00
Ryan Boren
6d3ae66a3b
get_media_item_args, swfupload_post_params, and swfupload_success_handler filters. Props simonwheatley. fixes #13817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16476 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 00:04:04 +00:00
scribu
62b4cd2ec7
Make entire sortable header clickable. Props batmoo. Fixes #15352
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16472 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 21:39:22 +00:00
Ryan Boren
14d7d29453
Fix undefined offset warnings on pages the current user does not have perms for. Props wpdavis. fixes #15469
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16471 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 19:55:05 +00:00
Andrew Nacin
ccea27cbe7
More param fixes, props duck_. see #14783 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16469 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 19:12:48 +00:00
scribu
396da01570
Always use 'paged' in list tables. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16465 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 17:00:24 +00:00
Andrew Nacin
7cccd5715f
Third pass on internal linking preloading. Or, what I left out of the second pass commit. see #11420 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16459 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 07:59:05 +00:00
Andrew Nacin
655df3af90
Ludicrous speed for internal linking. First pass. props koopersmith, see #11420 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16457 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 06:22:13 +00:00
Andrew Nacin
957b0789c2
Fix width of nav menu search boxes. props batmoo, fixes #15464 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16452 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 05:16:43 +00:00
Andrew Nacin
1c1f8d45d4
Include a single-column option in gallery settings. props husobj, fixes #14836 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16449 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 03:30:55 +00:00
Andrew Nacin
8f2924ad13
What you don't know can hurt you. Don't show 'You cannot modify this taxonomy.' props johnjamesjacoby, fixes #14197 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16445 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 02:22:01 +00:00
Andrew Nacin
1612e23e86
We don't want a populated WP_User object here. see #14642 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16443 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 00:26:29 +00:00
Andrew Nacin
17345a6cfa
Kill unnecessary br.clear after div.tablenav. fixes #15354 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16442 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 20:10:12 +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
5705b3ca9c
Differentiate between localized and raw total pages. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16429 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:03:27 +00:00
Andrew Nacin
862dabded8
s/Login/Username/ to restore 3.0 string. props demetris, fixes #15453 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16428 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 16:58:15 +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
0e7fb842ec
Make media_handle_sideload() return attachment id instead of URL. Props joostdevalk. Fixes #15432
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16383 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 12:53:11 +00:00
Andrew Nacin
8d9b2cd2b3
Properly check, initialize, or cast a number of variables. props ChenHui. see #14642 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16377 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 06:38:10 +00:00
scribu
420e436d72
Don't show author column if the post type doesn't support it. Fixes #15425
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16376 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 20:35:42 +00:00
scribu
a6568c3de8
Make submitted-on a class instead of an id. Fixes #15426
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16375 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 20:28:55 +00:00
scribu
a2130f160d
Don't display upgradeable plugins in site admin and only translate plugin data for currently displayed plugins. See #14435
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16372 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 18:34:59 +00:00
scribu
9f69a2211f
Fix post comments box and remove unused 'add-comment' ajax action. See #15338
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16371 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 18:19:45 +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
11f1c67f78
Some escaping
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16366 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 17:33:16 +00:00
scribu
32b416f959
Improve hook readability via curly brackets. Props jjj for initial patch. Fixes #15422
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16365 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 15:50:02 +00:00
scribu
fcef01b720
Rework WP_MS_Themes_List_Table column display. Props ocean90. See #15318
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16361 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 23:47:14 +00:00
scribu
309b7e7ab3
Add back 'Submitted on ' text. Props zeo. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16356 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 20:58:39 +00:00
scribu
beb9fea0c4
Fix 'response' column title. Props zeo. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16355 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 20:53:21 +00:00
scribu
83cfc820ce
Make manage_users_custom_column hook consistent between WP_(MS)?_Users_List_Table. Fixes #14562
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16354 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 20:47:34 +00:00
scribu
a4ee63c95a
Make custom plugin columns hideable. See #15318
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16350 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 17:21:40 +00:00
scribu
7d32a98787
Rename action to 'manage_plugins_custom_column' to be consistent with other screens. See #15318
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16349 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 17:01:57 +00:00
scribu
21bef0ad36
Add 'manage_plugin_custom_column' action and properly hide plugin columns. See #15318
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16348 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 16:57:25 +00:00
scribu
a06d0688e9
Introduce WP_Plugins_List_table:single_row(). See #15318
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16347 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 16:30:20 +00:00
scribu
07b54f3eb4
Move network only status check out of foreach. See #15318
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16346 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 16:25:56 +00:00
scribu
da3a486cef
Begin rework of plugins list table. Props edward mindreantre. See #15318
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16345 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 15:58:23 +00:00
Andrew Nacin
200eefec46
Use square brackets instead of braces for string access. props hakre, fixes #13900 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16340 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 09:53:55 +00:00
Andrew Nacin
a53b8ef117
Use cap->edit_post in WP_Posts_List_Table. see #14122 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16337 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 00:13:08 +00:00
Ryan Boren
a192c1e658
Set is_site_themes from current screen so the ajax request returns the proper rows for site-themes.php searches. see #14897
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16335 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 22:44:08 +00:00
Peter Westwood
b08df21c26
Revert most of [16332] - renaming and deprecating a commonly used function is silly. Improving it is good. Fixes #15407 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16334 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 21:53:15 +00:00
scribu
11f20d737c
Replace get_the_category() with get_the_categories(). Props filosofo. Fixes #15407
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16332 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 20:05:37 +00:00
Ryan Boren
53ae0610e6
Check delete_site and delete_sites caps. Check for delete_user is more places.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16329 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 16:35:28 +00:00
Ryan Boren
4be07b9f8d
Check delete caps in network users admin.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16328 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 16:00:41 +00:00
Andrew Nacin
b929feb819
Remove dead code. props nathanrice, fixes #13893 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16324 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 11:26:14 +00:00
Mark Jaquith
2834d62548
Always add in the current post format, in case the theme was switched to one that does not support it. props anderswc. fixes #15393 . see #14746
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16316 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 04:21:17 +00:00
Mark Jaquith
d3684a509d
Add checks for WP_Error. props ptahdunbar. see #14746
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16315 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 04:10:56 +00:00
Mark Jaquith
647422ad33
Switch to radio boxes for Post Format picking. Saves a click. Maybe we should do this with Post Status as well. see #14746
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16314 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 04:05:33 +00:00
Andrew Nacin
d8c91db1f4
Remove more create_function calls. props huichen, see #14424 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16313 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 22:50:36 +00:00
Andrew Nacin
19bb470821
Kill a create_function by introducing is_plugin_inactive. see #14424 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16312 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 22:21:04 +00:00
Ryan Boren
b8ebc2cecb
Add screen options to site-themes. Props PeteMall. see #14897
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16298 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 15:16:16 +00:00
scribu
7d07e24e0b
Make 'registered' column sort by user id. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16290 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 11:47:10 +00:00
scribu
d95cfc6eab
Make 'registered' column sort by site id. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16289 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 11:45:32 +00:00
Peter Westwood
ea7bd69745
Generate Human Readable passwords as they are much more userfriendly. Fixes #13324 props Otto42.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16284 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 23:31:54 +00:00
Peter Westwood
e6d62aeb48
Blankity Blank. Fixes #15380 props arena.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16281 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 20:54:56 +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
0f662479db
Super Admin filter for network/users.php. fixes #15371 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16277 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 17:05:20 +00:00
Andrew Nacin
9ac3468253
Update phpdoc for wp_list_widgets(). fixes #15373 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16269 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 12:28:03 +00:00
Andrew Nacin
3a360acc5a
Default to 'post' in WP_Terms_List_Table. props filosofo, fixes #15351 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16254 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 06:38:53 +00:00
Andrew Nacin
1d7a732588
Use the name of the corresponding post type in the edit-tags column. TODO, typenow should be accessible from the current_screen object on edit-tags. see #14886 for current_screen, [15664] for previous TODO note.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16249 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 00:59:49 +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
Andrew Nacin
50dc640746
Use spaces for alignment. see #15343 [16236]
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16245 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 00:42:35 +00:00
scribu
a97018ab13
Fix admin comment reply. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16244 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 23:07:37 +00:00
Ryan Boren
03d34fd1f8
site-themes.php cleanup. Props PeteMall. see #14897
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16242 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 21:52:54 +00:00
Ryan Boren
fb54ba39cd
Use bool for allowed themes. Props PeteMall. see #14897
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16241 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 19:40:05 +00:00
Ryan Boren
1af3887db1
Use submt_button(). see #14435
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16240 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 17:45:20 +00:00
Ryan Boren
7173e0d7b8
Update links. see #14435
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16239 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 17:40:57 +00:00
Ryan Boren
964e49b59f
Fix typo. Props PeteMall. see #14435
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16238 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 17:36:09 +00:00
Ryan Boren
77908514a6
Add the former contents of ms-admin.php to a right now widget for the network admin. see #14435
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16237 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 17:31:00 +00:00
Peter Westwood
73c3aa15f5
Encode quotes and chevrons in the HTML editor version of the generated captions too. Fixes #15343 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16236 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 17:15:14 +00:00
scribu
baaf0585dd
Use get_current_screen() in list table classes. Fixes #15338
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16235 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 15:43:44 +00:00
scribu
49ea9b06ef
WP_Media_List_Table: merge display_rows() and display_orphans(). See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16229 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-06 23:00:17 +00:00
scribu
e3026ae9ee
WP_Media_List_Table: remove code for displaying old 'actions' column. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16228 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-06 22:51:43 +00:00
scribu
9edce664dc
WP_Media_List_Table: Use class property instead of $detached global. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16227 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-06 22:47:12 +00:00
scribu
939cb492bb
Use screen id instead of base, to be consistent with older filters. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16226 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-06 21:49:23 +00:00
scribu
f159895605
Clean up WP_Terms_List_Table::column_default(). See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16214 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 22:11:15 +00:00
scribu
0b77523396
Make post column hooks consistent. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16212 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 21:16:46 +00:00
scribu
a1c670189d
remove leading <li> from get_views() and add it later. Fixes #15321
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16205 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 14:34:09 +00:00
Mark Jaquith
7f219637fc
format-FOO classes on post edit row TR tags. props deanjrobinson. see #14746
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16201 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 07:09:13 +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
Mark Jaquith
c44eb74f66
Use post_type_supports() to check for whether a post type supports post formats. Only posts support it by default. props mikeschinkel. see #14746
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16196 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 02:04:22 +00:00
scribu
419c42838b
Rename property _screen to screen. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16195 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 21:02:13 +00:00
scribu
393bdc04e3
Fix screen options for the network admin themes and plugins. Props ocean90. Fixes #15269 . Also fixes [16190]
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16194 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 20:49:30 +00:00
scribu
ca6e0ce4f3
Revert [16182] for comments table. See#14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16192 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 20:04:31 +00:00
Mark Jaquith
6648c30823
Translate and prettify post formats for display. Also, filterable by themes/plugins to add new ones. see #14746
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16191 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 18:33:50 +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
Mark Jaquith
e381bc093f
Limit post format UI to posts only, for now. see #14746
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16188 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 18:02:24 +00:00
scribu
7edd2f0090
Default to get_current_screen() in list table classes. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16182 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 15:00:55 +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
Mark Jaquith
ef54c47f7a
add_theme_support( 'post-formats', array( 'aside', 'image', 'etc' ) ); Add UI for choosing a post format, and save the choice. see #14746
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16174 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 07:41:07 +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
Ryan Boren
0ab95195d0
Allow trailing wildcard site searches by appending *. see #15170
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16169 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 19:26:23 +00:00
Ryan Boren
358cdf6e23
Make IP query threshold more restrictive. see #15170
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16167 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 18:40:12 +00:00
Ryan Boren
103523a499
Drop Sites search action dropdown. Determine the search action from the search string. see #15170
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16166 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 18:28:02 +00:00
Ryan Boren
0c6730ed9b
Check for install_plugins cap too since it can be removed for supes. see #15163
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16163 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 14:57:10 +00:00
Ryan Boren
3c007cce8e
Lose wildcards in site search. Maybe bring it back as an option. see #15170
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16161 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 13:57:43 +00:00
Ryan Boren
0ffd5e3012
Show latest x users with no paging if on a large network. see #15170
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16160 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 13:34:04 +00:00
Peter Westwood
bb52f64946
Revert part of [16126] and restore the correct behaviour in the ms sites list. Fixes #15297 props ronbme
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16158 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 22:13:16 +00:00
Ryan Boren
d6e8a729a9
Default to id since registered doesn't have an index. see #15170
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16157 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 21:23:26 +00:00
Andrew Nacin
f95cfd07f3
Remove deleted file from the manifest. Note that most other blue files were never added. see #15207 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16147 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 05:24:58 +00:00
Andrew Nacin
c31ef3498a
Housekeeping for blue refresh. Script bumps, image bumps, remove unused blue-specific files. see #15207 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16146 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 05:05:27 +00:00
Andrew Nacin
d583c2be0e
Add theme updates to the network themes screen. props PeteMall, see #14897 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16141 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 20:08:25 +00:00
Ryan Boren
2ceb9f8150
Add edit theme links. Props PeteMall. see #14897
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16140 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 19:14:03 +00:00