Commit Graph

15434 Commits

Author SHA1 Message Date
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 c561de13d4 Add jquery and utils dependencies for editor js. Props JohnPBloch, jczorkmid. fixes #15830
git-svn-id: https://develop.svn.wordpress.org/trunk@17000 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 17:23:54 +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 b8d51ca378 Bumpity Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@16997 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 11:32:08 +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 4db50ee643 The user description field should be esc_textarea when context is edit. see #15454.
git-svn-id: https://develop.svn.wordpress.org/trunk@16995 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 10:04:21 +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
Mark Jaquith dda708677e Use ENT_QUOTES in esc_textarea() in case someone uses it in a value='' situation by accident. see #15454
git-svn-id: https://develop.svn.wordpress.org/trunk@16993 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 09:24:22 +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 8c7a9647fc Add scheme arguments to get_blogaddress_by_domain and get_blogaddress_by_id. props adambackstrom for initial patch, fixes #14867.
git-svn-id: https://develop.svn.wordpress.org/trunk@16987 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 07:58:57 +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
Andrew Nacin 8cf8f3380c maybe_network_admin_url. see #15840.
git-svn-id: https://develop.svn.wordpress.org/trunk@16977 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 06:06:59 +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
scribu c12c44db5e Fetch only the required field in wp_dropdown_users(). See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@16974 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 23:56:53 +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
Peter Westwood c80789036e Allow a plugin to filter our slugs if it wants to. Fixes #15726
git-svn-id: https://develop.svn.wordpress.org/trunk@16960 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 17:56: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
Andrew Nacin a653754287 Add theme_mods option if is_admin. props MarkJaquith, fixes #14828.
git-svn-id: https://develop.svn.wordpress.org/trunk@16958 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 17:39:00 +00:00
Ryan Boren 700374e0b0 Pass wp_admin_bar object to admin_bar_menu action. Props TheDeadMedic, JohnPBloch. fixes #15723
git-svn-id: https://develop.svn.wordpress.org/trunk@16957 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 17:33:02 +00:00
Andrew Nacin 0c8e238e6c Add user_nicename, nicename, ID to WP_User_Query orderby. props duck_, fixes #15816.
git-svn-id: https://develop.svn.wordpress.org/trunk@16956 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 17:18:04 +00:00
Andrew Nacin 51396e1e89 _doing_it_wrong takes three arguments. fixes #15824.
git-svn-id: https://develop.svn.wordpress.org/trunk@16955 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 17:14:25 +00:00
Andrew Nacin 2a44684f3e s/site/user/ if signup doesn't have a domain attached. props wpmuguru, fixes #15780.
git-svn-id: https://develop.svn.wordpress.org/trunk@16954 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 17:09:26 +00:00
Andrew Nacin 598bb9952a Allow actual DB fields in WP_User_Query orderby. props duck, see #15816.
git-svn-id: https://develop.svn.wordpress.org/trunk@16953 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 16:51:38 +00:00
Andrew Nacin 26e0e1ab6f Admin bar blogname handling improvements. Kill visible property vestige. props ocean90, fixes #15308.
git-svn-id: https://develop.svn.wordpress.org/trunk@16952 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 16:48:06 +00:00