Commit Graph

7861 Commits

Author SHA1 Message Date
Pete Mall 0644a49f1c Update and error messages for site-themes. See #14897
git-svn-id: https://develop.svn.wordpress.org/trunk@16606 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 07:24:54 +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
Ryan Boren 82d6b81907 Remove wp_admin_body_style(). Props ocean90. fixes #15507
git-svn-id: https://develop.svn.wordpress.org/trunk@16600 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-26 22:05:54 +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
Pete Mall 5ed01b14a4 Site themes cleanup. See #14897
git-svn-id: https://develop.svn.wordpress.org/trunk@16592 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-26 00:20:18 +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
Pete Mall 362575ce35 Create new user form for site-users. See #15558
git-svn-id: https://develop.svn.wordpress.org/trunk@16586 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-25 11:12:33 +00:00
Pete Mall 23638e8d67 Exit after wp_redirect(). See #15558
git-svn-id: https://develop.svn.wordpress.org/trunk@16584 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-25 09:25:50 +00:00
Peter Westwood c137fac98d Add Post formats info to the help text. Fixes #15376 props vegasgeek
git-svn-id: https://develop.svn.wordpress.org/trunk@16583 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-25 09:20:29 +00:00
Pete Mall 85161f0317 Update and error messages for site-users. See #15558.
git-svn-id: https://develop.svn.wordpress.org/trunk@16582 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-25 09:13:38 +00:00
scribu ca6171333d Prevent WSOD when no comments selected for bulk action. See #15572
git-svn-id: https://develop.svn.wordpress.org/trunk@16580 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-25 02:05:52 +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
Ryan Boren 136dc75c6a Press This fixes. Props duck_. see #15561
git-svn-id: https://develop.svn.wordpress.org/trunk@16571 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 17:27:11 +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 9a6ef5b47d Fix duplicate HTML IDs for wp-admin/user-new.php on MS installs. props duck_. fixes #15562
git-svn-id: https://develop.svn.wordpress.org/trunk@16569 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 16:43:24 +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
Pete Mall 6bf48a4d50 Ignore role selector in network admin user-edit. See #14435.
git-svn-id: https://develop.svn.wordpress.org/trunk@16563 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 08:06:38 +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
scribu acbaa128c8 Improve oEmbed toggle label. Props JohnONolan. Fixes #15430
git-svn-id: https://develop.svn.wordpress.org/trunk@16557 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 22:52:32 +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
scribu fafdc943da Make filter_count() a closure. See #14936
git-svn-id: https://develop.svn.wordpress.org/trunk@16554 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 20:20:44 +00:00
scribu 9729c26b07 Ajaxify theme feature filter. Props ocean90 for initial patch. See #14936
git-svn-id: https://develop.svn.wordpress.org/trunk@16553 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 20:17:22 +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 ecf96562d6 Add a nonce check on the confirm links in the Network Admin stage one.
git-svn-id: https://develop.svn.wordpress.org/trunk@16547 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 12:10:01 +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 1d586a6a7f Remove vestige code from theme.js. See #14936
git-svn-id: https://develop.svn.wordpress.org/trunk@16540 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 00:06:15 +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 9605850c9a Use tools screen_icon for udpate-core. Props ocean90, fixes #15531.
git-svn-id: https://develop.svn.wordpress.org/trunk@16533 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-22 16:56:22 +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
Ryan Boren d089000052 Notice fixes for user-new.php. Props wpdavis. see #15456
git-svn-id: https://develop.svn.wordpress.org/trunk@16527 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-21 16:56:08 +00:00
scribu 37842f40a2 Don't display search subtitle on themes page. Props ocean90. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16525 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-21 16:20:08 +00:00
Ryan Boren 55bd96bfeb Fixes for user-new.php. Props wpdavis. see #15456
git-svn-id: https://develop.svn.wordpress.org/trunk@16518 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 22:36:46 +00:00
scribu cb38e81d23 re-minify edit-comments.js. See #15504
git-svn-id: https://develop.svn.wordpress.org/trunk@16517 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 22:03:54 +00:00
scribu de5730ecd9 Use event delegation in edit-comments.js. Fixes #15504
git-svn-id: https://develop.svn.wordpress.org/trunk@16516 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 22:02:25 +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 a7bcbc027f Fix user search input name. Props nickmomrik.
git-svn-id: https://develop.svn.wordpress.org/trunk@16496 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 23:43:00 +00:00
Andrew Nacin 40d1e43970 Add missing div. props PeteMall, fixes #15501.
git-svn-id: https://develop.svn.wordpress.org/trunk@16494 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 19:05:04 +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
Nikolay Bachiyski 9927279cf2 Don't forget to echo the result of esc_textarea()
git-svn-id: https://develop.svn.wordpress.org/trunk@16485 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 14:48:11 +00:00
scribu e6e9ea6c26 Set current screen for comment quick-edit. Props batmoo. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16483 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 09:34:21 +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
Ryan Boren a5a5164229 Titles for network admin and global dashboard. see #15477
git-svn-id: https://develop.svn.wordpress.org/trunk@16474 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 23:02:52 +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 af5d46012c Revert extra stuff from [16455].
git-svn-id: https://develop.svn.wordpress.org/trunk@16456 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 05:38:53 +00:00
Andrew Nacin 90343807eb Every time you nest a ternary operator, a kitten dies.
git-svn-id: https://develop.svn.wordpress.org/trunk@16455 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 05:37:00 +00:00
Andrew Nacin 2b9c7f6113 Redirect from network.php to network/setup.php. see #15461.
git-svn-id: https://develop.svn.wordpress.org/trunk@16454 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 05:29:03 +00:00
Andrew Nacin dc27759993 Move the network version of Tools > Network to the network admin. props wpdavis, fixes #15461.
git-svn-id: https://develop.svn.wordpress.org/trunk@16453 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 05:24: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 1a3a72a224 Style the on-hover state for collapsed admin menus in the blue theme. props PeteMall, fixes #15462.
git-svn-id: https://develop.svn.wordpress.org/trunk@16451 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 04:29:27 +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 1715830cf9 Codex links should open in a new window. fixes #14665, props qwertymaniac.
git-svn-id: https://develop.svn.wordpress.org/trunk@16448 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 03:26:03 +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 61da29b739 Remove debug. Props ocean90. see #15342
git-svn-id: https://develop.svn.wordpress.org/trunk@16441 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 20:08:00 +00:00
Ryan Boren 77472dfa65 Add existing user to site form. Props PeteMall, ocean90. see #15342
git-svn-id: https://develop.svn.wordpress.org/trunk@16440 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 19:45:10 +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
scribu 673625a1c2 Don't set total_pages unless there are pagination links. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16433 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:26:39 +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
Mark Jaquith 51065344c8 Make clear that we are installing the *American* English version, so this message makes sense for non-American English translation users. fixes #14467
git-svn-id: https://develop.svn.wordpress.org/trunk@16427 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 16:56:30 +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
Andrew Nacin 3a722d53c8 Don't have awkward alternate color classes for core updates on update-core. see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16421 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 05:58:26 +00:00
Andrew Nacin b6f252c241 Blue theme RTL. props saracannon. see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16420 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 05:51:32 +00:00
Andrew Nacin 8fe83c252a Fix the screen options sprite in RTL. Also compress and bump for previous commits. see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16419 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 04:52:01 +00:00
Andrew Nacin 2e7aa57771 Show continous color in admin menu when text wraps. props ocean90, see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16418 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 04:44:31 +00:00
Andrew Nacin dbd5578187 Remove visit site button gradient images from pre-3.0. see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16417 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 04:03:34 +00:00
Andrew Nacin 0e2594102e Blue color scheme for the folded admin menu. props PeteMall, see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16416 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 03:32:26 +00:00
Andrew Nacin 5c5d36c422 Finalize conflicts from [16136]. Final pass on wp-admin css cleanup. props JohnONolan, fixes #14770.
git-svn-id: https://develop.svn.wordpress.org/trunk@16415 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 03:30:27 +00:00
scribu 26f88f4b0f Deprecate update_category_cache(). Fixes #15446
git-svn-id: https://develop.svn.wordpress.org/trunk@16412 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 00:56:00 +00:00
Andrew Nacin e8ea01b4dc More updates to post.js. see [16248].
git-svn-id: https://develop.svn.wordpress.org/trunk@16408 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 22:13:17 +00:00
Andrew Nacin 153f7bb62d Remove unnecessary message in network/settings. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@16406 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 17:51:45 +00:00
Andrew Ozz 348236aeb7 Remove invalid parent paragraph when pasting in the visual editor or switching visual to HTML and back, keep multiple empty lines in a <pre> tag, fixes #15095 fixes #15367
git-svn-id: https://develop.svn.wordpress.org/trunk@16394 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 23:57:27 +00:00
Andrew Nacin 0b7f397e9b set_post_thumbnail(). fixes #15192.
git-svn-id: https://develop.svn.wordpress.org/trunk@16388 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 17:59:25 +00:00
Andrew Nacin ea4a66713f Restore rule for #submitted-on. props JohnONolan, see #15426.
git-svn-id: https://develop.svn.wordpress.org/trunk@16386 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 17:09:57 +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 8aaf2d5598 Don't display Updates submenu in site admin. See #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@16374 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 18:49:18 +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
Ryan Boren 9ff9211249 Handle sites that hard-code roles rather than storing them in the DB. Temp hack. see #15411
git-svn-id: https://develop.svn.wordpress.org/trunk@16370 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 18:19:07 +00:00
scribu e525b77f28 Fix inline term editing. See #15338
git-svn-id: https://develop.svn.wordpress.org/trunk@16369 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 18:08:25 +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 55d442748a Fix typo from r16363. Props filosofo. Fixes #15420
git-svn-id: https://develop.svn.wordpress.org/trunk@16364 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 01:46:49 +00:00
scribu cd7d748a0e Fix empty query vars being passed as 'true' instead of ''. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16363 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 00:48:30 +00:00
scribu 39eca2466e submit_button() fixes. Props sbressler. See #15064
git-svn-id: https://develop.svn.wordpress.org/trunk@16362 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 23:49:53 +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
scribu 4ffac80fc4 Prevent horizontal scrollbar. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16344 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 15:33:12 +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
Ryan Boren e559ab58a3 Whitespace cleanup in contextual help. Props markmcwilliams. see #15346
git-svn-id: https://develop.svn.wordpress.org/trunk@16333 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 20:22:12 +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 d653f78616 Show Add New if user can promote.
git-svn-id: https://develop.svn.wordpress.org/trunk@16330 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 16:57:47 +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
Ryan Boren 4ca2e2a1fa Use install_themes cap
git-svn-id: https://develop.svn.wordpress.org/trunk@16327 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 15:32:40 +00:00
Ryan Boren 2ac45785a3 Contextual help updates. Props dougwrites. see #15346
git-svn-id: https://develop.svn.wordpress.org/trunk@16326 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 15:03:34 +00:00
Peter Westwood c6b0c233c1 Use the l10n helper js file in the installer. See #15124.
git-svn-id: https://develop.svn.wordpress.org/trunk@16325 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 11:44:08 +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
Andrew Nacin 21a38007d8 Remove old header/footer link active state. props dremeda, fixes #14487.
git-svn-id: https://develop.svn.wordpress.org/trunk@16311 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 22:17:11 +00:00
Ryan Boren 31ecc8008a Whitespace cleanup. Props sorich87. see #14147
git-svn-id: https://develop.svn.wordpress.org/trunk@16306 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 16:57:22 +00:00
Ryan Boren 994d8ecab8 Farbtastic 1.3u. Props flashingcursor. fixes #14707
git-svn-id: https://develop.svn.wordpress.org/trunk@16305 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 16:34:22 +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