Commit Graph

8242 Commits

Author SHA1 Message Date
Andrew Nacin
62ca1a7769 Fix some tab CSS in Press This. props dd32. Also adjust menu bits to default to gray, and then add rules to blue. see #15561.
git-svn-id: https://develop.svn.wordpress.org/trunk@17131 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-24 17:43:01 +00:00
Ryan Boren
b58a795627 MS themes fixes. Fix bulk actions when no items selected. Props SergeyBiryukov, nacin. fixes #15920
git-svn-id: https://develop.svn.wordpress.org/trunk@17130 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-24 17:41:36 +00:00
Andrew Nacin
de8fda19e3 Validation fixes. props ocean90, fixes #15287.
git-svn-id: https://develop.svn.wordpress.org/trunk@17129 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-24 14:19:41 +00:00
Andrew Nacin
1af2adde16 Prevent notices in the allblogs and allusers branches. props SergeyBiryukov, see #15920.
git-svn-id: https://develop.svn.wordpress.org/trunk@17128 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-23 19:45:19 +00:00
Andrew Nacin
d5444ee24a Remove this check in favor of the one added in [17126]. see #15969.
git-svn-id: https://develop.svn.wordpress.org/trunk@17127 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-23 19:40:32 +00:00
Andrew Nacin
53644f0409 bulk-themes nonce for network/themes.php deletion. props PeteMall, see #15969.
git-svn-id: https://develop.svn.wordpress.org/trunk@17126 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-23 18:53:44 +00:00
Ryan Boren
ee09d38544 Fix comment reply colspan. Props garyc40. fixes #15876
git-svn-id: https://develop.svn.wordpress.org/trunk@17124 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-23 17:21:29 +00:00
Ryan Boren
f7b9a96f34 nonce checks for ms themes. see #15969
git-svn-id: https://develop.svn.wordpress.org/trunk@17122 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-23 16:20:36 +00:00
Ryan Boren
a0b579b5e4 Check bulk-themes nonce before bulk delete. fixes #15922
git-svn-id: https://develop.svn.wordpress.org/trunk@17121 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-23 15:56:32 +00:00
Peter Westwood
64e7465e1c Ensure that images added using Press This get the correct source url set. Fixes #15841 props duck_.
git-svn-id: https://develop.svn.wordpress.org/trunk@17120 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-23 15:41:05 +00:00
Ryan Boren
b6b6693135 Expand/collapse arrows for internal linking. Props ocean90. fixes #15739
git-svn-id: https://develop.svn.wordpress.org/trunk@17117 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-23 14:44:51 +00:00
Ryan Boren
bdb91ca790 Remove unnecessary nowraps. Props scribu. fixes #15834
git-svn-id: https://develop.svn.wordpress.org/trunk@17116 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-23 14:38:24 +00:00
Ryan Boren
fea14d8ba6 Set the correct plural. Use plugins class on the table. Props scribu. fixes #15922
git-svn-id: https://develop.svn.wordpress.org/trunk@17115 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-23 14:34:14 +00:00
Andrew Nacin
9127aef074 Restore an exit we need. props duck_, fixes #15518.
git-svn-id: https://develop.svn.wordpress.org/trunk@17114 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-22 23:00:53 +00:00
Ryan Boren
9f9f401c42 Fix comment manipulation on edit post screen. Props garyc40. fixes #15876
git-svn-id: https://develop.svn.wordpress.org/trunk@17113 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-22 19:03:43 +00:00
Ryan Boren
cc812c98d3 Put sort arrows in sprite. Make 100% of th clickable. Align sort indicators. Remove unneeded padding. Props scribu. fixes #15580
git-svn-id: https://develop.svn.wordpress.org/trunk@17110 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-22 18:01:15 +00:00
Ryan Boren
ef34db239b Use term_taxonomy_id instead of term_id. Props duck_, nootron. fixes #15941
git-svn-id: https://develop.svn.wordpress.org/trunk@17108 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-22 17:38:22 +00:00
Andrew Nacin
71b6aeb04d Use a separate variable to fix plugin deletion. props phill_brown, fixes #15940.
git-svn-id: https://develop.svn.wordpress.org/trunk@17106 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 23:18:10 +00:00
Mark Jaquith
40bc6b43c1 Remove overly broad CSS rule. fixes #15913
git-svn-id: https://develop.svn.wordpress.org/trunk@17104 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 17:46:39 +00:00
Mark Jaquith
63ff32198f Display placeholder when no comments found. props garyc40. fixes #15937
git-svn-id: https://develop.svn.wordpress.org/trunk@17103 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 17:34:29 +00:00
Ryan Boren
34ef8c8df9 Translations in title attributes require esc_attr().
git-svn-id: https://develop.svn.wordpress.org/trunk@17102 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 17:17:58 +00:00
Ryan Boren
280f384b72 Add delete support to network themes. Props PeteMall. fixes #15707
git-svn-id: https://develop.svn.wordpress.org/trunk@17101 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 16:50:16 +00:00
Andrew Nacin
d3729a2484 New help strings in internal linking. props jane, see #15739.
git-svn-id: https://develop.svn.wordpress.org/trunk@17099 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 15:04:59 +00:00
Andrew Nacin
408eb985c8 Add missing translation for 'Page Template' in the theme editor. props SergeyBiryukov, fixes #15933.
git-svn-id: https://develop.svn.wordpress.org/trunk@17098 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 14:58:54 +00:00
Andrew Nacin
fbc4c6980e Don't include trash posts in the sticky posts count. props garyc40, fixes #15934.
git-svn-id: https://develop.svn.wordpress.org/trunk@17097 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 14:58:17 +00:00
Andrew Nacin
c7397ea1ec Final string tweaks to admin bar preferences. props jane, fixes #15829.
git-svn-id: https://develop.svn.wordpress.org/trunk@17095 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 14:45:55 +00:00
Ryan Boren
1f3ea01d78 List table spinner. Props scribu. see #15580
git-svn-id: https://develop.svn.wordpress.org/trunk@17090 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 18:45:05 +00:00
Ryan Boren
034024021a Comment reply and quick edit js fixes. Props garyc40. fixes #15908
git-svn-id: https://develop.svn.wordpress.org/trunk@17089 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 17:53:50 +00:00
Ryan Boren
aca2b86eaf Add 'who' arg to wp_dropdown_users() and get_users(). Add' hide_if_only_one_author' argument to get_users(). Query only authors (user level greater than 0) when who => author is passed. Query only authors for author meta box and quick edit dropdowns. Props scribu. fixes #15871
git-svn-id: https://develop.svn.wordpress.org/trunk@17088 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 17:25:39 +00:00
Andrew Nacin
dd449b12cc Minify plugin-install.js. see #15842.
git-svn-id: https://develop.svn.wordpress.org/trunk@17087 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 16:48:19 +00:00
Andrew Nacin
ff7001986a Enqueue plugin-install scripts and styles on import.php. props ocean90, fixes #15842.
git-svn-id: https://develop.svn.wordpress.org/trunk@17086 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 16:47:23 +00:00
Andrew Nacin
f5ab190c44 Don't check the upload space site option if the option is disabled. props greuben, fixes #13601.
git-svn-id: https://develop.svn.wordpress.org/trunk@17085 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 16:44:33 +00:00
Ryan Boren
76e77b1790 Revert get_users_of_blog() to 3.0 behavior and deprecate. Use get_users() in core. Props scribu. fixes #15854
git-svn-id: https://develop.svn.wordpress.org/trunk@17084 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 16:25:35 +00:00
Ryan Boren
b69af5ae31 Consistently use edit_posts_per_page. Props sorich87. fixes #14135
git-svn-id: https://develop.svn.wordpress.org/trunk@17082 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 16:18:13 +00:00
Andrew Nacin
ed9ce46089 Fix placeholder issues when removing comments. props garyc40, fixes #15879.
git-svn-id: https://develop.svn.wordpress.org/trunk@17081 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 15:26:44 +00:00
Ryan Boren
3df8f3d4a5 Define net and user admin constants for fetch-list case. Props scribu. fixes #15903
git-svn-id: https://develop.svn.wordpress.org/trunk@17080 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 13:30:39 +00:00
Ryan Boren
b677baf564 Restrict meta update/delete to the current post. Props kawauso. fixes #15276
git-svn-id: https://develop.svn.wordpress.org/trunk@17078 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 12:38:21 +00:00
Andrew Nacin
1df12424d1 Don't let the screen options text escape the box. props ohanesian, fixes #15329.
git-svn-id: https://develop.svn.wordpress.org/trunk@17075 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 11:06:54 +00:00
Andrew Nacin
18edc09e6a More @since. props SergeyBiryukov, fixes #15445.
git-svn-id: https://develop.svn.wordpress.org/trunk@17071 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 09:25:21 +00:00
Andrew Nacin
19c95bfae2 Don't double-slash list table include. props wpmuguru, fixes #15904.
git-svn-id: https://develop.svn.wordpress.org/trunk@17070 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 09:14:15 +00:00
Peter Westwood
eeb06f8967 Improve the button and header test to give a clearer picture between Adding New Users and Adding Exiting Users to a site. Fixes #14756
git-svn-id: https://develop.svn.wordpress.org/trunk@17069 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 22:27:30 +00:00
Andrew Nacin
d8871ce771 Don't refill the comment list when undoing a spam action on a comment. props greuben, fixes #15884.
git-svn-id: https://develop.svn.wordpress.org/trunk@17066 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 21:14:09 +00:00
Andrew Nacin
f37bf06516 Support post formats in Press This. fixes #15795, props greuben for initial patch.
git-svn-id: https://develop.svn.wordpress.org/trunk@17065 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 21:12:13 +00:00
Andrew Nacin
752808cbd3 Fix name attribute in export. props ocean90, see [16975], fixes #15901.
git-svn-id: https://develop.svn.wordpress.org/trunk@17063 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 20:56:38 +00:00
Mark Jaquith
acd961d4f8 Only set default post format on new posts – not old ones. props nacin. fixes #15882
git-svn-id: https://develop.svn.wordpress.org/trunk@17062 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 19:22:31 +00:00
Peter Westwood
ed32a3cef7 Commit the image not the trac download page. See #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@17059 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 10:12:35 +00:00
Peter Westwood
e9d9720b27 Add missing file from Blue Theme refresh. See #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@17058 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 10:05:25 +00:00
Andrew Nacin
f660585656 Allow dfault post format selections. fixes #15882.
git-svn-id: https://develop.svn.wordpress.org/trunk@17056 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 05:36:11 +00:00
Andrew Nacin
7d38302ca0 String changes to admin bar preferences. props jane, see #15829.
git-svn-id: https://develop.svn.wordpress.org/trunk@17055 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 05:23:25 +00:00
Andrew Nacin
4fb0c92333 Simplify this string. props jane, see #15346, see #15829.
git-svn-id: https://develop.svn.wordpress.org/trunk@17054 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 05:19:41 +00:00
Andrew Nacin
63949f28f0 Remove old string. props SergeyBiryukov, see #15314.
git-svn-id: https://develop.svn.wordpress.org/trunk@17051 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 04:38:04 +00:00
Ryan Boren
b209dadc63 Remove 'Search Results filter from ms themes. fixes #15872
git-svn-id: https://develop.svn.wordpress.org/trunk@17050 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 01:11:38 +00:00
Ryan Boren
e30b3ef70c Clarify button text. fixes #14756
git-svn-id: https://develop.svn.wordpress.org/trunk@17049 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 00:53:45 +00:00
Andrew Nacin
1dea0bc9f4 Use the update_core, update_plugins and update_themes caps in update-core.php. fixes #15866.
git-svn-id: https://develop.svn.wordpress.org/trunk@17048 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-18 18:43:35 +00:00
Andrew Nacin
54bb5450fc Slight tweak. props andrea_r, #15314.
git-svn-id: https://develop.svn.wordpress.org/trunk@17047 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-18 18:37:11 +00:00
Andrew Nacin
27be9140d8 Network-specific language on the plugin and theme editor help tabs. props andrea_r, see #15314.
git-svn-id: https://develop.svn.wordpress.org/trunk@17046 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-18 18:33:21 +00:00
Andrew Nacin
91bb1425e9 Move to what will be the new Network Admin Codex page URLs. see #15314.
git-svn-id: https://develop.svn.wordpress.org/trunk@17045 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-18 18:27:12 +00:00
Andrew Nacin
5ca70d0b83 Merge the help strings across the network/site- pages. see #15880.
git-svn-id: https://develop.svn.wordpress.org/trunk@17044 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-18 18:02:11 +00:00
Andrew Nacin
08927ad10a s/id/ID/. props ocean90, fixes #15868.
git-svn-id: https://develop.svn.wordpress.org/trunk@17042 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-18 17:23:31 +00:00
Ryan Boren
81a54e048f Fix menu highlight for link category edit. Props duck_. fixes #15877
git-svn-id: https://develop.svn.wordpress.org/trunk@17041 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-18 16:48:20 +00:00
Andrew Nacin
ea94bfe385 Change this string now so we can freeze earlier. see #15866.
git-svn-id: https://develop.svn.wordpress.org/trunk@17040 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-18 08:14:54 +00:00
Andrew Nacin
c5efc2d6aa Fix one of my typos. props SergeyBiryukov, fixes #15346.
git-svn-id: https://develop.svn.wordpress.org/trunk@17039 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-18 06:18:44 +00:00
Ryan Boren
b0b270dc34 Search query string tweaks for net plugins. Props PeteMall. see #15872
git-svn-id: https://develop.svn.wordpress.org/trunk@17038 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 23:47:40 +00:00
Andrew Nacin
8336d6afcf Network admin contextual help fixes. props SergeyBiryukov, fixes #15314.
git-svn-id: https://develop.svn.wordpress.org/trunk@17037 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 23:34:10 +00:00
Andrew Nacin
456e675420 Network Admin: Show a warning when deleting non-network-only plugins, as they may be activated on subsites. fixes #15709.
git-svn-id: https://develop.svn.wordpress.org/trunk@17036 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 23:21:15 +00:00
Andrew Nacin
c55cecbcfb s/Discuusion/Discussion/. props dougwrites, fixes #15870.
git-svn-id: https://develop.svn.wordpress.org/trunk@17035 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 22:21:58 +00:00
Ryan Boren
8ec123bd34 Remove the delete action link from the network admin if the plugin is active on the main site. Remove the plugin(s) from the deletion list for the bulk actions and shows an error if no other plugin was selected for bulk-deletion. Props PeteMall. see #15709
git-svn-id: https://develop.svn.wordpress.org/trunk@17033 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 21:53:47 +00:00
Ryan Boren
bf811456b4 Admin bar visibility prefs. Props duck_. see #15829
git-svn-id: https://develop.svn.wordpress.org/trunk@17032 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 21:48:30 +00:00
Andrew Nacin
4c684ff252 Add theme update bubble, hide redundant bubble on network admin. props PeteMall, see #15866.
git-svn-id: https://develop.svn.wordpress.org/trunk@17029 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 18:51:19 +00:00
scribu
4259d00a2f Fix notices in quick-edit. See #15285
git-svn-id: https://develop.svn.wordpress.org/trunk@17027 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 13:20:17 +00:00
scribu
ac11ac7bc8 Always show term search box. See #15857
git-svn-id: https://develop.svn.wordpress.org/trunk@17026 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 11:41:59 +00:00
scribu
a2d38faed6 Display categories again. Props garyc40. Fixes #15857
git-svn-id: https://develop.svn.wordpress.org/trunk@17025 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 11:17:41 +00:00
scribu
e58993fe2e Disable sorting by post count for now. See #15861
git-svn-id: https://develop.svn.wordpress.org/trunk@17024 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 10:25:27 +00:00
Peter Westwood
e7e3b8fde9 Make note that this is a preview_iframe. See #15856
git-svn-id: https://develop.svn.wordpress.org/trunk@17018 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 08:30:33 +00:00
Andrew Nacin
fbf16b3825 Revert [16292], admin_notices for non-network non-user only. all_admin_notices for all. fixes #14696.
git-svn-id: https://develop.svn.wordpress.org/trunk@17016 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 03:46:47 +00:00
Andrew Nacin
5b6b8b66db Final network admin help tweaks. props andrea_r, fixes #15314.
git-svn-id: https://develop.svn.wordpress.org/trunk@17015 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 03:34:00 +00:00
Andrew Nacin
a3a37df98a Help fixes. props zeo, fixes #15346.
git-svn-id: https://develop.svn.wordpress.org/trunk@17014 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 03:32:46 +00:00
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
scribu
247668b5ad Use wp_dropdown_users() in the delete confirmation screen. Props duck_. See #15854
git-svn-id: https://develop.svn.wordpress.org/trunk@17010 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 23:40:46 +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
c9c1be7e78 Remove placeholder row when adding first term. See #15849
git-svn-id: https://develop.svn.wordpress.org/trunk@17003 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 19:13:47 +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
Ryan Boren
c1e26ef82c Add like_escape() to some queries. fixes #15764
git-svn-id: https://develop.svn.wordpress.org/trunk@16999 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 14:22:41 +00:00
Peter Westwood
f75e632dd0 Ensure we always have a $help to append to. Fixes #15845 props garyc40.
git-svn-id: https://develop.svn.wordpress.org/trunk@16998 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 13:09:16 +00:00
Peter Westwood
103a31e361 Check for the wp-admin/imports folder before we open it so we don't show notices when it isn't there.
git-svn-id: https://develop.svn.wordpress.org/trunk@16996 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 10:20:12 +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
73311147bf Translate and markup plugins in a directory when deleting a plugin. fixes #15742.
git-svn-id: https://develop.svn.wordpress.org/trunk@16989 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 08:09:21 +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
e01d886bfe Minor cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@16986 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 07:41:38 +00:00
Andrew Nacin
e3982c68d8 A few more s/site-options/site-settings/. see #15314.
git-svn-id: https://develop.svn.wordpress.org/trunk@16985 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 07:14:34 +00:00
Andrew Nacin
7a5a8de701 Network Admin: Rename Options to Settings. Kick the tab to the end as well. see #15314.
git-svn-id: https://develop.svn.wordpress.org/trunk@16984 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 07:13:01 +00:00
Andrew Nacin
b4bede6797 Move to 'Documentation on XY' in the network admin. see #15314.
git-svn-id: https://develop.svn.wordpress.org/trunk@16983 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 07:07:42 +00:00
Andrew Nacin
71bfe53027 Network admin contextual help edits. props vegasgeek, see #15314.
git-svn-id: https://develop.svn.wordpress.org/trunk@16982 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 07:02:56 +00:00
Andrew Nacin
4ab83c02c8 Network Admin contextual help. props andrea_r (!), see #15314.
git-svn-id: https://develop.svn.wordpress.org/trunk@16981 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 06:52:47 +00:00
Andrew Nacin
7feeb0a320 Help text edits. props dougwrites, fixes #15346.
git-svn-id: https://develop.svn.wordpress.org/trunk@16980 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 06:37:03 +00:00
Andrew Nacin
c3c12b05c2 This is already cap checked - no need to show outdated message.
git-svn-id: https://develop.svn.wordpress.org/trunk@16979 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 06:14:14 +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
38298f9d88 Use net admin plugin-install in site admin tools. Fixes #15839
git-svn-id: https://develop.svn.wordpress.org/trunk@16976 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 03:09:06 +00:00
scribu
0db22e3c67 Use wp_dropdown_users() in export.php again, due to [16974]. See #15786
git-svn-id: https://develop.svn.wordpress.org/trunk@16975 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 00:02:36 +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
scribu
d851061a62 Revert to raw SQL query and HTML in export author dropdowns. Fixes #15786
git-svn-id: https://develop.svn.wordpress.org/trunk@16972 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 22:38:07 +00:00
Andrew Nacin
87bd5a6187 Italicize. see #15376.
git-svn-id: https://develop.svn.wordpress.org/trunk@16971 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 19:25:39 +00:00
Peter Westwood
1464ac0675 More caps back. See #15326
git-svn-id: https://develop.svn.wordpress.org/trunk@16970 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 19:24:42 +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
Pete Mall
a02674aebc Move search results text in site-themes/site-users. Props sorich87, ocean90. Fixes #15553
git-svn-id: https://develop.svn.wordpress.org/trunk@16961 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 18:32:25 +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
Ryan Boren
b04abefc26 Skip confirmation email fixes. Props ocean90, duck_. see #15725
git-svn-id: https://develop.svn.wordpress.org/trunk@16949 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 16:04:19 +00:00
Andrew Nacin
35752f9c64 Fix this in RTL too. see #14985.
git-svn-id: https://develop.svn.wordpress.org/trunk@16944 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 11:54:56 +00:00
Peter Westwood
70f4c32dcb Clear both in the right now widget so it clears nicely when there are extra comment statuses added. Fixes #14985 props doktorbro.
git-svn-id: https://develop.svn.wordpress.org/trunk@16943 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 11:52:38 +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
Pete Mall
968072c43d Use get_blog_option() isntead of raw SQL in site-users. See #14756
git-svn-id: https://develop.svn.wordpress.org/trunk@16935 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 09:05:10 +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
Pete Mall
4306639707 s/Creationism/Evolution/ in site-users. See #14756
git-svn-id: https://develop.svn.wordpress.org/trunk@16930 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 02:22:53 +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
Ryan Boren
deea690720 Better backup notices. Props SergeyBiryukov, kapeels. fixes #15753
git-svn-id: https://develop.svn.wordpress.org/trunk@16921 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 17:02:29 +00:00
Ryan Boren
6bb085e816 Hide add new button or link to network/plugin-install on plugins page. Props ocean90. fixes #15785
git-svn-id: https://develop.svn.wordpress.org/trunk@16919 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 16:46:45 +00:00
Mark Jaquith
640ed590a2 Recreate initial taxonomies after updating their URL base. props nacin. fixes #15815
git-svn-id: https://develop.svn.wordpress.org/trunk@16917 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 16:27:03 +00:00
Ryan Boren
1da4d8e087 Fix notice in ajax response. Props garyc40. fixes #15810
git-svn-id: https://develop.svn.wordpress.org/trunk@16914 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 15:07:43 +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
b77d52752a Make classes global. Props JohnONolan. fixes #15558
git-svn-id: https://develop.svn.wordpress.org/trunk@16902 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 21:53:26 +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
2fe23d30da Apply the break. Props ocean90. fixes #15802
git-svn-id: https://develop.svn.wordpress.org/trunk@16899 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 21:03:34 +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
Peter Westwood
30eae8ee5c Add cap checks. do the action in php. See #15793
git-svn-id: https://develop.svn.wordpress.org/trunk@16892 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 12:08:27 +00:00
Peter Westwood
f76d96c609 Add some filters and an action to make this more flexible for plugin extension / modification. See #15793.
git-svn-id: https://develop.svn.wordpress.org/trunk@16891 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 11:58:49 +00:00
scribu
06622f69ba Set both column header sorting arrows. Props batmoo. Fixes #15480
git-svn-id: https://develop.svn.wordpress.org/trunk@16887 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-12 20:21:58 +00:00
scribu
1f570675c1 Fix Parent dropdown after creating a category. Props Utkarsh, garyc40. Fixes #15194
git-svn-id: https://develop.svn.wordpress.org/trunk@16884 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-12 10:29:19 +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
dfb1f77e3b Use the blue background in the HTML editor, same as the visual editor. see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16876 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-11 09:04:37 +00:00
Andrew Nacin
bbbfee7e7f Fix admin menu save state. props greuben, fixes #15767, see #15615.
git-svn-id: https://develop.svn.wordpress.org/trunk@16874 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-11 08:41:48 +00:00
scribu
3f5f212ffb Don't show search box if there are no items available. See #15353
git-svn-id: https://develop.svn.wordpress.org/trunk@16868 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-10 20:22:34 +00:00
scribu
4d7afd30fa Don't show search box if there are no themes available. See #15353
git-svn-id: https://develop.svn.wordpress.org/trunk@16861 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-10 18:40:48 +00:00
Andrew Nacin
acdd0eff66 IFRAME_REQUEST for network/update.php. props duck_, see #15724.
git-svn-id: https://develop.svn.wordpress.org/trunk@16860 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-10 18:25:18 +00:00
Ryan Boren
1bbc935dec Lose last-blog-admin-visited. Figure out a better way in 3.2
git-svn-id: https://develop.svn.wordpress.org/trunk@16859 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-10 17:25:04 +00:00
Ryan Boren
523a810530 Add retro gravatar option. Props beaulebens. fixes #15759
git-svn-id: https://develop.svn.wordpress.org/trunk@16857 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-10 14:50:43 +00:00
scribu
13055dfc1a Remove unnecessary comments. See #15416
git-svn-id: https://develop.svn.wordpress.org/trunk@16856 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-10 08:55:17 +00:00
scribu
70e3fbe1e8 Redirect to correct page after bulk action for posts and comments. Props garyc40. Fixes #15416
git-svn-id: https://develop.svn.wordpress.org/trunk@16855 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-10 08:49:16 +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
Ryan Boren
be9b7a345b Link to unobfuscated JS. Props filosofo. fixes #15262
git-svn-id: https://develop.svn.wordpress.org/trunk@16826 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 22:37:19 +00:00
Andrew Nacin
b6b938a084 Fix typo. props SergeyBiryukov, fixes #14107.
git-svn-id: https://develop.svn.wordpress.org/trunk@16823 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 21:35:08 +00:00
Ryan Boren
d8005e7182 Close br. Props wahgnube. see #15287
git-svn-id: https://develop.svn.wordpress.org/trunk@16817 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 21:09:29 +00:00
Andrew Nacin
7a7e7542d1 Update show_on_front to posts if there are no pages, just in case. see #14403.
git-svn-id: https://develop.svn.wordpress.org/trunk@16816 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 21:02:07 +00:00
Pete Mall
cfe4cf192b Remove plugin-install from site admin for is_multisite(). See #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@16815 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 20:11:52 +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
Andrew Nacin
8338c78133 Fix closing admin menu animation. props filosofo, fixes #15615.
git-svn-id: https://develop.svn.wordpress.org/trunk@16813 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 19:51:22 +00:00
Ryan Boren
dc673fbccd Fix media form error display. Props andyblackwell. fixes #13810
git-svn-id: https://develop.svn.wordpress.org/trunk@16812 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 19:44:48 +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
24b60aee0d Don't improperly whitescreen on incorrect DB credentials during setup-config. Show error message with an opportunity to try again. fixes #15682.
git-svn-id: https://develop.svn.wordpress.org/trunk@16788 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 07:12:44 +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
Ryan Boren
a53a2f0f04 Define IFRAME_REQUEST only for framed requests. Props ocean90. fixes #15721
git-svn-id: https://develop.svn.wordpress.org/trunk@16780 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 23:05:27 +00:00
Peter Westwood
e3d0969ded Revert brokenness. See #15326.
git-svn-id: https://develop.svn.wordpress.org/trunk@16779 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 21:35:46 +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
Peter Westwood
ab5f09cfda Restore some more cap checks for clarity. See #15326.
git-svn-id: https://develop.svn.wordpress.org/trunk@16776 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 21:06:19 +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
cde3ed0e23 Fix a sprintf call. props wojtek.szkutnik, sorich87. fixes #14555.
git-svn-id: https://develop.svn.wordpress.org/trunk@16774 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 20:41:43 +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
5065b86df6 Fix notice. Props ocean90. fixes #15692
git-svn-id: https://develop.svn.wordpress.org/trunk@16772 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 19:00:58 +00:00
Andrew Nacin
ee30b441ff Use assign_terms cap for tag search and tag cloud in admin ajax. fixes #15437.
git-svn-id: https://develop.svn.wordpress.org/trunk@16771 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 18:59:25 +00:00
Ryan Boren
712aeeae45 Don't show super admin checkbox for the user that has the network admin email address. Props duck_. fixes #14051
git-svn-id: https://develop.svn.wordpress.org/trunk@16767 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 18:10:16 +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
Pete Mall
240bb52f78 Hide tabs on site admin themes screen for multisite. See #15525
git-svn-id: https://develop.svn.wordpress.org/trunk@16754 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 18:15:27 +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
3e38f2e429 Optimize the keys/salts textarea. fixes #15092.
git-svn-id: https://develop.svn.wordpress.org/trunk@16746 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 15:26:30 +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
d7ddf41809 Don't double-escape user description. see #15454.
git-svn-id: https://develop.svn.wordpress.org/trunk@16744 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 08:55:09 +00:00
Mark Jaquith
7d9fa8c5f7 Remove some unused CSS. props ocean90. fixes #15696
git-svn-id: https://develop.svn.wordpress.org/trunk@16739 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 03:37:03 +00:00
Andrew Nacin
298e9c04bd Remove merge cruft. props ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@16737 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 00:58:20 +00:00
scribu
f0728ade8f Fix IE JS error in options-general.php. Props ocean90. Fixes #15680
git-svn-id: https://develop.svn.wordpress.org/trunk@16736 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-05 21:29:59 +00:00
scribu
8c5878f8ec remove redundant require()s in wp-admin/update.php. See #15679
git-svn-id: https://develop.svn.wordpress.org/trunk@16735 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-05 21:12:40 +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
Mark Jaquith
1baaa6ea75 We know approximately how tall the QuickPress box will be. Let's reduce the amount of UI twitchiness as it async loads!
git-svn-id: https://develop.svn.wordpress.org/trunk@16725 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-04 23:31:01 +00:00
Peter Westwood
4703432f8b Revert [16719] until it has has UI review. See #15580
git-svn-id: https://develop.svn.wordpress.org/trunk@16722 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-04 11:01:23 +00:00
scribu
c0750fba7f Use large spinner instead of 'Loading...' text. Props batmoo. See #15580
git-svn-id: https://develop.svn.wordpress.org/trunk@16719 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-04 09:01:23 +00:00
Andrew Nacin
6587afe1d1 Always land on style.css by default, rather than whichever stylesheet came first in the directory scan. Prevents useless trips to editor-style-rtl.css and the like. see #15672.
git-svn-id: https://develop.svn.wordpress.org/trunk@16718 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-04 04:31:55 +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
Andrew Nacin
7315e464cd Don't use orange as an on state. Also, restore zero margin on the filename header. fixes #15672.
git-svn-id: https://develop.svn.wordpress.org/trunk@16716 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-04 04:18:27 +00:00
Andrew Nacin
6edf42d3f5 Remove unused logic. see #15672.
git-svn-id: https://develop.svn.wordpress.org/trunk@16715 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-04 04:16:23 +00:00
Andrew Nacin
c8fc17767f Don't even show parent theme files when viewing the child theme. see #15672.
git-svn-id: https://develop.svn.wordpress.org/trunk@16714 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-04 03:52:59 +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
Andrew Nacin
b4ff753679 Sanity text in the theme editor when you have a child theme. fixes #15672.
git-svn-id: https://develop.svn.wordpress.org/trunk@16712 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-03 22:58:56 +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
8c6056dced Always exit after we redirect.
git-svn-id: https://develop.svn.wordpress.org/trunk@16708 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-03 12:37:43 +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
Andrew Nacin
96e0e3b82f Post format indexes. First pass. see #15378.
git-svn-id: https://develop.svn.wordpress.org/trunk@16705 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-03 10:13:17 +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
Mark Jaquith
4fab2aee5c Use get_taxonomies() when iterating taxonomies for menus. props wojtek.szkutnik. fixes #13936
git-svn-id: https://develop.svn.wordpress.org/trunk@16695 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 21:32:19 +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
Peter Westwood
b97545150c Restore the fix with to the Create New User form fields. Fixes #15642.
git-svn-id: https://develop.svn.wordpress.org/trunk@16686 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 09:55:13 +00:00
Peter Westwood
60a7e5973c If we have not items don't try and output the inline_edit form. Fixes #15240 props mrmist for tracking the bug down.
git-svn-id: https://develop.svn.wordpress.org/trunk@16685 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 08:09:58 +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
Mark Jaquith
d9ae425dc2 Make sure media upload thickbox takes admin bar height into account. props ocean90. fixes #15635
git-svn-id: https://develop.svn.wordpress.org/trunk@16681 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 04:20:48 +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
Ryan Boren
71ec2d33de Network setup fixes. Props wpdavis. fixes #15620
git-svn-id: https://develop.svn.wordpress.org/trunk@16672 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 21:32:40 +00:00
Mark Jaquith
e2c06eeea4 Prevent double Thickbox caption line for Dashboard QuickPress uploads. props ocean90. fixes #15169
git-svn-id: https://develop.svn.wordpress.org/trunk@16671 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 20:48:52 +00:00