Commit Graph

17822 Commits

Author SHA1 Message Date
Andrew Nacin 5176354f22 Use esc_url() rather than esc_attr() on a redirect-to URL. fixes #17243.
git-svn-id: https://develop.svn.wordpress.org/trunk@19033 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 23:41:07 +00:00
Andrew Nacin 08073035a6 Fix the current page default redirect in wp_login_form(). props kawauso, see #17243.
git-svn-id: https://develop.svn.wordpress.org/trunk@19032 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 23:40:09 +00:00
Ryan Boren b9215e193e Typo fix. Props SergeyBiryukov. see #18986
git-svn-id: https://develop.svn.wordpress.org/trunk@19031 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 21:41:54 +00:00
Jon Cave 939b085f54 Correct @param text ordering to put "Optional." in description, see r19019 and #18958. Also remove empty docblock tag.
git-svn-id: https://develop.svn.wordpress.org/trunk@19030 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 15:53:57 +00:00
Andrew Nacin 8eeafd948e Pass $post_id arg directly to get_post_thumbnail_id() from has_post_thumbnail(). The null/get_the_ID() check is already performed at that level of the stack. see #19012.
git-svn-id: https://develop.svn.wordpress.org/trunk@19029 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 15:11:49 +00:00
Andrew Nacin 1287ec492a Translated strings in attributes require esc_attr(). s/_e/esc_attr_e/g
git-svn-id: https://develop.svn.wordpress.org/trunk@19028 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 15:04:46 +00:00
Andrew Nacin 6355548ea2 Use wp_lostpassword_url() instead of site_url(wp-login...). Update wp_lostpassword_url() to use network_site_url(). props markoheijnen, fixes #18808.
git-svn-id: https://develop.svn.wordpress.org/trunk@19027 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 14:40:11 +00:00
Andrew Nacin 6387565b38 Remove code commented out in [19006]. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@19026 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 14:33:18 +00:00
Ryan Boren f4d5f4fceb Fix term counting for links. Props SergeyBiryukov. fixes #18986
git-svn-id: https://develop.svn.wordpress.org/trunk@19025 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 14:28:26 +00:00
Andrew Nacin fe4f927a80 Allow a super admin to demote themselves on a site to a role that does not contain the promote_users cap. props fonglh, fixes #18164.
git-svn-id: https://develop.svn.wordpress.org/trunk@19024 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 14:12:25 +00:00
Ryan Boren 3b167b98ae beta2 bump
git-svn-id: https://develop.svn.wordpress.org/trunk@19023 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 02:22:02 +00:00
Andrew Nacin e09cb12b87 Check for plugin/theme updates every hour when hitting update-core.php, not just themes.php/plugins.php. see #18876.
git-svn-id: https://develop.svn.wordpress.org/trunk@19022 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 00:23:35 +00:00
Andrew Nacin 4a275d129d Attach update hooks in the network admin. Accounts for the rare situation where the network admin is not the main site. props johnbillion, see #18876.
git-svn-id: https://develop.svn.wordpress.org/trunk@19021 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 00:15:21 +00:00
Andrew Nacin 420fe65fca Sanitize plural and singular args for list tables. props sbressler, fixes #18875.
git-svn-id: https://develop.svn.wordpress.org/trunk@19020 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 23:51:06 +00:00
Andrew Nacin c55e62a9ae Make $screen argument for add_meta_box() (previously $page) optional. see #18958.
git-svn-id: https://develop.svn.wordpress.org/trunk@19019 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 23:01:55 +00:00
Andrew Nacin 86638ed332 Use correct capture group in IIS7 multisite subdirectory rewrite rules. props carlospaulino, eduplessis, ruslany. fixes #17708.
git-svn-id: https://develop.svn.wordpress.org/trunk@19018 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 22:57:37 +00:00
Andrew Nacin d4bbfbad98 We know that pagename is being assigned to $matches-something, so skip the variable variable. props duck_. see #18991.
git-svn-id: https://develop.svn.wordpress.org/trunk@19017 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 22:49:45 +00:00
Ryan Boren 2c83b5728f Turn is_blog_user() into a wrapper around is_user_member_of_blog() and deprecate. Make user_id optional for is_user_member_of_blog(). Props SergeyBiryukov. fixes #16702
git-svn-id: https://develop.svn.wordpress.org/trunk@19016 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 22:35:15 +00:00
Andrew Nacin b3b1b00cff Strip out the show_wp_pointer_admin_bar for now. see #18693.
git-svn-id: https://develop.svn.wordpress.org/trunk@19015 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 21:52:14 +00:00
Andrew Nacin 6c8c746dbc Move welcome panel link to a 'Show on screen' checkbox. see #11651.
git-svn-id: https://develop.svn.wordpress.org/trunk@19014 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 21:43:21 +00:00
Ryan Boren 5914353c06 Update meta box functions to handle WP_Screen objects and pass objects instead of IDs to them in core files. Allow passing emptiness to get the current screen. see #18958
git-svn-id: https://develop.svn.wordpress.org/trunk@19013 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 21:43:02 +00:00
Jon Cave 0f36a1e33b Don't cache default value in get_site_option() for non-existent options. Fixes #18955.
git-svn-id: https://develop.svn.wordpress.org/trunk@19012 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 21:06:50 +00:00
Jon Cave d7ee58c7e2 Show the current post format in quick edit even if it's not supported. Props nacin, fixes #18083.
git-svn-id: https://develop.svn.wordpress.org/trunk@19011 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 17:48:07 +00:00
Mark Jaquith f32a070480 Use the correct capability check for taxonomies in Quick Edit. props lancewillett. fixes #18551
git-svn-id: https://develop.svn.wordpress.org/trunk@19010 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 17:08:57 +00:00
Daryl Koopersmith 9e0ccd9fdf In welcome panel, move periods outside of links. see #11651.
git-svn-id: https://develop.svn.wordpress.org/trunk@19009 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 17:05:12 +00:00
Andrew Ozz 9c3869b10b RTL CSS tweaks, see #18197
git-svn-id: https://develop.svn.wordpress.org/trunk@19008 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 16:58:46 +00:00
Daryl Koopersmith c1945d5c69 Welcome panel contents and functionality. see #11651.
git-svn-id: https://develop.svn.wordpress.org/trunk@19007 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 16:41:26 +00:00
Andrew Ozz 267579fc1e Bring the Appearance sub-menus on the front end one level up, see #18197
git-svn-id: https://develop.svn.wordpress.org/trunk@19006 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 16:32:26 +00:00
Andrew Nacin e50a297ef1 is_blog_user() is from MU. see #16702.
git-svn-id: https://develop.svn.wordpress.org/trunk@19005 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 15:56:05 +00:00
Ryan Boren 85c931dc32 Turn is_blog_user() into a convenience wrapper around get_blogs_of_user(). Fixes is_blog_user() for blog prefixes that do not contain a blog ID. Props SergeyBiryukov. fixes #16702
git-svn-id: https://develop.svn.wordpress.org/trunk@19004 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 15:53:14 +00:00
Andrew Nacin e9991fd203 Better padding and information on the plugins list on Dashboard/Updates. props otto42. fixes #17406.
git-svn-id: https://develop.svn.wordpress.org/trunk@19003 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 14:51:48 +00:00
Andrew Ozz ee0fa1e9fa Few more RTL fixes, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@19002 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 06:42:41 +00:00
Andrew Ozz cfbb3d30f5 Press This CSS cleanup, props andrewryno, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@19001 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 06:16:15 +00:00
Dion Hulse 81197a2dd5 Respect the Content-Type header developers pass to WP_HTTP. Fixes #18982
git-svn-id: https://develop.svn.wordpress.org/trunk@19000 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 04:48:00 +00:00
Ryan Boren cc9e6ecb65 Call wp_update_term_count() only for those terms that have been added to or removed from the object. Props jeremyclarke. fixes #18631
git-svn-id: https://develop.svn.wordpress.org/trunk@18999 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 21:01:55 +00:00
Ryan Boren 789dab3f20 Avoid 'Only variables should be passed by reference' warnings. Reverts [18110]. see #18975
git-svn-id: https://develop.svn.wordpress.org/trunk@18998 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 20:44:39 +00:00
Ryan Boren 9683b05c4e Avoid pass by ref warning. Props arena. see #18975
git-svn-id: https://develop.svn.wordpress.org/trunk@18997 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 20:38:18 +00:00
Andrew Nacin f95cb305ea Use get_intermediate_image_sizes() in image edit functions. props mau, fixes #17475.
git-svn-id: https://develop.svn.wordpress.org/trunk@18996 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 20:33:34 +00:00
Andrew Nacin 90f95e0204 new does not require by reference.
git-svn-id: https://develop.svn.wordpress.org/trunk@18995 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 20:20:59 +00:00
Andrew Nacin e8946bf56a Globalize everything in vars.php. props duck_. fixes #17749.
git-svn-id: https://develop.svn.wordpress.org/trunk@18994 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 19:44:00 +00:00
Andrew Nacin 0ea00a75d1 Explicitly globalize $table_prefix in wp-settings.php in case WordPress isn't loaded in global scope. Use $_SERVER['PHP_SELF'], not $PHP_SELF. We need to keep $PHP_SELF for backwards compatibility reasons (many, many plugins rely on it). props mrtorrent, fixes #17749.
git-svn-id: https://develop.svn.wordpress.org/trunk@18993 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 19:37:07 +00:00
Andrew Nacin c56c7320a3 Fix media/audio/file URL insertion. Strip slashes off title text. Leave red X to images only. fixes #14996. fixes #17578.
git-svn-id: https://develop.svn.wordpress.org/trunk@18992 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 19:32:40 +00:00
Ryan Boren 207cf186b6 Use get method for plugin search form. Avoid lingering notices. Props garyc40. fixes #16549
git-svn-id: https://develop.svn.wordpress.org/trunk@18991 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 19:18:08 +00:00
Ryan Boren 421ee5ebdd Don't filter taxonomy list. see #18983
git-svn-id: https://develop.svn.wordpress.org/trunk@18990 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 16:33:31 +00:00
Andrew Ozz 12dd9663fc Pointers: more airy drop shadow, see #18693
git-svn-id: https://develop.svn.wordpress.org/trunk@18989 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 07:43:40 +00:00
Andrew Ozz b6b775e4c3 Add some more documentation and prevent fatal error if a plugin tries to use 'dfw' second time, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18988 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 07:08:55 +00:00
Andrew Ozz 6bdce8d62f Pointers: add default width (400px) that fixes positioning in IE7, add href attrib to the Close link, see #18693
git-svn-id: https://develop.svn.wordpress.org/trunk@18987 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 07:03:31 +00:00
Dion Hulse 527935e883 Fix Undefined Variable Notices when no charset/collate is set for $wpdb. See #12028
git-svn-id: https://develop.svn.wordpress.org/trunk@18986 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 02:48:07 +00:00
Dion Hulse d2f80c9e5a Add the Tumblr importer to the Importers List. Fixes #18976
git-svn-id: https://develop.svn.wordpress.org/trunk@18985 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 02:32:28 +00:00
Ryan Boren fdbf2de4db Return to snack menu instead of full menu. Experiment over. see #18197
git-svn-id: https://develop.svn.wordpress.org/trunk@18984 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-17 22:06:31 +00:00