Commit Graph

9335 Commits

Author SHA1 Message Date
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
Andrew Nacin
2c62b87783 RTL for 'Dismiss' on the welcome panel. props rasheed, SergeyBiryukov, fixes #19376.
git-svn-id: https://develop.svn.wordpress.org/trunk@19465 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 16:47:11 +00:00
Andrew Nacin
9ec00c3d9f preventDefault() for link popup 'Cancel'. props ocean90, SergeyBiryukov, fixes #19369.
git-svn-id: https://develop.svn.wordpress.org/trunk@19460 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 16:37:46 +00:00
Andrew Ozz
6bb6916409 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: https://develop.svn.wordpress.org/trunk@19458 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 00:31:11 +00:00
Andrew Ozz
8319988a27 TinyMCE: add class to the editor body for the old fullscreen mode (still can be used by plugins), see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@19457 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 00:21:36 +00:00
Andrew Ozz
d2e0a6feab Rename the problematic "unload" event in Thickbox to "tb_unload", making it a true custom event, fixes #19189
git-svn-id: https://develop.svn.wordpress.org/trunk@19456 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-26 17:49:50 +00:00
Andrew Ozz
b627c99686 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: https://develop.svn.wordpress.org/trunk@19455 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-26 06:16:43 +00:00
Andrew Ozz
6f06a70ecc 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: https://develop.svn.wordpress.org/trunk@19451 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-25 17:33:31 +00:00
Ryan Boren
9647ae046e Beta 4 bump
git-svn-id: https://develop.svn.wordpress.org/trunk@19447 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-24 00:50:18 +00:00
Andrew Ozz
1eaf098637 Few more RTL and IE7 fixes, see #19042
git-svn-id: https://develop.svn.wordpress.org/trunk@19446 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-24 00:40:31 +00:00
Dion Hulse
d70ddc49f9 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: https://develop.svn.wordpress.org/trunk@19444 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-24 00:20:21 +00:00
Daryl Koopersmith
073e1df1f0 Remove help tab from credits page, tweak about page CSS. props chexee, see #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19443 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 23:49:33 +00:00
Andrew Ozz
32e46ee3b1 Tweak the active help tab padding to line it up, see #19020
git-svn-id: https://develop.svn.wordpress.org/trunk@19440 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 23:23:05 +00:00
Daryl Koopersmith
02ff30d4e5 In expanded admin menus, block the shadow when hovering over a childless item. see #18382.
git-svn-id: https://develop.svn.wordpress.org/trunk@19439 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 23:19:12 +00:00
Andrew Nacin
48f128a12b Use an 'appearance' group in the admin bar. fixes #19245.
git-svn-id: https://develop.svn.wordpress.org/trunk@19434 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 23:01:20 +00:00
Daryl Koopersmith
dbe3d24b39 In the collapsed admin menu, retain the arrow when hovering over a childless item. see #18382.
git-svn-id: https://develop.svn.wordpress.org/trunk@19433 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 22:50:46 +00:00
Andrew Ozz
ae2743d972 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: https://develop.svn.wordpress.org/trunk@19432 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 22:49:17 +00:00
Daryl Koopersmith
d18820448a &nbsp; is the new bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@19431 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 22:21:15 +00:00
Daryl Koopersmith
3150c3cf4e Remove help sidebar background when no sidebar exists. props chrisbliss18, see #18197, [19361].
git-svn-id: https://develop.svn.wordpress.org/trunk@19430 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 22:14:03 +00:00
Daryl Koopersmith
4a089df74d Admin Bar: Secondary is so passé. Groups are the new black. fixes #19136.
git-svn-id: https://develop.svn.wordpress.org/trunk@19429 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 21:46:47 +00:00
Daryl Koopersmith
81d35742c3 Allow access to any admin bar menu level by tabbing. fixes #19088.
git-svn-id: https://develop.svn.wordpress.org/trunk@19427 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 21:29:33 +00:00
Andrew Ozz
ee152e18c9 DOn't show flyouts on tabbing for now (not accessible), fixes #19191
git-svn-id: https://develop.svn.wordpress.org/trunk@19426 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 21:17:20 +00:00
Andrew Ozz
79462f00a1 jQuery 1.7.1, fixes #19326
git-svn-id: https://develop.svn.wordpress.org/trunk@19423 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 19:36:15 +00:00
Jon Cave
fd0985cd65 Fix about.php RTL issues and image vertical alignment. Props chexee. See #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19422 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 19:23:59 +00:00
Andrew Nacin
fc9bd67e14 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: https://develop.svn.wordpress.org/trunk@19420 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 19:06:52 +00:00
Daryl Koopersmith
476f618f40 RTL styles for pointers. props helenyhou, fixes #19335.
git-svn-id: https://develop.svn.wordpress.org/trunk@19419 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 18:53:11 +00:00
Andrew Nacin
4d89846637 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: https://develop.svn.wordpress.org/trunk@19418 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 18:30:45 +00:00
Peter Westwood
b087efe566 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: https://develop.svn.wordpress.org/trunk@19417 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 17:29:49 +00:00
Daryl Koopersmith
219f03e83d Center left/right pointer arrows, so arrows appear correctly cross-browser. see #18693.
git-svn-id: https://develop.svn.wordpress.org/trunk@19416 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 17:28:16 +00:00
Andrew Ozz
ccb56ab0b3 Admin bar: lighter search icon, props chexee, fixes #19151
git-svn-id: https://develop.svn.wordpress.org/trunk@19413 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 23:36:58 +00:00
Jon Cave
bc671426cb Further tweaks to What's New layout and content. Props chexee. See #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19409 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 21:47:28 +00:00
Andrew Ozz
25c7b371f8 Restore back-compat with wp_tiny_mce(), see #19320
git-svn-id: https://develop.svn.wordpress.org/trunk@19408 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 21:47:01 +00:00
Andrew Ozz
91431801a1 Admin bar: add class for IE9 and fix background color in search, props SergeyBiryukov, see #19151
git-svn-id: https://develop.svn.wordpress.org/trunk@19407 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 21:35:08 +00:00
Andrew Nacin
3316f10905 Because we can. see #18034.
git-svn-id: https://develop.svn.wordpress.org/trunk@19406 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 21:27:27 +00:00
Andrew Nacin
38eae35be6 Trailing slash home_url() for the form action for admin bar search. props SergeyBiryukov. Escape too. fixes #18034 for 3.3.
git-svn-id: https://develop.svn.wordpress.org/trunk@19405 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 21:25:55 +00:00
Andrew Ozz
d75699834b RTL fix for Login screen, props SergeyBiryukov, fixes #19316
git-svn-id: https://develop.svn.wordpress.org/trunk@19404 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 20:54:41 +00:00
Daryl Koopersmith
d8a471b3ea Tighten admin bar submenu shadows. fixes #19186.
git-svn-id: https://develop.svn.wordpress.org/trunk@19403 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 20:52:17 +00:00
Andrew Ozz
7ba3b5df8f Admin bar: min-width same as on admin body, see #81197
git-svn-id: https://develop.svn.wordpress.org/trunk@19401 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 18:46:32 +00:00
Jon Cave
045df49a8c Revert r18875. Sorting arrows should be displayed when the screen is too narrow. See #15993.
git-svn-id: https://develop.svn.wordpress.org/trunk@19400 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 17:11:06 +00:00
Ryan Boren
700f2b4099 Don't forget esc_attr(). see #19327
git-svn-id: https://develop.svn.wordpress.org/trunk@19399 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 16:21:45 +00:00
Ryan Boren
1ae56f59eb Don't show Add New and Comments admin bar menus in network or user admins. Add tooltip to comments menu. Props ocean90. fixes #19327
git-svn-id: https://develop.svn.wordpress.org/trunk@19398 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 16:19:05 +00:00
Dion Hulse
b44ddde987 Close WP_I18N_WHAT_DO_I_DO translation tag properly. Props Nao. Fixes #19328
git-svn-id: https://develop.svn.wordpress.org/trunk@19395 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 10:22:45 +00:00
Andrew Nacin
8ab205ada4 Hide admin notices on the about/credits/freedoms screens. props devinreams, fixes #19237.
git-svn-id: https://develop.svn.wordpress.org/trunk@19393 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 04:07:34 +00:00
Dion Hulse
03decd1a22 Add some height to the Login button in Chrome/IE. Props SergeyBiryukov. Fixes #19319
git-svn-id: https://develop.svn.wordpress.org/trunk@19392 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 03:23:48 +00:00
Daryl Koopersmith
cca15369b5 Center the admin bar search item horizontally. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@19391 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 01:00:10 +00:00
Daryl Koopersmith
8d57c1e16f Slight rearrangements in admin bar render logic. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@19390 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 23:07:54 +00:00
Andrew Nacin
2929a7ee9a Remove old dismissed pointers as the IDs have changed. Switch to underscores that way we don't need to translate them for method names. Avoid an empty pointer in the array. see #18693.
git-svn-id: https://develop.svn.wordpress.org/trunk@19389 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 23:04:35 +00:00
Andrew Nacin
3a5d241fd5 Make hoverIntent available outside of the admin. fixes #19318.
git-svn-id: https://develop.svn.wordpress.org/trunk@19382 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 19:14:22 +00:00
Andrew Nacin
74567278af Revert other stuffs from [19374].
git-svn-id: https://develop.svn.wordpress.org/trunk@19376 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 15:43:57 +00:00
Andrew Nacin
7c181a42bf Set $parent_file for post-new.php when show_in_menu is a file. Provides for correct top-level highlighting. $submenu_file remains set to expect a post-new.php menu. see #19125.
git-svn-id: https://develop.svn.wordpress.org/trunk@19374 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 15:35:57 +00:00
Ryan Boren
969799b63a Trailing slash for site url. Props SergeyBiryukov. fixes #19314
git-svn-id: https://develop.svn.wordpress.org/trunk@19373 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 14:53:42 +00:00
Andrew Ozz
9a9893a87d Help tabs RTL fixes, props helenyhou, see #19042
git-svn-id: https://develop.svn.wordpress.org/trunk@19371 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 03:40:56 +00:00
Andrew Ozz
ad8536247f Admin bar: re-center the search box, see #81197
git-svn-id: https://develop.svn.wordpress.org/trunk@19370 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 03:34:23 +00:00
Andrew Ozz
0ed396ffed Admin bar IE7, iPad and rtl refresh, see #81197
git-svn-id: https://develop.svn.wordpress.org/trunk@19368 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 02:03:02 +00:00
Andrew Ozz
114083df17 Change the drop target border color, props ocean90, fixes #19298
git-svn-id: https://develop.svn.wordpress.org/trunk@19367 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-20 19:16:35 +00:00
Andrew Nacin
a5a82ec053 Undo clever gradient backgrounds for the WP welcome badge. Doesn't degrade well in Android and possibly other browsers. props Chexee, see #11651.
git-svn-id: https://develop.svn.wordpress.org/trunk@19366 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-20 18:59:49 +00:00
Andrew Nacin
f4fe632477 Handle 'appearance' as a admin bar menu parent in a backwards compatible way. fixes #19245.
git-svn-id: https://develop.svn.wordpress.org/trunk@19365 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-20 18:39:54 +00:00
Andrew Nacin
36776d3bb0 Restore RDF feed. fixes #4967.
git-svn-id: https://develop.svn.wordpress.org/trunk@19364 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-20 18:32:42 +00:00
Andrew Ozz
569841dc02 Improve RTL for Welcome panel, refresh css files, see #19271
git-svn-id: https://develop.svn.wordpress.org/trunk@19363 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-20 02:10:10 +00:00
Andrew Ozz
50a35b02b6 Fix return value in Plupload when using the html4 runtime, fixes #19302
git-svn-id: https://develop.svn.wordpress.org/trunk@19362 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-20 01:10:50 +00:00
Daryl Koopersmith
2ac5299c17 Help tabs: remove scrollbar and max-height. see #19155.
git-svn-id: https://develop.svn.wordpress.org/trunk@19361 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-20 01:03:17 +00:00
Andrew Ozz
e0d1c530da Remove old styling for rtl progress bar, see #19042
git-svn-id: https://develop.svn.wordpress.org/trunk@19360 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-19 21:50:33 +00:00
Andrew Ozz
3cdd77b374 Update admin-bar-sprite, refresh admin-bar-rtl.css, props ocean90, fixes #19289, fixes #19293
git-svn-id: https://develop.svn.wordpress.org/trunk@19354 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-19 18:09:04 +00:00
Andrew Ozz
406f5d8f87 Update RTL bullet alignment on New Install Dashboard Welcome Area, props chexee, see #19271
git-svn-id: https://develop.svn.wordpress.org/trunk@19351 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-19 04:33:51 +00:00
Andrew Ozz
4ded511eff Uploader: show the progress bars as soon as files are queued, attempt to make the progress bar more precise, see #19228
git-svn-id: https://develop.svn.wordpress.org/trunk@19346 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-19 03:15:42 +00:00
Andrew Ozz
f69b9abfb0 Welcome Screen: remove white space, make the second dismiss link work, see #11651
git-svn-id: https://develop.svn.wordpress.org/trunk@19345 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-19 00:42:22 +00:00
Daryl Koopersmith
8f2769c5dd Center admin menu img icons. props trepmal, fixes #19133.
git-svn-id: https://develop.svn.wordpress.org/trunk@19343 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-19 00:32:15 +00:00
Daryl Koopersmith
8ada86e942 Shift welcome panel columns below WP badge. Improve column grid. props chexee, see #11651.
git-svn-id: https://develop.svn.wordpress.org/trunk@19342 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-18 23:33:11 +00:00
Andrew Ozz
7a4434b080 Prioritize the saved data over the current data when restoring widget positions, props SergeyBiryukov, see #19092
git-svn-id: https://develop.svn.wordpress.org/trunk@19340 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-18 19:50:17 +00:00
Ryan Boren
a320cb7f46 Welcome Screen styling. Props chexee. see #11651
git-svn-id: https://develop.svn.wordpress.org/trunk@19339 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-18 18:58:46 +00:00
Andrew Ozz
c68fe3c461 Fix admin bar in iOS5 iPads, props georgestephanis, fixes #18654
git-svn-id: https://develop.svn.wordpress.org/trunk@19338 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-18 17:16:26 +00:00
Andrew Ozz
1cc6c3cfe8 Don't try to convert empty widget settings from old format, props SergeyBiryukov, fixes #19091
git-svn-id: https://develop.svn.wordpress.org/trunk@19333 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-18 06:11:38 +00:00
Andrew Ozz
c2a18ab5fd When restoring sidebars after switching back to an old theme, make sure the saved data matches the theme's current sidebars, fixes #19092
git-svn-id: https://develop.svn.wordpress.org/trunk@19332 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-18 06:00:29 +00:00
Andrew Ozz
fd354a3d35 Tweak install.php CSS to better fit translations, props SergeyBiryukov, fixes #19281
git-svn-id: https://develop.svn.wordpress.org/trunk@19331 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-18 01:56:50 +00:00
Andrew Ozz
9007ab3e75 When queueing too large files in the multi-file uploader in IE or Opera, show error message and remove the file from the queue, fixes #19228
git-svn-id: https://develop.svn.wordpress.org/trunk@19329 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-18 01:10:25 +00:00
Daryl Koopersmith
b9e3cf466a Allow linkless items in the admin bar. Improve non-jQuery admin bar tabbing. fixes #19277, #19149, #19164, #15519. see #18197, #19088.
git-svn-id: https://develop.svn.wordpress.org/trunk@19328 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-18 00:12:57 +00:00
Ryan Boren
67600b73a3 Change Close tab in Welcome Screen to a Dismiss link. Aligh bullets with paragraphs. Props georgestephanis, chexee. fixes #19271
git-svn-id: https://develop.svn.wordpress.org/trunk@19326 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-17 20:48:40 +00:00
Jon Cave
bde6461ff4 Provide back compat mapping for user_level, wp_usersettings and wp_usersettingstime properties of WP_User objects. Fixes #19265.
git-svn-id: https://develop.svn.wordpress.org/trunk@19325 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-17 20:40:24 +00:00
Ryan Boren
4bf96f393e Avoid notice when handling malformed permalink structure. Props SergeyBiryukov. fixes #18883
git-svn-id: https://develop.svn.wordpress.org/trunk@19322 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-17 18:43:33 +00:00
Daryl Koopersmith
914a945108 Add reset CSS (clear) to the admin bar. props scribu. fixes #19260, see #18179.
git-svn-id: https://develop.svn.wordpress.org/trunk@19320 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-17 16:55:44 +00:00
Andrew Ozz
70ad3cf297 mode == 'tmce' || mode == 'tinymce', see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@19319 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-17 15:50:01 +00:00
Jon Cave
38d61c55ed Thickbox cache busting. Fixes #19240.
git-svn-id: https://develop.svn.wordpress.org/trunk@19318 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-17 12:36:51 +00:00
Andrew Ozz
5c6cebe6a4 Make switchEditors.go() fully back-compat, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@19316 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-17 02:44:28 +00:00
Ryan Boren
f9d3ff78c0 Revert [18665]. Causes fatal double include in themes that call get_header() twice. see #18331
git-svn-id: https://develop.svn.wordpress.org/trunk@19315 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-16 22:55:59 +00:00
Mark Jaquith
9ce7a82a23 Fix various login form and password strength meter CSS issues. fixes #18740. see #19201. props Sergey Biryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@19313 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-16 21:58:20 +00:00
Andrew Nacin
a89187797a Revert update changes that snuck in with [19311]. see #19255, see #18876.
git-svn-id: https://develop.svn.wordpress.org/trunk@19312 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-16 07:23:15 +00:00
Andrew Nacin
4710e19609 Fix typo in filler text cause we all know it'll slip through accidentally. props paulhastings0, fixes #19255.
git-svn-id: https://develop.svn.wordpress.org/trunk@19311 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-16 01:58:13 +00:00
Andrew Nacin
a82a7458bd Allow enter to trigger a new custom link on nav-menus.php. props mattwiebe, fixes #18255.
git-svn-id: https://develop.svn.wordpress.org/trunk@19310 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-16 01:45:11 +00:00
Andrew Ozz
7d663ff161 More RTL fixes, props rosshanney, see #19042
git-svn-id: https://develop.svn.wordpress.org/trunk@19307 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 21:58:42 +00:00
Andrew Ozz
a77387cac7 Make the Save All Changes initially hidden on Media -> Add New screen, improve the progress bar "progress" to 1px ticks, see #19190
git-svn-id: https://develop.svn.wordpress.org/trunk@19306 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 21:22:27 +00:00
Andrew Nacin
88b1b11435 Only enforce content/title/excerpt requirement in wp_insert_post() if the post type supports all three. Add a filter to allow this to be modified. fixes #18713.
git-svn-id: https://develop.svn.wordpress.org/trunk@19305 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 21:19:29 +00:00
Ryan Boren
80ee709653 Introduce wp_no_robots(). Call it for pages that should never be indexed, regardless of blog privacy settings. Props nacin. fixes #19251
git-svn-id: https://develop.svn.wordpress.org/trunk@19304 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 20:44:48 +00:00
Andrew Ozz
1ccfd1739c Workaround for WebKit bug when previewing posts, props SergeyBiryukov, fixes #18341
git-svn-id: https://develop.svn.wordpress.org/trunk@19299 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 18:48:55 +00:00
Jon Cave
e4ed02d6ae Allow "Approve and Reply" background-color animation to complete on the Dashboard. Props ocean90. Fixes #18349.
git-svn-id: https://develop.svn.wordpress.org/trunk@19298 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 17:57:53 +00:00
Andrew Ozz
0b8d97f135 Fix styling for the installation screens, props chexee, fixes #18576
git-svn-id: https://develop.svn.wordpress.org/trunk@19297 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 15:47:07 +00:00
Andrew Ozz
5ca57a6fac Prevent errors in QTags.closeAllTags(), make it remove button states but not modify the content (as that often is wrong anyways), fixes #15911
git-svn-id: https://develop.svn.wordpress.org/trunk@19290 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 01:15:10 +00:00
Andrew Nacin
e624bef124 Remove reference to get_last_error(), it doesn't exist. props mitchoyoshitaka, fixes #19002.
git-svn-id: https://develop.svn.wordpress.org/trunk@19288 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 00:18:41 +00:00
Andrew Nacin
f4659c7f76 Check is_array() against get_themes() in get_theme(). props cgrymala, see #19244.
git-svn-id: https://develop.svn.wordpress.org/trunk@19287 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 23:56:18 +00:00
Andrew Ozz
3d33362b52 Add big-file-upload-warning for IE and Opera, left-align the percentage in the progress bar, see #19228
git-svn-id: https://develop.svn.wordpress.org/trunk@19286 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 23:21:16 +00:00
Andrew Nacin
c107d9ffed Don't use $user_identity global. props duck_. fixes #19146.
git-svn-id: https://develop.svn.wordpress.org/trunk@19284 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 21:35:44 +00:00
Jon Cave
9c824b6687 Don't pass $post_type as get_page()'s $filter argument. Copy-and-paste error. Removal improves get_page_by_path() performance dramatically by stopping sanitize_post() being called. Fixes #19175.
git-svn-id: https://develop.svn.wordpress.org/trunk@19283 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 21:32:56 +00:00
Andrew Nacin
668a850007 Use hellip instead of poor man's elipsis in pagination links. props georgestephanis, fixes #19182.
git-svn-id: https://develop.svn.wordpress.org/trunk@19282 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 21:24:49 +00:00
Jon Cave
95b591c1f7 Use correct variable. We preg_match() against $request_match, so that's what should be checked with empty() too. Fixes #17177.
git-svn-id: https://develop.svn.wordpress.org/trunk@19280 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 21:05:13 +00:00
Daryl Koopersmith
65f2e58900 Fix folded flyout overlaps for current items. props trepmal. fixes #19119.
git-svn-id: https://develop.svn.wordpress.org/trunk@19279 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 21:03:14 +00:00
Andrew Nacin
b52ab851ec ALIGN ALL THE THINGS. fixes #19242.
git-svn-id: https://develop.svn.wordpress.org/trunk@19278 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 20:40:31 +00:00
Daryl Koopersmith
36e585dc7a Fix off-by-one pixel error in folded admin menus. see #18382.
git-svn-id: https://develop.svn.wordpress.org/trunk@19277 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 20:10:14 +00:00
Andrew Nacin
f7bc9fb12e Fix admin bar profile dropdown display when avatars are disabled. props deltafactory for initial patch. fixes #18899.
git-svn-id: https://develop.svn.wordpress.org/trunk@19276 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 20:04:59 +00:00
Daryl Koopersmith
1cbf9eb415 Update pointer arrow sprite. props georgestephanis. see #18693.
git-svn-id: https://develop.svn.wordpress.org/trunk@19274 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 19:22:44 +00:00
Ryan Boren
2fae1d05ee Link show_option_all in wp_list_categories() to the posts page if one is set. Props solarissmoke. fixes #18610
git-svn-id: https://develop.svn.wordpress.org/trunk@19273 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 17:24:14 +00:00
Ryan Boren
9356ce2a74 Fix edit.php row action redirects when referrers are not sent. Return false from wp_get_referer() when no referrer found. Props mitchoyoshitaka. fixes #17628
git-svn-id: https://develop.svn.wordpress.org/trunk@19272 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 16:59:45 +00:00
Daryl Koopersmith
d8d2089970 Add pointer images for [19269]. props georgestephanis, chexee. see #18693.
git-svn-id: https://develop.svn.wordpress.org/trunk@19271 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 11:07:34 +00:00
Daryl Koopersmith
0ebb52f9a3 More admin bar markup improvements. Make primary and secondary submenu groups siblings (and prevent ul nesting issues). see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@19270 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 11:05:37 +00:00
Daryl Koopersmith
4bc2fdb619 New pointer styles. Arrows are currently optimized to point upward. props georgestephanis, chexee. see #18693.
git-svn-id: https://develop.svn.wordpress.org/trunk@19269 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 10:30:14 +00:00
Andrew Ozz
82f5175bf7 Media Lib: fix displaying file headers in IE7, delegate the Show/Hide JS, prevent displaying upload error for the same file twice, see #19228
git-svn-id: https://develop.svn.wordpress.org/trunk@19268 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-13 18:37:30 +00:00
Andrew Ozz
3e06696012 Add error message when a big file fails to upload, expose the XHR request in plipload and abort() it, see #19228
git-svn-id: https://develop.svn.wordpress.org/trunk@19266 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-13 02:01:13 +00:00
Jon Cave
9bcb0fcc08 Default arguments for is_user_member_of_blog() can now be used. See #19122, #19160.
git-svn-id: https://develop.svn.wordpress.org/trunk@19265 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-12 20:52:56 +00:00
Andrew Ozz
38ddbaca4e Thickbox: do .triggerHandler() instead of .trigger(), props duck_, fixes #19189
git-svn-id: https://develop.svn.wordpress.org/trunk@19264 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-12 06:48:04 +00:00
Andrew Ozz
bd7f04548b Standardize title strings for editor buttons, props pavelevap SergeyBiryukov, fixes #18125
git-svn-id: https://develop.svn.wordpress.org/trunk@19263 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-12 06:15:15 +00:00
Andrew Ozz
0620dbb5eb Uploader: fix file-size-exceeded error handling, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@19262 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-12 00:52:26 +00:00
Daryl Koopersmith
161ee6a46d Improve admin bar markup. Un-nest top level secondary menu. Remove unnecessary span. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@19261 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-12 00:26:55 +00:00
Andrew Ozz
93e5c50ad8 Send the 'wp-remove-post-lock' XHR only when the main window is unloaded (unloading the Thickbox iframe triggers it too), see #18515
git-svn-id: https://develop.svn.wordpress.org/trunk@19258 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-11 19:52:12 +00:00
Andrew Ozz
7334506df0 Bring back the multi-file/html uploader switching, see #19228
git-svn-id: https://develop.svn.wordpress.org/trunk@19257 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-11 19:40:23 +00:00
Andrew Nacin
bc90d4d2a2 .pmuB
git-svn-id: https://develop.svn.wordpress.org/trunk@19254 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-11 17:06:31 +00:00
Ryan Boren
d154749f87 Avoid notice when themes dir is empty or missing. Don't reset current theme in current_theme_info() if there are no themes. Show warning in Right Now if there are no themes. Props azaozz. fixes #19089
git-svn-id: https://develop.svn.wordpress.org/trunk@19251 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-11 14:10:54 +00:00
Andrew Nacin
26ed0186e0 Style updates to translators list on Credits page. see #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19250 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 23:16:21 +00:00
Daryl Koopersmith
49e85592f0 Add general top-level class to the secondary admin menu. Fixes hover styling and tabbing JS. fixes #19220.
git-svn-id: https://develop.svn.wordpress.org/trunk@19248 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 20:46:29 +00:00
Andrew Ozz
448af8627c Uploader: fix progress bar JS and update the style (light blue bars), see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@19247 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 20:33:26 +00:00
Andrew Nacin
958705e7cb New WordPress badge for welcome panel and about screens. props chexee, ocean90. see #11651.
git-svn-id: https://develop.svn.wordpress.org/trunk@19244 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 19:05:01 +00:00
Andrew Nacin
2430370230 Pass remaining start_el() arguments to page_css_class. props TheDeadMedic, fixes #17727.
git-svn-id: https://develop.svn.wordpress.org/trunk@19240 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 18:35:25 +00:00
Andrew Ozz
79115ae6a5 More phpdoc for wp_editor(), see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@19239 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 17:46:23 +00:00
Andrew Nacin
fb32b677e2 Promote secondary admin bar items to primary if there are no primary items at time of render. see #19136, #19221.
git-svn-id: https://develop.svn.wordpress.org/trunk@19236 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 00:42:39 +00:00
Andrew Nacin
2b41063044 Show sites in the 'My Sites' menu as secondary items only when the user is a super admin and therefore has a primary menu item (Network Admin). props wpmuguru, fixes #19221.
git-svn-id: https://develop.svn.wordpress.org/trunk@19235 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 00:41:45 +00:00
Dion Hulse
522f890c32 Fix typo in [19231]. See #17579
git-svn-id: https://develop.svn.wordpress.org/trunk@19234 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-09 22:13:35 +00:00
Andrew Nacin
f3ba249747 Check post type and bail earlier in wp_get_attachment_url(). props mitchoyoshitaka, fixes #17579.
git-svn-id: https://develop.svn.wordpress.org/trunk@19231 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-09 19:20:33 +00:00
Daryl Koopersmith
716906a149 Add secondary flag to admin bar. fixes #19136.
git-svn-id: https://develop.svn.wordpress.org/trunk@19230 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-09 19:12:48 +00:00
Andrew Ozz
940cb38514 Fix styling in the MCE help popup, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@19227 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-09 14:38:37 +00:00
Andrew Ozz
d2d9926055 Revert [19223] and only stop showing the checkbox, props nacin, see #19174
git-svn-id: https://develop.svn.wordpress.org/trunk@19225 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 22:34:09 +00:00
Ryan Boren
5cb7ceeb91 beta3 bump
git-svn-id: https://develop.svn.wordpress.org/trunk@19224 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 22:26:49 +00:00
Andrew Ozz
4c66628f35 Remove the Resize files checkbox for now (revisit in 3.4), fixes #19174
git-svn-id: https://develop.svn.wordpress.org/trunk@19223 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 22:23:40 +00:00
Daryl Koopersmith
d0b826bb85 Make top level admin menu items show an arrow when selected. fixes #19209.
git-svn-id: https://develop.svn.wordpress.org/trunk@19222 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 21:32:03 +00:00
Daryl Koopersmith
3dd54276a7 Remove Helvetica Neue from the admin bar font stack. see #19145.
git-svn-id: https://develop.svn.wordpress.org/trunk@19221 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 21:12:22 +00:00
Andrew Ozz
b0ca083f21 Fix admin bar background gradients, props ocean90, fixes #19163
git-svn-id: https://develop.svn.wordpress.org/trunk@19220 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 20:13:41 +00:00
Andrew Ozz
4eaabaeefe Fix inline/block switching for the Categories postbox tabs, props linuxologos, fixes #19129
git-svn-id: https://develop.svn.wordpress.org/trunk@19219 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 18:24:55 +00:00