Commit Graph

9277 Commits

Author SHA1 Message Date
Andrew Nacin 844dd38b8f Use get_blog_prefix() in get_most_recent_post_of_user(). see #19891.
git-svn-id: https://develop.svn.wordpress.org/trunk@19748 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-25 00:09:30 +00:00
Andrew Nacin c8b1c822ce Remove copy-pasted comment from upload_is_user_over_quota()'s phpdoc. It came from recurse_dirsize(). see #19879.
git-svn-id: https://develop.svn.wordpress.org/trunk@19747 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-24 23:54:24 +00:00
Andrew Nacin 838bb8c0c5 s/parem/param/. props Latz. fixes #19823.
git-svn-id: https://develop.svn.wordpress.org/trunk@19744 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-24 21:52:49 +00:00
Jon Cave a9b6163795 Upgrade add_permastruct() to allow more control over WP_Rewrite::generate_rewrite_rules(). See #16092.
The third argument is now a configuration array that mirrors the parameters of generate_rewrite_rules()
and allows for add_permastruct() specific args (i.e. with_front). The full configuration is stored in
WP_Rewrite::$extra_permastructs to be used by WP_Rewrite::rewrite_rules().


git-svn-id: https://develop.svn.wordpress.org/trunk@19743 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-24 18:27:18 +00:00
Andrew Nacin 28cfc3cd49 Correct logic inversion. #19275.
git-svn-id: https://develop.svn.wordpress.org/trunk@19742 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-23 20:10:01 +00:00
Andrew Nacin 7140ded1cc Clean up and better document create_initial_taxonomies(). see #19275.
git-svn-id: https://develop.svn.wordpress.org/trunk@19741 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-23 19:58:26 +00:00
Andrew Nacin 05d413f123 Args is an object, not an array. props duck_, aaroncampbell. see #19275.
git-svn-id: https://develop.svn.wordpress.org/trunk@19740 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-23 19:32:39 +00:00
Andrew Nacin 8900888567 Add 'ep_mask' as an argument to the 'rewrite' array for register_post_type() and register_taxonomy(). Keeps 'permalink_epmask' compatible as an argument for post type registrations. Fixes endpoints for category and tag pages. fixes #19275.
git-svn-id: https://develop.svn.wordpress.org/trunk@19738 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-23 19:12:04 +00:00
Jon Cave 3652e88cad Set $paged and $walk_dirs to false in calls to WP_Rewrite::generate_rewrite_rules() for posts/pages. See #19876.
git-svn-id: https://develop.svn.wordpress.org/trunk@19737 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-23 19:03:56 +00:00
Jon Cave cf4e9851fe Simplify code in WP_Rewrite::page_rewrite_rules() and remove out-of-date documenation. Fixes #19875.
git-svn-id: https://develop.svn.wordpress.org/trunk@19736 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-22 17:21:29 +00:00
Ryan Boren 2aa4b228e3 Match the exact role name when counting users in a role. Props 082net. fixes #12693
git-svn-id: https://develop.svn.wordpress.org/trunk@19735 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-20 16:34:26 +00:00
Jon Cave d2306a693b Update hierarchy for all hierarchical post types when deleting a parent post, not just for pages. Fixes #19637.
git-svn-id: https://develop.svn.wordpress.org/trunk@19734 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-13 18:37:46 +00:00
Ryan Boren 77958da0d2 Update register_taxonomy_for_object_type() phpdoc to reflect that the post_type must be a string only, no arrays allowed. Props transom. fixes #19795
git-svn-id: https://develop.svn.wordpress.org/trunk@19730 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-11 21:39:01 +00:00
Ryan Boren 285247786e Use wp_cache_add() instead of wp_cache_set() when priming the object term cache in update_object_term_cache(). Pass the real post_type to clean_object_term_cache() instead of hard-coding post. Call clean_object_term_cache() from clean_bookmark_cache(). Props leewillis77. fixes #19690
git-svn-id: https://develop.svn.wordpress.org/trunk@19729 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-11 21:26:18 +00:00
Ryan Boren ee4f1cfe80 Hash post password in cookies. fixes #19797
git-svn-id: https://develop.svn.wordpress.org/trunk@19728 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-11 16:42:42 +00:00
Jon Cave 148329fecb Rewrite rules don't need to be flushed on every page save/delete as they're no longer verbose. Fixes #19636.
git-svn-id: https://develop.svn.wordpress.org/trunk@19727 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-10 22:55:38 +00:00
Jon Cave 156048ca52 split was deprecated in PHP 5.3.0, so use explode instead. Props garyc40. Fixes #16325.
git-svn-id: https://develop.svn.wordpress.org/trunk@19726 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-09 21:20:51 +00:00
Ryan Boren 55d6e7e261 Update wp_salt() phpdoc. fixes #18696
git-svn-id: https://develop.svn.wordpress.org/trunk@19725 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-09 20:52:08 +00:00
Ryan Boren dc3bccda20 Code cleanup in the paging block. Props kawauso. fixes #19773
git-svn-id: https://develop.svn.wordpress.org/trunk@19724 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-09 20:08:57 +00:00
Ryan Boren 3a1b732f51 Use microtime() for cron locks. fixes #19700
git-svn-id: https://develop.svn.wordpress.org/trunk@19722 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-09 19:02:31 +00:00
Andrew Nacin e1b429fd67 Add Twitter.com as an oEmbed provider. props Otto42. see #19626.
git-svn-id: https://develop.svn.wordpress.org/trunk@19721 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-09 17:43:48 +00:00
bumpbot 9a6f2ac850 Compress scripts/styles: 3.4-alpha-19719.
git-svn-id: https://develop.svn.wordpress.org/trunk@19719 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 23:27:39 +00:00
Daryl Koopersmith 13172523c0 Allow toolbar submenus to expand to the width of the parent item. Props camiloclc, fixes #19139.
git-svn-id: https://develop.svn.wordpress.org/trunk@19717 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 23:15:16 +00:00
bumpbot ddd5520132 Compress scripts/styles: 3.4-alpha-19716.
git-svn-id: https://develop.svn.wordpress.org/trunk@19716 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 23:05:52 +00:00
bumpbot 9b98915ea1 Compress scripts/styles: 3.4-alpha-19715.
git-svn-id: https://develop.svn.wordpress.org/trunk@19715 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 22:54:51 +00:00
bumpbot 4cc22ea2a6 Compress scripts/styles: 3.4-alpha-19713.
git-svn-id: https://develop.svn.wordpress.org/trunk@19714 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 22:53:10 +00:00
Daryl Koopersmith 430700d5db Improve pointer collision handling. fixes #19021.
git-svn-id: https://develop.svn.wordpress.org/trunk@19713 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 22:53:05 +00:00
Ryan Boren 2b186b0c45 Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: https://develop.svn.wordpress.org/trunk@19712 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 17:01:11 +00:00
Dion Hulse 3ff2213c55 use maybe_unserialize() in update and API checks, Tighten up the checks on expected return data to avoid processing invalid responses after change. See #19617
git-svn-id: https://develop.svn.wordpress.org/trunk@19707 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 03:48:05 +00:00
Andrew Nacin 921ba280d2 Expose default_ping_status and default_comment_status via XML-RPC. props daniloercoli. fixes #18566.
git-svn-id: https://develop.svn.wordpress.org/trunk@19706 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-07 19:08:48 +00:00
bumpbot 656fe02688 Compress scripts/styles: 3.4-alpha-19704.
git-svn-id: https://develop.svn.wordpress.org/trunk@19704 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-06 18:43:22 +00:00
Andrew Nacin ad1455dd33 Show cursor for the search icon. props jaquers. fixes #19594.
git-svn-id: https://develop.svn.wordpress.org/trunk@19703 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-06 18:33:40 +00:00
Jon Cave 760471a9a8 Fix mistakes in parameter documentation and add some missing param docs. See #19756.
git-svn-id: https://develop.svn.wordpress.org/trunk@19702 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-06 18:31:43 +00:00
Andrew Nacin a5ada1a537 about.php and friends for the global dashboard. see #19762.
git-svn-id: https://develop.svn.wordpress.org/trunk@19700 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-06 18:08:45 +00:00
Andrew Nacin 5ccd02fb01 Create a network/about.php page and leverage it, to prevent the dashboard from switching to the blog admin. fixes #19762.
git-svn-id: https://develop.svn.wordpress.org/trunk@19699 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-06 17:53:41 +00:00
Dion Hulse 0bef3ee02a Support custom HTTP Methods in WP_Http_Curl. Brings it in line with the other HTTP transports of respecting the requested method. Props zx2c4. Fixes #18589
git-svn-id: https://develop.svn.wordpress.org/trunk@19696 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-06 12:53:44 +00:00
Jon Cave 2cc75b6a05 Fix some mismatching parameter documentation. Props akshayagarwal, linuxologos. See #19756.
git-svn-id: https://develop.svn.wordpress.org/trunk@19695 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-06 11:42:00 +00:00
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 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
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
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 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 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
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 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
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 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
Peter Westwood ef0a93fea9 Make it possible for commenter cookies to be disabled if someone wants to by setting them on an action instead of always. Fixes #17976 props SergeyBiryukov and pishmishy .
git-svn-id: https://develop.svn.wordpress.org/trunk@19622 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-21 10:57:42 +00:00
Andrew Nacin 91c8097b3a Remove individual version numbers for core scripts and styles. Fall back to the WP version (well, that already happens). $wp_version should now be bumped (and soon will occur automatically). see #19592.
git-svn-id: https://develop.svn.wordpress.org/trunk@19621 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-21 05:40:09 +00:00
Andrew Nacin c895b6a2da Compress scripts/styles: 3.4-alpha-19620
git-svn-id: https://develop.svn.wordpress.org/trunk@19620 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-21 04:27:29 +00:00
Andrew Nacin b67e882926 Revert debug in [19618].
git-svn-id: https://develop.svn.wordpress.org/trunk@19619 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-21 04:24:59 +00:00
Andrew Nacin be103c148f '3.4-alpha-19618'
git-svn-id: https://develop.svn.wordpress.org/trunk@19618 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-21 04:22:21 +00:00
Andrew Nacin 1af5a43882 Hide the toolbar on all subsequent links in the theme preview. props linuxologos, fixes #19610.
git-svn-id: https://develop.svn.wordpress.org/trunk@19617 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-20 22:10:47 +00:00
Andrew Nacin 242f736374 s/is/if/. props ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@19616 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-20 22:06:34 +00:00
Andrew Nacin 3a4b632b28 get_bookmarks() doc fix. props hearvox, fixes #19508.
git-svn-id: https://develop.svn.wordpress.org/trunk@19615 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-20 22:01:43 +00:00
Andrew Nacin 483f3fd886 Gravatar emails should be trimmed before being lowered and hashed. props evansolomon. fixes #19614.
git-svn-id: https://develop.svn.wordpress.org/trunk@19614 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-20 22:00:44 +00:00
Andrew Nacin c671754b4f Disable the 8) smiley as it breaks regular text more than all of the others. props sksmatt. fixes #17122.
git-svn-id: https://develop.svn.wordpress.org/trunk@19613 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-20 21:46:19 +00:00
Andrew Nacin fa9f927d75 Ask for a float from microtime() for timer_start(), timer_stop(). Clarify docs. props solarissmoke, fixes #19157.
git-svn-id: https://develop.svn.wordpress.org/trunk@19611 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-20 21:36:53 +00:00
Andrew Nacin 0180cd8072 URLs should be trailing-slashed. fixes #19427.
git-svn-id: https://develop.svn.wordpress.org/trunk@19610 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-20 21:27:32 +00:00
Andrew Nacin 923ee213c9 Update since. see #18845.
git-svn-id: https://develop.svn.wordpress.org/trunk@19608 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-20 20:59:03 +00:00
Andrew Nacin 16c7792717 Add `__return_null()` to complement the existing true, false, zero, and empty array methods. props johnbillion, fixes #18845.
git-svn-id: https://develop.svn.wordpress.org/trunk@19607 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-20 20:58:30 +00:00
Andrew Nacin 660ee2f9a0 Bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@19606 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-20 20:57:46 +00:00
Andrew Nacin bcf1be2ce1 hoverIntent r6. fixes #19311.
git-svn-id: https://develop.svn.wordpress.org/trunk@19605 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-20 20:54:54 +00:00
Andrew Nacin 24a1c0ab4a Fix notice when viewing a post preview logged out. props SergeyBiryukov, fixes #19366.
git-svn-id: https://develop.svn.wordpress.org/trunk@19604 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-20 20:46:06 +00:00
Ryan Boren 93d4783778 Move option, setting, and transient functions from functions.php to option.php. see #19552
git-svn-id: https://develop.svn.wordpress.org/trunk@19602 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-19 23:15:32 +00:00
Andrew Nacin e8dfdea633 Correct the documentation for balanceTags(). props mdawaffe, fixes #19576.
git-svn-id: https://develop.svn.wordpress.org/trunk@19601 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-16 20:57:05 +00:00
Andrew Nacin bb574e4d80 term_exists() @return correction. props johnbillion, fixes #19565.
git-svn-id: https://develop.svn.wordpress.org/trunk@19600 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-16 20:56:14 +00:00
Dion Hulse 5f0ae29771 Use is_ssl() in self_link(). Fixes #19563
git-svn-id: https://develop.svn.wordpress.org/trunk@19598 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-16 02:48:02 +00:00
Ryan Boren 54067a5f20 Remove extraneous spaces. Props kenan3008, dimadin. fixes #19501 #19433
git-svn-id: https://develop.svn.wordpress.org/trunk@19596 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-14 17:36:38 +00:00
Ryan Boren b5976a8597 Trunk is now 3.4 alpha
git-svn-id: https://develop.svn.wordpress.org/trunk@19594 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-13 23:47:39 +00:00
Ryan Boren 676ba7043e Use one space, not two, after trailing punctuation. fixes #19537
git-svn-id: https://develop.svn.wordpress.org/trunk@19593 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-13 23:45:31 +00:00
Ryan Boren 10099bb8b7 3.3
git-svn-id: https://develop.svn.wordpress.org/trunk@19590 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-12 22:20:00 +00:00
Ryan Boren cbe33310ba 19589 bump
git-svn-id: https://develop.svn.wordpress.org/trunk@19589 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-12 20:26:14 +00:00
Ryan Boren 2d69c27fe7 RC3 bump
git-svn-id: https://develop.svn.wordpress.org/trunk@19587 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-11 00:07:58 +00:00
Andrew Nacin 8f50557a1b Hover state for the Add New admin bar icon. props johnjamesjacoby. fixes #19475.
git-svn-id: https://develop.svn.wordpress.org/trunk@19578 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-09 19:20:47 +00:00
Ryan Boren d26f0a4c40 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@19577 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-08 23:02:33 +00:00
Ryan Boren fd6da21752 RTL fixes for the about page. Props helenyhou, SergeyBiryukov. fixes #19477
git-svn-id: https://develop.svn.wordpress.org/trunk@19575 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-08 22:50:17 +00:00
Andrew Nacin 248eba8b48 Remove wp_add_script_before() from 3.3. Continue to use wp_localize_script() for your data-passing needs. fixes #11520.
git-svn-id: https://develop.svn.wordpress.org/trunk@19573 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-08 20:46:58 +00:00
Ryan Boren b12903ce74 RC2-19567 bump
git-svn-id: https://develop.svn.wordpress.org/trunk@19567 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-07 02:01:35 +00:00
Andrew Ozz 1e9cdbab06 Toolbar fix bg color in IE8 & 9 folded search box and IE7 search box size, see #19424
git-svn-id: https://develop.svn.wordpress.org/trunk@19566 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-07 01:18:23 +00:00
Andrew Nacin 194efdce56 Compress and bump colors.
git-svn-id: https://develop.svn.wordpress.org/trunk@19565 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-07 01:06:02 +00:00
Ryan Boren e3bd8c4224 RC2 bump
git-svn-id: https://develop.svn.wordpress.org/trunk@19562 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-06 22:38:32 +00:00
Andrew Ozz 0c987903ca Fix position of icons in Opera RTL, see #19424
git-svn-id: https://develop.svn.wordpress.org/trunk@19561 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-06 22:37:28 +00:00
Ryan Boren e08ad42704 Introduce user-actions group and move profile and logout menu items to it and change priority. Props koopersmith. fixes #19425
git-svn-id: https://develop.svn.wordpress.org/trunk@19559 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-06 03:51:58 +00:00
Ryan Boren 2bf922daf5 Admin bar API improvements. Props koopersmith. fixes #19416 #19371
git-svn-id: https://develop.svn.wordpress.org/trunk@19558 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-06 03:42:11 +00:00
Andrew Nacin 4f52e31eb0 Copy xit.gif to wp-includes/images for work with pointers CSS. fixes #19441.
git-svn-id: https://develop.svn.wordpress.org/trunk@19557 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-06 02:39:53 +00:00
Ryan Boren e18515a5a1 Don't drop dollars. see #19426
git-svn-id: https://develop.svn.wordpress.org/trunk@19556 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-06 00:46:03 +00:00
Ryan Boren 286193bb4f Add back compat support for my-account-with-avatar admin bar node id. fixes #19426
git-svn-id: https://develop.svn.wordpress.org/trunk@19555 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-06 00:31:11 +00:00
Ryan Boren af3c2508fd New icon for feature pointers. Props EmpireofLight. see #19422
git-svn-id: https://develop.svn.wordpress.org/trunk@19554 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-05 21:49:48 +00:00
Ryan Boren f4e523da79 Add missing comma to selector. Props nacin. fixes #19436
git-svn-id: https://develop.svn.wordpress.org/trunk@19553 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-05 20:56:45 +00:00
Ryan Boren d21aeffa22 Force display:inline for wpadminbar avatar image to avoid stomping by themes. Props ocean90. fixes #19435
git-svn-id: https://develop.svn.wordpress.org/trunk@19552 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-05 20:54:55 +00:00
Ryan Boren b77b55fd56 Admin bar RTL fixes for icon and search styling. Props koopersmith. fixes #19424
git-svn-id: https://develop.svn.wordpress.org/trunk@19551 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-05 20:51:41 +00:00
Ryan Boren bfbe65d2b1 Remove separator from appearance group. Props koopersmith. fixes #19351
git-svn-id: https://develop.svn.wordpress.org/trunk@19550 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-05 20:49:51 +00:00
Ryan Boren 7054e89150 Fetch 16x16 avatar, not 28x28. Props linuxologos. fixes #19421
git-svn-id: https://develop.svn.wordpress.org/trunk@19549 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-05 20:47:12 +00:00
Andrew Ozz 6bd61a831e Remove role="menu" and role="menuitem" for now, fixes #19394
git-svn-id: https://develop.svn.wordpress.org/trunk@19548 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-05 17:47:23 +00:00
Peter Westwood 62719b3438 Revert [18592] because there are issues to solve with autop/shortcode parsing ordering before we add this. See #10457 and #19411
git-svn-id: https://develop.svn.wordpress.org/trunk@19547 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-03 09:35:38 +00:00
Andrew Ozz 9a25719b36 Make the Add new Category fields up to 260px wide, fixes #19339
git-svn-id: https://develop.svn.wordpress.org/trunk@19546 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-02 21:49:37 +00:00
Andrew Nacin 9d6b2c72a4 Don't restrict width of the Parent Taxonomy dropdown. props jgadbois, fixes #19339.
git-svn-id: https://develop.svn.wordpress.org/trunk@19544 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-02 20:32:45 +00:00
Andrew Nacin bbfbdeaad0 CSS for the about.php point release changelog. props chexee, fixes #19346.
git-svn-id: https://develop.svn.wordpress.org/trunk@19542 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-02 17:21:24 +00:00
Andrew Nacin ace5cce282 Admin bar styling: Ensure text next to icon stays visible on focus when jQuery is not loaded. props koopersmith, linuxologos, fixes #19410.
git-svn-id: https://develop.svn.wordpress.org/trunk@19540 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-02 17:15:02 +00:00
Andrew Nacin ed9595bce5 Bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@19537 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-02 00:15:16 +00:00
Andrew Ozz cd59832859 Make sure editor-buttons.css is loaded even if tiny_mce.js is used directly and the wp_theme skin is selected in the settings, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@19533 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 21:27:19 +00:00
Ryan Boren 2da096b18c RC1 bump
git-svn-id: https://develop.svn.wordpress.org/trunk@19531 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 05:13:33 +00:00
Ryan Boren 6610e321e7 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@19528 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 04:51:35 +00:00
Andrew Nacin 099603c7f2 Remove code that is dead as of [19523].
git-svn-id: https://develop.svn.wordpress.org/trunk@19526 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 04:43:17 +00:00
Daryl Koopersmith f2eea34463 Update search icon in toolbar to match other icons. props chexee, fixes #19404.
git-svn-id: https://develop.svn.wordpress.org/trunk@19525 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 04:43:06 +00:00
Ryan Boren 427cd23c67 Remove new-secondary-object group from toolbar New content menu.
git-svn-id: https://develop.svn.wordpress.org/trunk@19523 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 04:32:33 +00:00
Daryl Koopersmith 345b3b943a Remove the shortlink item from the toolbar, but keep the function for plugins. fixes #19407.
git-svn-id: https://develop.svn.wordpress.org/trunk@19519 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 03:25:54 +00:00
Daryl Koopersmith c6003cf37b In toolbar, move search item to the right of the account menu and make it icon-only. fixes #19370, #19406.
git-svn-id: https://develop.svn.wordpress.org/trunk@19518 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 03:03:12 +00:00
Daryl Koopersmith 0961b15abe Add titles to toolbar W and Account items. props DrewAPicture, see #19404.
git-svn-id: https://develop.svn.wordpress.org/trunk@19517 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 02:55:53 +00:00
Daryl Koopersmith c47ea8d881 Update icons in toolbar: WP logo, comments, update, add new. props empireoflight, JohnONolan, fixes #19404.
git-svn-id: https://develop.svn.wordpress.org/trunk@19516 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 02:53:44 +00:00
Andrew Ozz 4b0fc55339 Include wp-admin-bar-secondary-* when closing non-current submenus, see #19394
git-svn-id: https://develop.svn.wordpress.org/trunk@19508 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 01:07:43 +00:00
Andrew Ozz 70dadbd5e8 When tabbing: on Enter open the current submenu and close other submenus if open, see #19394
git-svn-id: https://develop.svn.wordpress.org/trunk@19505 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 00:43:18 +00:00
Andrew Nacin 69a34ae62d They call me multisite. props ryan, zeo. see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19504 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 00:36:19 +00:00
Andrew Nacin d36315ee66 Finalize the WP_Admin_Bar architecture for 3.3.
* Introduce a get_node() method for plugins.
 * Deprecate $wp_admin_bar->menu. Plugins will need to use get_node(), remove_node(), add_node() to make modifications. This finalizes a backwards incompatible change made earlier in the cycle.
 * Allow add_node() to take a node object (which could come from get_node(), then be modified).
 * Ensure that our underlying storage (the nodes property) is private to core. Introduce _set_node, _unset_node, _get_nodes, get_nodes as the only ways to interface with this.
 * Protect and finalize _render_item, and _render_group. render() remains public and technically overridable, though I would discourage this of plugin authors.
 * Deprecate recursive_render(). Use render() or _render_item().

More about the internals:
 * Late-binds a node's 'children' array.
 * Eliminates the root property, leverages a 'root' node.
 * Splits render() into _bind() and _render(), both protected and finalized.

Fixes #19371.


git-svn-id: https://develop.svn.wordpress.org/trunk@19501 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 00:25:04 +00:00
Daryl Koopersmith cc83fb57bc Begin to generalize toolbar icon CSS. see #19404.
git-svn-id: https://develop.svn.wordpress.org/trunk@19500 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 00:16:17 +00:00
Daryl Koopersmith fffc2eee5c Print title attributes for linkless toolbar items. see #19277.
git-svn-id: https://develop.svn.wordpress.org/trunk@19499 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 23:59:10 +00:00
Jon Cave 09db1af4f8 Move awaiting moderation title to the .ab-item link so that it's easier to display. Fixes #19403.
git-svn-id: https://develop.svn.wordpress.org/trunk@19497 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 21:59:18 +00:00
Daryl Koopersmith 1e4740ae48 Optimize about pages for a lovely 960px semi-fluid grid. props helenyhou, fixes #19386.
git-svn-id: https://develop.svn.wordpress.org/trunk@19495 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 21:19:39 +00:00
Andrew Ozz 291a5ed05b Fix css selectors mismatch in Press This, see #19341
git-svn-id: https://develop.svn.wordpress.org/trunk@19492 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 17:51:34 +00:00
Andrew Nacin e729204a30 Remove margin from h3's in press this. fixes #19341.
git-svn-id: https://develop.svn.wordpress.org/trunk@19491 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 16:44:36 +00:00
Andrew Ozz 2ea24cca39 When the submenu is too long to fit on the screen, place the top if it under the admin bar (the rest is scrollable with a wheel mouse), fixes #19323
git-svn-id: https://develop.svn.wordpress.org/trunk@19487 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 03:37:15 +00:00
Andrew Ozz f7dbae661c Add tabbing JS to the admin menu, same functionality as the top menu, see #19394
git-svn-id: https://develop.svn.wordpress.org/trunk@19485 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 02:15:24 +00:00
Andrew Ozz a13312c624 Add ARIA related attributes (first take), props DrewAPicture, see #19394
git-svn-id: https://develop.svn.wordpress.org/trunk@19484 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 01:27:33 +00:00
Andrew Ozz 83aa770282 Fix the tabbing JS to work as described in the W3 ARIA draft: Tab to select, Enter to show submenu, Esc to close submenu, return to top menu and focus it. See #19394
git-svn-id: https://develop.svn.wordpress.org/trunk@19483 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 01:21:38 +00:00
Daryl Koopersmith dfc7eb6125 Don't open a pointer when the target element is hidden. fixes #19357.
git-svn-id: https://develop.svn.wordpress.org/trunk@19482 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-29 19:43:24 +00:00
Andrew Nacin 3118dd18d7 Call preventDefault() on pointer 'Dismiss'. props SergeyBiryukov, johnbillion, fixes #19361.
git-svn-id: https://develop.svn.wordpress.org/trunk@19481 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-29 18:56:13 +00:00
Daryl Koopersmith 666e76c5dc Prevent misshapen background from appearing when admin-bar user info item is focused. props duck_, fixes #19356.
git-svn-id: https://develop.svn.wordpress.org/trunk@19480 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-29 18:49:30 +00:00
Daryl Koopersmith cb67dee04e Optimize about screen for 960px width. props chexee, fixes #19386.
git-svn-id: https://develop.svn.wordpress.org/trunk@19479 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-29 18:40:34 +00:00
Andrew Nacin e455e2691b Fix tags suggest for bulk edit, for post_type post and taxonomy post_tag. Address all non-hierarchical taxonomies in 3.4. fixes #19716, props scottbasgaard.
git-svn-id: https://develop.svn.wordpress.org/trunk@19478 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-29 18:25:49 +00:00
Andrew Ozz b8a1940ac7 Prevent error in autosave for CPTs without title or editor, props sorich87, fixes #18227
git-svn-id: https://develop.svn.wordpress.org/trunk@19476 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-29 18:06:56 +00:00
Ryan Boren ef187a99f6 Initialize active_sitewide_plugins during network install and upgrade. fixes #19385
git-svn-id: https://develop.svn.wordpress.org/trunk@19470 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 20:35:36 +00:00
Andrew Nacin 447d1d7b96 Don't open a pointer when the target element is hidden. see #19357.
git-svn-id: https://develop.svn.wordpress.org/trunk@19467 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 17:50:49 +00:00