Commit Graph

18058 Commits

Author SHA1 Message Date
Ryan Boren b0f5b628cc Don't fire update checks for ajax requests. Props mitchoyoshitaka. fixes #13732
git-svn-id: https://develop.svn.wordpress.org/trunk@19693 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-05 22:46:32 +00:00
Jon Cave d43d6e5765 Stop quotes being incorrectly added to prepare placeholders in wpdb::_insert_replace_helper(). Fixes #19016.
git-svn-id: https://develop.svn.wordpress.org/trunk@19692 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-05 21:29:57 +00:00
Andrew Nacin 8d60951aa4 Use array_filter() to remove empty values from an array, not jankiness.
git-svn-id: https://develop.svn.wordpress.org/trunk@19691 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-05 21:22:44 +00:00
Andrew Nacin be1142f66f Update some old upgrade functions to use untrailingslashit().
git-svn-id: https://develop.svn.wordpress.org/trunk@19690 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-05 21:21:51 +00:00
Jon Cave 61c6ba8b70 s/add_user()/edit_user()/, see r19686 and #18749.
git-svn-id: https://develop.svn.wordpress.org/trunk@19689 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-05 21:02:42 +00:00
Andrew Nacin ddf13f09d1 This format isn't that strange.
git-svn-id: https://develop.svn.wordpress.org/trunk@19688 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-05 20:59:30 +00:00
Ryan Boren a8d77cbae9 User lowercase true, false, null instead of uppercase. Props c3mdigital, mfields. fixes #16302
git-svn-id: https://develop.svn.wordpress.org/trunk@19687 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-05 20:50:54 +00:00
Jon Cave c90c0e8600 Remove "the hackiest hack that ever did hack" from add_user(). wp_insert_user()/edit_user() can deal with adding new users of any defined role. Fixes #18749.
git-svn-id: https://develop.svn.wordpress.org/trunk@19686 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-05 20:38:40 +00:00
Ryan Boren 8c36bb6779 One newline is enough.
git-svn-id: https://develop.svn.wordpress.org/trunk@19685 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-05 20:13:03 +00:00
Ryan Boren 5e76729992 One newline is enough.
git-svn-id: https://develop.svn.wordpress.org/trunk@19684 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-05 20:10:39 +00:00
Ryan Boren f098107678 Check for plugin and theme updates more often when visitng update-core.php. Props kurtpayne. fixes #18876
git-svn-id: https://develop.svn.wordpress.org/trunk@19683 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-05 19:49:47 +00:00
Ryan Boren 7f92b7ec89 Allow pluggable arg checking in current_theme_supports. Props dd32. fixes #11611
git-svn-id: https://develop.svn.wordpress.org/trunk@19682 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-05 18:29:40 +00:00
Dion Hulse 112ed6af44 Revert Debug cruft from [19679], See #19249
git-svn-id: https://develop.svn.wordpress.org/trunk@19681 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-05 07:43:40 +00:00
Andrew Nacin 8b37e9a821 Fix typo in [19052]. Believe it or not, it worked as is. props TobiasBg.
git-svn-id: https://develop.svn.wordpress.org/trunk@19680 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-04 23:06:49 +00:00
Ryan Boren c855c642ea Clear strict notices for the walkers. fixes #19249
git-svn-id: https://develop.svn.wordpress.org/trunk@19679 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-04 23:03:46 +00:00
Ryan Boren 3e9c3dbed6 Introduce term_is_ancestor_of(). Finish taxonomy support for wp_insert_category(). Props garyc40. fixes #15581
git-svn-id: https://develop.svn.wordpress.org/trunk@19678 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-04 22:44:19 +00:00
Ryan Boren 01589f357d Use site_url() to link to wp-pass.php. Props dd32. fixes #14748
git-svn-id: https://develop.svn.wordpress.org/trunk@19677 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-04 20:05:39 +00:00
Ryan Boren 257a55c9b7 Use home_url() instead of site_url(). Props johnbillion. fixes #18293
git-svn-id: https://develop.svn.wordpress.org/trunk@19676 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-04 20:02:11 +00:00
Ryan Boren 0f2274ee75 Introduce sanitize_trackback_urls(). Don't ping bad urls. Don't ping bad urls or save them to the DB. Props xknown, SergeyBiryukov. fixes #17560
git-svn-id: https://develop.svn.wordpress.org/trunk@19675 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-04 19:45:13 +00:00
Ryan Boren f6b0e7e580 Use home_url() instead of site_url(). Props johnbillion. fixes #18293
git-svn-id: https://develop.svn.wordpress.org/trunk@19674 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-04 19:29:03 +00:00
Ryan Boren f1ec82c3a7 Update some @since. Props dgwyer. fixes #19638
git-svn-id: https://develop.svn.wordpress.org/trunk@19673 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-04 19:03:33 +00:00
Andrew Nacin 11628d33f7 Compress scripts/styles: 3.4-alpha-19672.
git-svn-id: https://develop.svn.wordpress.org/trunk@19672 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-04 17:50:23 +00:00
Andrew Nacin 48b1948bfe Merge Press This inline styles into wp-admin.css. fixes #19735.
git-svn-id: https://develop.svn.wordpress.org/trunk@19671 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-04 17:44:15 +00:00
Andrew Nacin 31be442135 Fix tabbing for comment reply and edit. see #19727, for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@19665 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-03 20:18:31 +00:00
Andrew Nacin e38e4e1046 Revert a piece of [19424], go back to cloning a div for adding images in Press This. props azaozz, see #19498 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@19664 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-03 19:05:05 +00:00
Andrew Nacin 9dc8284e9a Revert. Wasn't meant for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@19663 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-03 18:58:24 +00:00
Andrew Nacin 83b69a44d8 Fix header/message alignment in Press This. for trunk. see #19725.
git-svn-id: https://develop.svn.wordpress.org/trunk@19662 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-03 18:57:31 +00:00
Andrew Nacin 43f6f952b3 Properly handle a blank nav menu custom URL when determining what page we're on. see #19699 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@19657 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-03 18:15:16 +00:00
Andrew Nacin b5a9ad17b9 Add a space.
git-svn-id: https://develop.svn.wordpress.org/trunk@19656 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-03 18:06:03 +00:00
Andrew Nacin c2eb0dd98c Remove esc_js() as this content now gets json encoded rather than a straight echo. props ocean90. see #19644, for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@19655 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-03 18:04:56 +00:00
Andrew Nacin 64a967b0f0 Fix widget count on dashboard to account for orphaned widgets. see #19553 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@19653 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-03 17:53:31 +00:00
Andrew Nacin 8fd2ce80b6 Revert half of [19639]. If the blog_upload_space site_option is '0', restore 50 as a default. see #19538.
git-svn-id: https://develop.svn.wordpress.org/trunk@19652 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-03 17:24:51 +00:00
Ryan Boren 1c75e9a27b Trigger the wp_print_syles action from wp_print_styles() only when handles are not passed. Prevents front-end styles from leaking into the admin. Props nacin. see #19510 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@19649 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-02 22:32:00 +00:00
Ryan Boren 7e379cd9e5 Immediately close a flyout when opening another one. Prevents brief occurrence of two flyouts at once. Props SergeyBiryukov. fixes #19575 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@19647 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-02 21:49:58 +00:00
Ryan Boren bd7d650d48 Include class-smtp.php not class.smtp.php. fixes #19677
git-svn-id: https://develop.svn.wordpress.org/trunk@19642 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-02 20:44:04 +00:00
Andrew Nacin 6062dd1da4 An empty database prefix is not supported for multisite. <small>Add a sanity check anyway.</small> see #19566.
git-svn-id: https://develop.svn.wordpress.org/trunk@19641 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-30 23:22:09 +00:00
Andrew Nacin 2758e7fb6a Only allow _multisite_ super admins to demote themselves on a site. props linuxologos, see #19684 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@19640 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-30 23:13:48 +00:00
Andrew Nacin 3350723c21 Better checking for values for multisite upload limits. see #19538 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@19639 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-30 23:10:54 +00:00
Andrew Nacin 0e4935d078 Make sure that _render() is only called with a valid root object. As in, render() can only be validly called once and must not fail on the second call. props SergeyBiryukov, see #19642 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@19638 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-30 23:04:28 +00:00
Andrew Ozz 68ac3d9c93 Replace background image with CSS3 gradient in wp_die(), fixes #19701
git-svn-id: https://develop.svn.wordpress.org/trunk@19635 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-30 22:25:53 +00:00
Andrew Nacin 161b158172 Define WPINC in wp-load when wp-config does not exist. see #19651.
git-svn-id: https://develop.svn.wordpress.org/trunk@19633 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-29 18:45:01 +00:00
Peter Westwood a6ae2bbba5 Update PHPMailer to version 5.2. See #19677
git-svn-id: https://develop.svn.wordpress.org/trunk@19632 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-28 12:59:13 +00:00
Andrew Ozz 662639bbbe Editor: fix invalid nested lists, fix tabbing - Tab goes to Publish/Update, Shift + Tab goes back to Title, fixes #18261
git-svn-id: https://develop.svn.wordpress.org/trunk@19631 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-25 17:27:39 +00:00
Ryan Boren c29f1b7fee Remove Recently Updated from dash Plugins widget. see #19573
git-svn-id: https://develop.svn.wordpress.org/trunk@19630 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-23 00:26:58 +00:00
Ryan Boren aea340f3d8 About face. Revert [19628]. Gonna improve Plugins widget instead of tossing it. see #19573
git-svn-id: https://develop.svn.wordpress.org/trunk@19629 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-23 00:25:09 +00:00
Ryan Boren c736bcfacb Remove Plugins dashboard widget. fixes #19573
git-svn-id: https://develop.svn.wordpress.org/trunk@19628 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-22 21:57:21 +00:00
Ryan Boren f009eb7170 Remove 'Recently Updated' from plugin installer. Props nacin. see #19573
git-svn-id: https://develop.svn.wordpress.org/trunk@19627 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-22 21:21:57 +00:00
Jon Cave 7f6061b728 Show correct export date range for pages. The query should use provided $post_type instead of always 'post'. Props sorich87. Fixes #19312.
git-svn-id: https://develop.svn.wordpress.org/trunk@19626 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-22 12:08:26 +00:00
Ryan Boren 765078baac Assign the full WP_User object to the userdata global. Props scribu. fixes #19595
git-svn-id: https://develop.svn.wordpress.org/trunk@19624 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-21 20:07:54 +00:00
Ryan Boren cb374258bb Remove extraneuos newlines
git-svn-id: https://develop.svn.wordpress.org/trunk@19623 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-21 18:42:11 +00:00