Commit Graph

2767 Commits

Author SHA1 Message Date
scribu e452616f40 Make WP_User_Query return regular objects by default. Fixes #15854
git-svn-id: https://develop.svn.wordpress.org/trunk@17013 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 00:38:15 +00:00
scribu 48141dcc84 Get only required fields in populate_network(). See #15854
git-svn-id: https://develop.svn.wordpress.org/trunk@17012 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 00:11:21 +00:00
Ryan Boren 748f5f0154 phpdoc notation fixes. Props demetris. fixes #15852
git-svn-id: https://develop.svn.wordpress.org/trunk@17009 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 22:46:13 +00:00
Peter Westwood 96129e7e4b Give the button an id so it validates.
git-svn-id: https://develop.svn.wordpress.org/trunk@17008 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 21:35:39 +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
scribu 0f40bb19cd Introduce WP_List_Table::search_box(). See #15353
git-svn-id: https://develop.svn.wordpress.org/trunk@17006 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 20:45:10 +00:00
Pete Mall ad14a8f5f4 New filter for network admin plugins action link. Fixes #15850.
git-svn-id: https://develop.svn.wordpress.org/trunk@17004 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 19:22:46 +00:00
scribu 96e692baed Always display the table, with a placeholder row when there are no items. Fixes #15849
git-svn-id: https://develop.svn.wordpress.org/trunk@17002 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 19:05:14 +00:00
Ryan Boren de072fe02a Remove some unnecessary esc_textarea() calls. Props garyc40. see #15454
git-svn-id: https://develop.svn.wordpress.org/trunk@17001 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 17:48:20 +00:00
Andrew Nacin 541c45ba0e Make network_admin_url() return admin_url() when not multisite like its home and site counterparts. Kill the now redundant maybe_network_admin_url() function. fixes #15840.
git-svn-id: https://develop.svn.wordpress.org/trunk@16994 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 09:31:42 +00:00
Andrew Nacin 266cd3f5df Replace check_permissions() with ajax_user_can(). New method returns true/false to current_user_can(), which we then handle in admin ajax. see #15326.
git-svn-id: https://develop.svn.wordpress.org/trunk@16992 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 09:18:28 +00:00
Andrew Nacin 8661cbc56e Move check_permissions() out of ajax_response(). see #15326.
git-svn-id: https://develop.svn.wordpress.org/trunk@16991 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 08:48:16 +00:00
Andrew Nacin afecafe7ab Remove check_permissions() calls outside of AJAX context. Also only check for switch_themes in check_permissions() for the themes table. see #15326.
git-svn-id: https://develop.svn.wordpress.org/trunk@16990 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 08:43:22 +00:00
Andrew Nacin e06249b885 We don't apply markup here. see #15742.
git-svn-id: https://develop.svn.wordpress.org/trunk@16988 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 08:04:54 +00:00
Andrew Nacin 3653bb7926 Use maybe_network_admin_url. see #15840.
git-svn-id: https://develop.svn.wordpress.org/trunk@16978 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 06:12:55 +00:00
Pete Mall c500dc3d90 s/<? /<?php / in [16963].
git-svn-id: https://develop.svn.wordpress.org/trunk@16973 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 23:21:07 +00:00
Andrew Nacin dd73d5d9d3 Post formats help text. fixes #15376.
git-svn-id: https://develop.svn.wordpress.org/trunk@16969 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 19:24:34 +00:00
Pete Mall 8b2dc546cf This is only for use in the Network admin when it is always multisite.
git-svn-id: https://develop.svn.wordpress.org/trunk@16968 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 19:11:55 +00:00
Peter Westwood ca8fa5e2bd This is only for use in the Network admin when it is always multisite.
git-svn-id: https://develop.svn.wordpress.org/trunk@16967 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 19:09:50 +00:00
Peter Westwood d48ff05f70 Re-instate this code so AJAX still works
git-svn-id: https://develop.svn.wordpress.org/trunk@16966 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 19:04:31 +00:00
Peter Westwood 424a82f2ef Move post_type var setup back into edit.php and reinstate the cap check. See #15326
git-svn-id: https://develop.svn.wordpress.org/trunk@16965 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 18:58:05 +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
Andrew Nacin 98aac89317 Plugin install and thickbox for the network admin. props ocean90, fixes #15510, fixes #15750.
git-svn-id: https://develop.svn.wordpress.org/trunk@16963 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 18:48:40 +00:00
Peter Westwood f03dece666 Fix HTML validation errors. Fixes #15716.
git-svn-id: https://develop.svn.wordpress.org/trunk@16962 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 18:34:59 +00:00
Andrew Nacin 951bc1b23b s/example-about-page/sample-page/. see #14973.
git-svn-id: https://develop.svn.wordpress.org/trunk@16959 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 17:55:49 +00:00
Andrew Nacin 4904a251a5 Don't show extra .0 in _deprecated_argument calls. They should appear in @since docs though.
git-svn-id: https://develop.svn.wordpress.org/trunk@16938 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 11:27:38 +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 5df71d4669 Expand/collapse in internal linking. Props koopersmith, nacin. see #15739
git-svn-id: https://develop.svn.wordpress.org/trunk@16931 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 02:36:24 +00:00
Andrew Nacin fc524daa7f Remove unneeded stripslashes. see #14543.
git-svn-id: https://develop.svn.wordpress.org/trunk@16923 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 18:56:15 +00:00
Andrew Nacin dc821cedbf Remove ceilings on recent comments and posts widgets and dashboard widgets. fixes #14543.
git-svn-id: https://develop.svn.wordpress.org/trunk@16922 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 17:58:47 +00:00
scribu 1d3a1c1460 Fix error when trashing a comment on the last page. Props garyc40. Fixes #15500
git-svn-id: https://develop.svn.wordpress.org/trunk@16911 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 11:53:31 +00:00
scribu a8ad040d3c Run parent title through 'the_title'. Props garyc40. Fixes #13968
git-svn-id: https://develop.svn.wordpress.org/trunk@16908 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 10:22:06 +00:00
Dion Hulse c6f239ae68 Fix fatal error on IIS after r16797. props peaceablewhale. Limit variable string searching when possible. See #10187
git-svn-id: https://develop.svn.wordpress.org/trunk@16904 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 08:31:33 +00:00
Ryan Boren 7f21740324 Use https for preview links if is_ssl(). Props nacin, filosofo. fixes #13328
git-svn-id: https://develop.svn.wordpress.org/trunk@16903 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 22:38:27 +00:00
Ryan Boren 04e1d8553a Add user id to lock. Props duck_. see #15130
git-svn-id: https://develop.svn.wordpress.org/trunk@16901 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 21:23:46 +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
Ryan Boren c5e9c0ce99 Bump ver.
git-svn-id: https://develop.svn.wordpress.org/trunk@16895 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 15:33:39 +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
Peter Westwood 721f2b01cf Fix row hilighting when user is spam. See #15558 props beaulebens.
git-svn-id: https://develop.svn.wordpress.org/trunk@16879 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-11 09:40:49 +00:00
Andrew Nacin 3ebb27ae3e Always exit after wp_redirect. props filosofo, fixes #15518.
git-svn-id: https://develop.svn.wordpress.org/trunk@16847 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 18:02:54 +00:00
Ryan Boren c120fd98ee Don't show the WP plugins widget in multisite in the site admin. Props ocean90. fixes #15748
git-svn-id: https://develop.svn.wordpress.org/trunk@16841 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 16:37:16 +00:00
Andrew Nacin 63d7b51d01 Adjust branching and errors in WP_Themes_List_Table::no_items(). fixes #15751.
git-svn-id: https://develop.svn.wordpress.org/trunk@16838 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 16:12:04 +00:00
scribu a3c3dc3273 Fix strange JS error when trashing a comment. Props greuben. Fixes #15746
git-svn-id: https://develop.svn.wordpress.org/trunk@16836 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 14:16:35 +00:00
Andrew Nacin bac58b8e62 Example About Page. props jane, studionashvegas. fixes #14973.
git-svn-id: https://develop.svn.wordpress.org/trunk@16835 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 13:20:40 +00:00
Andrew Nacin f11e53166e s/can_edit_site/can_edit_network/g. see #15720.
git-svn-id: https://develop.svn.wordpress.org/trunk@16833 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 12:36:39 +00:00
scribu 9835b5ff25 Add @return to add_*menu_page() docs. Fixes #15747
git-svn-id: https://develop.svn.wordpress.org/trunk@16831 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 06:54:48 +00:00
Andrew Nacin 684d85ff2f Fix menu_page_url() for submenu pages attached to custom menu pages. props duck_, see #14159.
git-svn-id: https://develop.svn.wordpress.org/trunk@16829 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 04:02:37 +00:00
Andrew Nacin fc9815537d Add the for atteibute to internal linking labels. props batmoo, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16827 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 01:46:31 +00:00
Mark Jaquith 596471065a Keep Dashboard RSS widgets in same place when configuring. props duck_. fixes #14785
git-svn-id: https://develop.svn.wordpress.org/trunk@16814 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 19:53:26 +00:00
Dion Hulse d81779a74d Remove visit site button gradient images from pre-3.0. see [16417]. see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16796 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 10:01:18 +00:00
Andrew Nacin 19677466aa Fix logic inversion. see #15699.
git-svn-id: https://develop.svn.wordpress.org/trunk@16794 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 09:28:20 +00:00
Andrew Nacin 668956d2ff Handle posts without titles better in internal linking. see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16784 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 00:22:43 +00:00
Andrew Nacin 137601189d Don't show plugin edit link in the site admin. fixes #15722. fixes logic in [16777].
git-svn-id: https://develop.svn.wordpress.org/trunk@16778 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 21:14:44 +00:00
Andrew Nacin 35d7a02cba Don't show plugin edit link in the site admin. fixes #15722.
git-svn-id: https://develop.svn.wordpress.org/trunk@16777 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 21:06:44 +00:00
Andrew Nacin aa29bef29a Don't check post counts in the network admin. props scribu, fixes #15699.
git-svn-id: https://develop.svn.wordpress.org/trunk@16775 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 20:54:04 +00:00
Andrew Nacin b8569cefb7 Fix the background colors for the Select Files upload buttons. props TECannon. fixes #8545.
git-svn-id: https://develop.svn.wordpress.org/trunk@16773 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 19:42:57 +00:00
Ryan Boren 5eb199f6f3 Fix return the themes links. Props duck_. fixes #15718
git-svn-id: https://develop.svn.wordpress.org/trunk@16766 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 18:01:58 +00:00
Peter Westwood f6b9beb519 Use a span so we mark up the all the info about the site. See #15716 - allows for css targetting based on site.
git-svn-id: https://develop.svn.wordpress.org/trunk@16765 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 15:00:30 +00:00
Peter Westwood 9c2a7dc314 Introduce can_edit_site to replace inline checks on whether or not the site_id is for the current Network. See #15716.
git-svn-id: https://develop.svn.wordpress.org/trunk@16764 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 14:28:40 +00:00
Peter Westwood 0485062f5d Allow for the callee of download_url() to specify a different timeout if they want to - maybe they don't want to wait that long.
git-svn-id: https://develop.svn.wordpress.org/trunk@16763 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 12:45:24 +00:00
Andrew Nacin a63bf413ad Move [14551] to after the is_wp_error check. see #13133, fixes #15511, props alexdunae.
git-svn-id: https://develop.svn.wordpress.org/trunk@16761 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 07:12:55 +00:00
Andrew Nacin 689a65c8e6 Don't reference nonexistent tabs. see #15707.
git-svn-id: https://develop.svn.wordpress.org/trunk@16759 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 21:37:35 +00:00
Andrew Nacin efa71cfe2c Set AuthorName even when no translation or markup is processed. see #15662.
git-svn-id: https://develop.svn.wordpress.org/trunk@16758 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 21:18:18 +00:00
Andrew Nacin efbe42fc1c Add AuthorName to get_plugins() and use it when deleting a plugin. fixes #15662.
git-svn-id: https://develop.svn.wordpress.org/trunk@16757 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 20:49:54 +00:00
Andrew Nacin 975fb7af21 Don't show theme deletion link in multisite in the site admin. Also, link to proper theme-install when using multisite if there are no themes. see #15707.
git-svn-id: https://develop.svn.wordpress.org/trunk@16756 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 20:48:41 +00:00
Andrew Nacin e6dbe89d7d Fix handling of no titles and long titles in internal linking. see #11240.
git-svn-id: https://develop.svn.wordpress.org/trunk@16750 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 16:28:06 +00:00
Andrew Nacin cad9b99f1e Use correct variable. props ocean90, fixes #15693.
git-svn-id: https://develop.svn.wordpress.org/trunk@16748 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 15:44:30 +00:00
Andrew Nacin 8abcb8e5ce Link to network/update-core when running multisite. Remove theme/plugin editors from blog menu when running multisite. Redirect to network/* when accessing theme/plugin-install/editor. props ocean90, see #15525.
git-svn-id: https://develop.svn.wordpress.org/trunk@16747 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 15:41:19 +00:00
Andrew Nacin 2c44ffcc57 Restore bottom padding in plugin rows. fixes #15547.
git-svn-id: https://develop.svn.wordpress.org/trunk@16745 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 15:15:09 +00:00
Andrew Nacin 4bc60bd62a String fixes. props demetris. fixes #15688.
git-svn-id: https://develop.svn.wordpress.org/trunk@16734 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-05 14:31:18 +00:00
Andrew Nacin e16287f1fa Export filtering JS and minor tweaks. props duck_, see #15197.
git-svn-id: https://develop.svn.wordpress.org/trunk@16733 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-05 11:21:08 +00:00
Andrew Nacin d6ae552b4e Fix notice. props vericgar, fixes #11976.
git-svn-id: https://develop.svn.wordpress.org/trunk@16729 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-05 03:01:42 +00:00
Andrew Nacin 7cf388085a Add 'Visual Editor RTL Stylesheet' to the list of theme file descriptions. see #15672.
git-svn-id: https://develop.svn.wordpress.org/trunk@16717 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-04 04:22:48 +00:00
scribu a01db8b692 Check correct cap in WP_Terms_List_Table::check_permissions. Props duck_. Fixes #15673
git-svn-id: https://develop.svn.wordpress.org/trunk@16713 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-03 23:18:02 +00:00
scribu 9efb88a3ac Use more specific view classes in plugin & theme install screens. Props batmoo. Fixes #15658
git-svn-id: https://develop.svn.wordpress.org/trunk@16710 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-03 18:51:24 +00:00
Pete Mall 2cda8d6dd2 Show network only plugins for !is_multisite. Fixes #15666
git-svn-id: https://develop.svn.wordpress.org/trunk@16709 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-03 18:05:37 +00:00
Peter Westwood 4e3458f227 Actions and Filters for the Network Admin sites panel to make it easier to add custom actions.
git-svn-id: https://develop.svn.wordpress.org/trunk@16707 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-03 12:12:44 +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 8d2cf2d793 More s/upgrade/update. Props michaelh. See #15656
git-svn-id: https://develop.svn.wordpress.org/trunk@16701 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-03 09:16:28 +00:00
Pete Mall 9ad4ce2511 s/Enable/Network Enable for net admin themes. Fixes #14897
git-svn-id: https://develop.svn.wordpress.org/trunk@16700 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 23:49:18 +00:00
Andrew Nacin 872372d68c s/occured/occurred/. props aldenta, fixes #15653.
git-svn-id: https://develop.svn.wordpress.org/trunk@16699 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 23:30:21 +00:00
Mark Jaquith 13ed00f2d4 Standardize around "Update" instead of "Upgrade." props RanYanivHartstein. props latz. fixes #14107
git-svn-id: https://develop.svn.wordpress.org/trunk@16696 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 21:45:47 +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
Andrew Nacin 4a8c7f3dfa add_editor_style should include the parent theme CSS before the child theme CSS for override reasons. props JohnPBloch. fixes #14430.
git-svn-id: https://develop.svn.wordpress.org/trunk@16688 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 13:54:56 +00:00
Andrew Nacin 45051d8206 define isRtl in the media upload iframe. props filosofo, fixes #15639.
git-svn-id: https://develop.svn.wordpress.org/trunk@16687 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 12:44:48 +00:00
Mark Jaquith a2a3977b3c PHPDoc. see #15638
git-svn-id: https://develop.svn.wordpress.org/trunk@16684 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 05:47:17 +00:00
Andrew Nacin e86dc10b71 Revert [15742]. Custom post types and sticky posts don't mix. fixes #12702.
git-svn-id: https://develop.svn.wordpress.org/trunk@16680 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 03:39:26 +00:00
Mark Jaquith c821bc7ca2 The name of the standard post format is now Standard (might offer ability to change Default). fixes #15582
git-svn-id: https://develop.svn.wordpress.org/trunk@16679 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 03:19:14 +00:00
Mark Jaquith 86ab422fcc Move Post Format UI out of Publish meta box and into its own box. see #15638
git-svn-id: https://develop.svn.wordpress.org/trunk@16678 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 02:42:38 +00:00
Ryan Boren 14a1be89f6 Deprecate and ignore the refresh arg. fixes #15605
git-svn-id: https://develop.svn.wordpress.org/trunk@16673 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 22:12:09 +00:00
Mark Jaquith c9b4b18cf9 Prevent media upload links from being clicked before lightbox is ready to handle them. fixes #15621
git-svn-id: https://develop.svn.wordpress.org/trunk@16669 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 20:41:47 +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
Ryan Boren b9b0e7215c Save meta id before performing actions since the insert_id can change. Props cyberhobo. fixes #15465
git-svn-id: https://develop.svn.wordpress.org/trunk@16659 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 19:11:47 +00:00
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