Commit Graph

9241 Commits

Author SHA1 Message Date
duck_
34b7010df8 Fix some mismatching parameter documentation. Props akshayagarwal, linuxologos. See #19756.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-06 11:42:00 +00:00
ryan
5849122174 Don't fire update checks for ajax requests. Props mitchoyoshitaka. fixes #13732
git-svn-id: http://svn.automattic.com/wordpress/trunk@19693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 22:46:32 +00:00
duck_
a95ad847db Stop quotes being incorrectly added to prepare placeholders in wpdb::_insert_replace_helper(). Fixes #19016.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 21:29:57 +00:00
nacin
6f8cc7b02d This format isn't that strange.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 20:59:30 +00:00
ryan
83b131f8e3 User lowercase true, false, null instead of uppercase. Props c3mdigital, mfields. fixes #16302
git-svn-id: http://svn.automattic.com/wordpress/trunk@19687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 20:50:54 +00:00
ryan
d76cd7d965 One newline is enough.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 20:13:03 +00:00
ryan
616c35e71c One newline is enough.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 20:10:39 +00:00
ryan
fafe61b247 Check for plugin and theme updates more often when visitng update-core.php. Props kurtpayne. fixes #18876
git-svn-id: http://svn.automattic.com/wordpress/trunk@19683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 19:49:47 +00:00
ryan
f809fda4e7 Allow pluggable arg checking in current_theme_supports. Props dd32. fixes #11611
git-svn-id: http://svn.automattic.com/wordpress/trunk@19682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 18:29:40 +00:00
dd32
9a4be393ec Revert Debug cruft from [19679], See #19249
git-svn-id: http://svn.automattic.com/wordpress/trunk@19681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 07:43:40 +00:00
ryan
fd1393ab7a Clear strict notices for the walkers. fixes #19249
git-svn-id: http://svn.automattic.com/wordpress/trunk@19679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-04 23:03:46 +00:00
ryan
85304c2dc7 Introduce term_is_ancestor_of(). Finish taxonomy support for wp_insert_category(). Props garyc40. fixes #15581
git-svn-id: http://svn.automattic.com/wordpress/trunk@19678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-04 22:44:19 +00:00
ryan
5b9144b12d Use site_url() to link to wp-pass.php. Props dd32. fixes #14748
git-svn-id: http://svn.automattic.com/wordpress/trunk@19677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-04 20:05:39 +00:00
ryan
3eaf083995 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: http://svn.automattic.com/wordpress/trunk@19675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-04 19:45:13 +00:00
ryan
aa8a3f89d8 Use home_url() instead of site_url(). Props johnbillion. fixes #18293
git-svn-id: http://svn.automattic.com/wordpress/trunk@19674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-04 19:29:03 +00:00
ryan
d1ba11c7d1 Update some @since. Props dgwyer. fixes #19638
git-svn-id: http://svn.automattic.com/wordpress/trunk@19673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-04 19:03:33 +00:00
nacin
8323ba5cc7 Compress scripts/styles: 3.4-alpha-19672.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-04 17:50:23 +00:00
nacin
cf981b4f25 Properly handle a blank nav menu custom URL when determining what page we're on. see #19699 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-03 18:15:16 +00:00
ryan
eeb71b5499 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: http://svn.automattic.com/wordpress/trunk@19649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-02 22:32:00 +00:00
ryan
85dff92772 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: http://svn.automattic.com/wordpress/trunk@19647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-02 21:49:58 +00:00
ryan
98a96139df Include class-smtp.php not class.smtp.php. fixes #19677
git-svn-id: http://svn.automattic.com/wordpress/trunk@19642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-02 20:44:04 +00:00
nacin
dcd09d51eb An empty database prefix is not supported for multisite. <small>Add a sanity check anyway.</small> see #19566.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-30 23:22:09 +00:00
nacin
aa3cf9d286 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: http://svn.automattic.com/wordpress/trunk@19638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-30 23:04:28 +00:00
azaozz
fd53358005 Replace background image with CSS3 gradient in wp_die(), fixes #19701
git-svn-id: http://svn.automattic.com/wordpress/trunk@19635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-30 22:25:53 +00:00
westi
418b10e5ae Update PHPMailer to version 5.2. See #19677
git-svn-id: http://svn.automattic.com/wordpress/trunk@19632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-28 12:59:13 +00:00
azaozz
0ccbc9acdd Editor: fix invalid nested lists, fix tabbing - Tab goes to Publish/Update, Shift + Tab goes back to Title, fixes #18261
git-svn-id: http://svn.automattic.com/wordpress/trunk@19631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-25 17:27:39 +00:00
ryan
b20fbf6fd1 Assign the full WP_User object to the userdata global. Props scribu. fixes #19595
git-svn-id: http://svn.automattic.com/wordpress/trunk@19624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-21 20:07:54 +00:00
ryan
c924060858 Remove extraneuos newlines
git-svn-id: http://svn.automattic.com/wordpress/trunk@19623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-21 18:42:11 +00:00
westi
c39397033a 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: http://svn.automattic.com/wordpress/trunk@19622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-21 10:57:42 +00:00
nacin
f30bdb9387 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: http://svn.automattic.com/wordpress/trunk@19621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-21 05:40:09 +00:00
nacin
9a62c5781c Compress scripts/styles: 3.4-alpha-19620
git-svn-id: http://svn.automattic.com/wordpress/trunk@19620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-21 04:27:29 +00:00
nacin
a13cb6e2ba Revert debug in [19618].
git-svn-id: http://svn.automattic.com/wordpress/trunk@19619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-21 04:24:59 +00:00
nacin
212e7bfc01 '3.4-alpha-19618'
git-svn-id: http://svn.automattic.com/wordpress/trunk@19618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-21 04:22:21 +00:00
nacin
3f890507d4 Hide the toolbar on all subsequent links in the theme preview. props linuxologos, fixes #19610.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-20 22:10:47 +00:00
nacin
d56fe066da s/is/if/. props ocean90.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-20 22:06:34 +00:00
nacin
97c1b24db9 get_bookmarks() doc fix. props hearvox, fixes #19508.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-20 22:01:43 +00:00
nacin
2454f5b0d9 Gravatar emails should be trimmed before being lowered and hashed. props evansolomon. fixes #19614.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-20 22:00:44 +00:00
nacin
20be787163 Disable the 8) smiley as it breaks regular text more than all of the others. props sksmatt. fixes #17122.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-20 21:46:19 +00:00
nacin
6424c5b733 Ask for a float from microtime() for timer_start(), timer_stop(). Clarify docs. props solarissmoke, fixes #19157.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-20 21:36:53 +00:00
nacin
827f57ce22 URLs should be trailing-slashed. fixes #19427.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-20 21:27:32 +00:00
nacin
0fd8ef6b71 Update since. see #18845.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-20 20:59:03 +00:00
nacin
bf1ff3c7e6 Add __return_null() to complement the existing true, false, zero, and empty array methods. props johnbillion, fixes #18845.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-20 20:58:30 +00:00
nacin
8499eb25a7 Bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-20 20:57:46 +00:00
nacin
8c03368eb4 hoverIntent r6. fixes #19311.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-20 20:54:54 +00:00
nacin
3dc9933800 Fix notice when viewing a post preview logged out. props SergeyBiryukov, fixes #19366.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-20 20:46:06 +00:00
ryan
24ab16bc4e Move option, setting, and transient functions from functions.php to option.php. see #19552
git-svn-id: http://svn.automattic.com/wordpress/trunk@19602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-19 23:15:32 +00:00
nacin
2ba0d300c4 Correct the documentation for balanceTags(). props mdawaffe, fixes #19576.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-16 20:57:05 +00:00
nacin
03d21f6606 term_exists() @return correction. props johnbillion, fixes #19565.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-16 20:56:14 +00:00
dd32
2ca702c17b Use is_ssl() in self_link(). Fixes #19563
git-svn-id: http://svn.automattic.com/wordpress/trunk@19598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-16 02:48:02 +00:00
ryan
340e93324c Remove extraneous spaces. Props kenan3008, dimadin. fixes #19501 #19433
git-svn-id: http://svn.automattic.com/wordpress/trunk@19596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-14 17:36:38 +00:00
ryan
95754aacc9 Trunk is now 3.4 alpha
git-svn-id: http://svn.automattic.com/wordpress/trunk@19594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-13 23:47:39 +00:00
ryan
07ff8b216b Use one space, not two, after trailing punctuation. fixes #19537
git-svn-id: http://svn.automattic.com/wordpress/trunk@19593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-13 23:45:31 +00:00
ryan
6b581a9cdf 3.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@19590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-12 22:20:00 +00:00
ryan
3cc99932d1 19589 bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@19589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-12 20:26:14 +00:00
ryan
d86ef20be1 RC3 bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@19587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-11 00:07:58 +00:00
nacin
ec305a2ee0 Hover state for the Add New admin bar icon. props johnjamesjacoby. fixes #19475.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-09 19:20:47 +00:00
ryan
9d03183e6d Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@19577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-08 23:02:33 +00:00
ryan
fc5c8d52d4 RTL fixes for the about page. Props helenyhou, SergeyBiryukov. fixes #19477
git-svn-id: http://svn.automattic.com/wordpress/trunk@19575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-08 22:50:17 +00:00
nacin
60dc347247 Remove wp_add_script_before() from 3.3. Continue to use wp_localize_script() for your data-passing needs. fixes #11520.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-08 20:46:58 +00:00
ryan
fb30040315 RC2-19567 bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@19567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-07 02:01:35 +00:00
azaozz
51da683ed1 Toolbar fix bg color in IE8 & 9 folded search box and IE7 search box size, see #19424
git-svn-id: http://svn.automattic.com/wordpress/trunk@19566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-07 01:18:23 +00:00
nacin
958b4d73b7 Compress and bump colors.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-07 01:06:02 +00:00
ryan
3d8b4c01de RC2 bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@19562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-06 22:38:32 +00:00
azaozz
2896a54e03 Fix position of icons in Opera RTL, see #19424
git-svn-id: http://svn.automattic.com/wordpress/trunk@19561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-06 22:37:28 +00:00
ryan
d295e6e600 Introduce user-actions group and move profile and logout menu items to it and change priority. Props koopersmith. fixes #19425
git-svn-id: http://svn.automattic.com/wordpress/trunk@19559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-06 03:51:58 +00:00
ryan
06a1675a3c Admin bar API improvements. Props koopersmith. fixes #19416 #19371
git-svn-id: http://svn.automattic.com/wordpress/trunk@19558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-06 03:42:11 +00:00
nacin
086828df52 Copy xit.gif to wp-includes/images for work with pointers CSS. fixes #19441.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-06 02:39:53 +00:00
ryan
0112c9d628 Don't drop dollars. see #19426
git-svn-id: http://svn.automattic.com/wordpress/trunk@19556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-06 00:46:03 +00:00
ryan
a39bffbadb Add back compat support for my-account-with-avatar admin bar node id. fixes #19426
git-svn-id: http://svn.automattic.com/wordpress/trunk@19555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-06 00:31:11 +00:00
ryan
32ff2db6dd New icon for feature pointers. Props EmpireofLight. see #19422
git-svn-id: http://svn.automattic.com/wordpress/trunk@19554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-05 21:49:48 +00:00
ryan
ebc1019651 Add missing comma to selector. Props nacin. fixes #19436
git-svn-id: http://svn.automattic.com/wordpress/trunk@19553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-05 20:56:45 +00:00
ryan
816aaad78a Force display:inline for wpadminbar avatar image to avoid stomping by themes. Props ocean90. fixes #19435
git-svn-id: http://svn.automattic.com/wordpress/trunk@19552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-05 20:54:55 +00:00
ryan
d88fcedd1b Admin bar RTL fixes for icon and search styling. Props koopersmith. fixes #19424
git-svn-id: http://svn.automattic.com/wordpress/trunk@19551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-05 20:51:41 +00:00
ryan
6171f93c83 Remove separator from appearance group. Props koopersmith. fixes #19351
git-svn-id: http://svn.automattic.com/wordpress/trunk@19550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-05 20:49:51 +00:00
ryan
ef651a80dd Fetch 16x16 avatar, not 28x28. Props linuxologos. fixes #19421
git-svn-id: http://svn.automattic.com/wordpress/trunk@19549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-05 20:47:12 +00:00
azaozz
f6047c397e Remove role="menu" and role="menuitem" for now, fixes #19394
git-svn-id: http://svn.automattic.com/wordpress/trunk@19548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-05 17:47:23 +00:00
westi
1ff56e0182 Revert [18592] because there are issues to solve with autop/shortcode parsing ordering before we add this. See #10457 and #19411
git-svn-id: http://svn.automattic.com/wordpress/trunk@19547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-03 09:35:38 +00:00
azaozz
01fa7bdf7f Make the Add new Category fields up to 260px wide, fixes #19339
git-svn-id: http://svn.automattic.com/wordpress/trunk@19546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-02 21:49:37 +00:00
nacin
b000d19be4 Don't restrict width of the Parent Taxonomy dropdown. props jgadbois, fixes #19339.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-02 20:32:45 +00:00
nacin
35d5377887 CSS for the about.php point release changelog. props chexee, fixes #19346.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-02 17:21:24 +00:00
nacin
a07b95a5f3 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: http://svn.automattic.com/wordpress/trunk@19540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-02 17:15:02 +00:00
nacin
ba2c5fd001 Bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-02 00:15:16 +00:00
azaozz
f8d2a35aaa 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: http://svn.automattic.com/wordpress/trunk@19533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 21:27:19 +00:00
ryan
d224992729 RC1 bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@19531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 05:13:33 +00:00
ryan
6bba5a265b Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@19528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 04:51:35 +00:00
nacin
2cee887c0b Remove code that is dead as of [19523].
git-svn-id: http://svn.automattic.com/wordpress/trunk@19526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 04:43:17 +00:00
koopersmith
c06518a851 Update search icon in toolbar to match other icons. props chexee, fixes #19404.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 04:43:06 +00:00
ryan
94f091afb9 Remove new-secondary-object group from toolbar New content menu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 04:32:33 +00:00
koopersmith
74e1b3ea68 Remove the shortlink item from the toolbar, but keep the function for plugins. fixes #19407.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 03:25:54 +00:00
koopersmith
39ac39ef2c In toolbar, move search item to the right of the account menu and make it icon-only. fixes #19370, #19406.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 03:03:12 +00:00
koopersmith
f54aba9b06 Add titles to toolbar W and Account items. props DrewAPicture, see #19404.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 02:55:53 +00:00
koopersmith
9fdd8c9301 Update icons in toolbar: WP logo, comments, update, add new. props empireoflight, JohnONolan, fixes #19404.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 02:53:44 +00:00
azaozz
5a1ddc6e4a Include wp-admin-bar-secondary-* when closing non-current submenus, see #19394
git-svn-id: http://svn.automattic.com/wordpress/trunk@19508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 01:07:43 +00:00
azaozz
6e11173bd4 When tabbing: on Enter open the current submenu and close other submenus if open, see #19394
git-svn-id: http://svn.automattic.com/wordpress/trunk@19505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 00:43:18 +00:00
nacin
cc50764a8b They call me multisite. props ryan, zeo. see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 00:36:19 +00:00
nacin
a109cf8c6b 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: http://svn.automattic.com/wordpress/trunk@19501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 00:25:04 +00:00
koopersmith
9c4cab4c3b Begin to generalize toolbar icon CSS. see #19404.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 00:16:17 +00:00
koopersmith
7c6cd25f00 Print title attributes for linkless toolbar items. see #19277.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 23:59:10 +00:00
duck_
1fe06274f3 Move awaiting moderation title to the .ab-item link so that it's easier to display. Fixes #19403.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 21:59:18 +00:00
koopersmith
3424f94b08 Optimize about pages for a lovely 960px semi-fluid grid. props helenyhou, fixes #19386.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 21:19:39 +00:00
azaozz
ccfb36ace5 Fix css selectors mismatch in Press This, see #19341
git-svn-id: http://svn.automattic.com/wordpress/trunk@19492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 17:51:34 +00:00
nacin
b0ecdeeca2 Remove margin from h3's in press this. fixes #19341.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 16:44:36 +00:00
azaozz
880ac093a1 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: http://svn.automattic.com/wordpress/trunk@19487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 03:37:15 +00:00
azaozz
4408443814 Add tabbing JS to the admin menu, same functionality as the top menu, see #19394
git-svn-id: http://svn.automattic.com/wordpress/trunk@19485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 02:15:24 +00:00
azaozz
7f81dbfe3f Add ARIA related attributes (first take), props DrewAPicture, see #19394
git-svn-id: http://svn.automattic.com/wordpress/trunk@19484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 01:27:33 +00:00
azaozz
535431029b 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: http://svn.automattic.com/wordpress/trunk@19483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 01:21:38 +00:00
koopersmith
af301d63f3 Don't open a pointer when the target element is hidden. fixes #19357.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-29 19:43:24 +00:00
nacin
5dfe09d0b3 Call preventDefault() on pointer 'Dismiss'. props SergeyBiryukov, johnbillion, fixes #19361.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-29 18:56:13 +00:00
koopersmith
56e0dd7bd2 Prevent misshapen background from appearing when admin-bar user info item is focused. props duck_, fixes #19356.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-29 18:49:30 +00:00
koopersmith
ba3f815726 Optimize about screen for 960px width. props chexee, fixes #19386.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-29 18:40:34 +00:00
nacin
798ccd0c97 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: http://svn.automattic.com/wordpress/trunk@19478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-29 18:25:49 +00:00
azaozz
24917dfbc8 Prevent error in autosave for CPTs without title or editor, props sorich87, fixes #18227
git-svn-id: http://svn.automattic.com/wordpress/trunk@19476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-29 18:06:56 +00:00
ryan
b6b8a588bb Initialize active_sitewide_plugins during network install and upgrade. fixes #19385
git-svn-id: http://svn.automattic.com/wordpress/trunk@19470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 20:35:36 +00:00
nacin
addfdbe752 Don't open a pointer when the target element is hidden. see #19357.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 17:50:49 +00:00
nacin
416b6749f4 RTL for 'Dismiss' on the welcome panel. props rasheed, SergeyBiryukov, fixes #19376.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 16:47:11 +00:00
nacin
72b44daa02 preventDefault() for link popup 'Cancel'. props ocean90, SergeyBiryukov, fixes #19369.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 16:37:46 +00:00
azaozz
580048525d Admin bar: change the tabbing to behave as if the admin bar menus were click-to-open (Tab to select, Enter to open/close), fixes #19088
git-svn-id: http://svn.automattic.com/wordpress/trunk@19458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 00:31:11 +00:00
azaozz
dc87dec0a4 TinyMCE: add class to the editor body for the old fullscreen mode (still can be used by plugins), see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@19457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 00:21:36 +00:00
azaozz
2d97f8794a Rename the problematic "unload" event in Thickbox to "tb_unload", making it a true custom event, fixes #19189
git-svn-id: http://svn.automattic.com/wordpress/trunk@19456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-26 17:49:50 +00:00
azaozz
a55d901b12 Check the sidebar class for orphaned sidebars, match sidebars by id while retrieving orphans and the theme has not changed, props SergeyBiryukov, fixes #19350
git-svn-id: http://svn.automattic.com/wordpress/trunk@19455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-26 06:16:43 +00:00
azaozz
b41176ce79 Revert [19264] to keep back-compat. Any improperly fired window.unload will have to be dealt with on a case by case basis.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-25 17:33:31 +00:00
ryan
747ac2c7e5 Beta 4 bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@19447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-24 00:50:18 +00:00
azaozz
32267a39dd Few more RTL and IE7 fixes, see #19042
git-svn-id: http://svn.automattic.com/wordpress/trunk@19446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-24 00:40:31 +00:00
dd32
c85525aece Switch to sanitize_title_for_query() for Query sanitization (allows for pre-3.3 page slugs to be viewable), Don't update page slugs to new slug-types when the slug is not being changed, Don't issue a XHR if the page slug hasn't changed. Group effort props xknown, markjaquith, nacin. See #19292
git-svn-id: http://svn.automattic.com/wordpress/trunk@19444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-24 00:20:21 +00:00
koopersmith
1611327f11 Remove help tab from credits page, tweak about page CSS. props chexee, see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 23:49:33 +00:00
azaozz
cd153ba4fb Tweak the active help tab padding to line it up, see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 23:23:05 +00:00
koopersmith
e73fcd8c4a In expanded admin menus, block the shadow when hovering over a childless item. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 23:19:12 +00:00
nacin
18e0faf83e Use an 'appearance' group in the admin bar. fixes #19245.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 23:01:20 +00:00
koopersmith
a854e80a19 In the collapsed admin menu, retain the arrow when hovering over a childless item. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 22:50:46 +00:00
azaozz
b7bbb13ca5 Changes user_can_richedit() to default to true for logged out users, same as the default for logged in users, fixes #19320
git-svn-id: http://svn.automattic.com/wordpress/trunk@19432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 22:49:17 +00:00
koopersmith
b1b9aaa86c &nbsp; is the new bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 22:21:15 +00:00
koopersmith
5ff76fd777 Remove help sidebar background when no sidebar exists. props chrisbliss18, see #18197, [19361].
git-svn-id: http://svn.automattic.com/wordpress/trunk@19430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 22:14:03 +00:00
koopersmith
eecf9dc3c1 Admin Bar: Secondary is so passé. Groups are the new black. fixes #19136.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 21:46:47 +00:00
koopersmith
da541dccac Allow access to any admin bar menu level by tabbing. fixes #19088.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 21:29:33 +00:00
azaozz
b2a114b952 DOn't show flyouts on tabbing for now (not accessible), fixes #19191
git-svn-id: http://svn.automattic.com/wordpress/trunk@19426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 21:17:20 +00:00
azaozz
f55996cc33 jQuery 1.7.1, fixes #19326
git-svn-id: http://svn.automattic.com/wordpress/trunk@19423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 19:36:15 +00:00
duck_
5a84496f20 Fix about.php RTL issues and image vertical alignment. Props chexee. See #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 19:23:59 +00:00
nacin
a7c296dd47 Move WP_Editor to a _WP_Editors encapsulation.
* WP_Editor will return in 3.4 as a one true API for editor instances. Stick to wp_editor() for now.
 * TinyMCE can now be forced on with tinymce = true. It defaults to the value for user_can_richedit().
 * Restores wp_default_editor(), wp_link_query(), wp_link_dialog(), wp_fullscreen_html().
fixes #19320.


git-svn-id: http://svn.automattic.com/wordpress/trunk@19420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 19:06:52 +00:00
koopersmith
689dade993 RTL styles for pointers. props helenyhou, fixes #19335.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 18:53:11 +00:00
nacin
dd697967bf Change show/hide storage mechanism for show_welcome_panel. 0 = hide, 1 = show, 2 = show if the multisite owner. Make welcome panel dismissable without JS (openable too via the URL). fixes #19338, fixes #19127.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 18:30:45 +00:00
westi
61219dc009 Add button styles to the inline styles in _default_wp_die_handler so that the Create a Config button is styled again. Fixes #17975.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 17:29:49 +00:00
koopersmith
e87e9b21e4 Center left/right pointer arrows, so arrows appear correctly cross-browser. see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 17:28:16 +00:00
azaozz
9cfbe50743 Admin bar: lighter search icon, props chexee, fixes #19151
git-svn-id: http://svn.automattic.com/wordpress/trunk@19413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 23:36:58 +00:00
duck_
91746f3179 Further tweaks to What's New layout and content. Props chexee. See #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 21:47:28 +00:00
azaozz
fb79e5e64c Restore back-compat with wp_tiny_mce(), see #19320
git-svn-id: http://svn.automattic.com/wordpress/trunk@19408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 21:47:01 +00:00
azaozz
34d1e6c8f2 Admin bar: add class for IE9 and fix background color in search, props SergeyBiryukov, see #19151
git-svn-id: http://svn.automattic.com/wordpress/trunk@19407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 21:35:08 +00:00
nacin
b4debb9648 Because we can. see #18034.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 21:27:27 +00:00
nacin
6f18d8e035 Trailing slash home_url() for the form action for admin bar search. props SergeyBiryukov. Escape too. fixes #18034 for 3.3.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 21:25:55 +00:00
azaozz
9d4c2efa7a RTL fix for Login screen, props SergeyBiryukov, fixes #19316
git-svn-id: http://svn.automattic.com/wordpress/trunk@19404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 20:54:41 +00:00
koopersmith
4540a140fa Tighten admin bar submenu shadows. fixes #19186.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 20:52:17 +00:00