Commit Graph

9660 Commits

Author SHA1 Message Date
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   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
azaozz
01942e30b8 Admin bar: min-width same as on admin body, see #81197
git-svn-id: http://svn.automattic.com/wordpress/trunk@19401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 18:46:32 +00:00
duck_
0c58e7b1a9 Revert r18875. Sorting arrows should be displayed when the screen is too narrow. See #15993.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 17:11:06 +00:00
ryan
5452769a3e Don't forget esc_attr(). see #19327
git-svn-id: http://svn.automattic.com/wordpress/trunk@19399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 16:21:45 +00:00
ryan
28152dfd20 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: http://svn.automattic.com/wordpress/trunk@19398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 16:19:05 +00:00
dd32
d8494f4a54 Close WP_I18N_WHAT_DO_I_DO translation tag properly. Props Nao. Fixes #19328
git-svn-id: http://svn.automattic.com/wordpress/trunk@19395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 10:22:45 +00:00
nacin
62b662cc14 Hide admin notices on the about/credits/freedoms screens. props devinreams, fixes #19237.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 04:07:34 +00:00
dd32
e06a8cc7d5 Add some height to the Login button in Chrome/IE. Props SergeyBiryukov. Fixes #19319
git-svn-id: http://svn.automattic.com/wordpress/trunk@19392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 03:23:48 +00:00
koopersmith
6c7924ab87 Center the admin bar search item horizontally. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 01:00:10 +00:00
koopersmith
46dbae63e6 Slight rearrangements in admin bar render logic. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 23:07:54 +00:00
nacin
00823b1deb 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: http://svn.automattic.com/wordpress/trunk@19389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 23:04:35 +00:00
nacin
c69a246602 Make hoverIntent available outside of the admin. fixes #19318.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 19:14:22 +00:00
nacin
75c741cd8b Revert other stuffs from [19374].
git-svn-id: http://svn.automattic.com/wordpress/trunk@19376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 15:43:57 +00:00
nacin
5e69bd0caf 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: http://svn.automattic.com/wordpress/trunk@19374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 15:35:57 +00:00
ryan
73f0f40e2a Trailing slash for site url. Props SergeyBiryukov. fixes #19314
git-svn-id: http://svn.automattic.com/wordpress/trunk@19373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 14:53:42 +00:00
azaozz
cd1621c23b Help tabs RTL fixes, props helenyhou, see #19042
git-svn-id: http://svn.automattic.com/wordpress/trunk@19371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 03:40:56 +00:00
azaozz
e7ed3a651d Admin bar: re-center the search box, see #81197
git-svn-id: http://svn.automattic.com/wordpress/trunk@19370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 03:34:23 +00:00
azaozz
eb5dbde246 Admin bar IE7, iPad and rtl refresh, see #81197
git-svn-id: http://svn.automattic.com/wordpress/trunk@19368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 02:03:02 +00:00
azaozz
3287ef6d9c Change the drop target border color, props ocean90, fixes #19298
git-svn-id: http://svn.automattic.com/wordpress/trunk@19367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-20 19:16:35 +00:00
nacin
3374c6e672 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: http://svn.automattic.com/wordpress/trunk@19366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-20 18:59:49 +00:00
nacin
249cee46a3 Handle 'appearance' as a admin bar menu parent in a backwards compatible way. fixes #19245.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-20 18:39:54 +00:00
nacin
15ff65a694 Restore RDF feed. fixes #4967.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-20 18:32:42 +00:00
azaozz
eeedb253a7 Improve RTL for Welcome panel, refresh css files, see #19271
git-svn-id: http://svn.automattic.com/wordpress/trunk@19363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-20 02:10:10 +00:00
azaozz
5866295242 Fix return value in Plupload when using the html4 runtime, fixes #19302
git-svn-id: http://svn.automattic.com/wordpress/trunk@19362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-20 01:10:50 +00:00
koopersmith
c65d96de08 Help tabs: remove scrollbar and max-height. see #19155.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-20 01:03:17 +00:00
azaozz
2dd43e3337 Remove old styling for rtl progress bar, see #19042
git-svn-id: http://svn.automattic.com/wordpress/trunk@19360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 21:50:33 +00:00
azaozz
42cae425e5 Update admin-bar-sprite, refresh admin-bar-rtl.css, props ocean90, fixes #19289, fixes #19293
git-svn-id: http://svn.automattic.com/wordpress/trunk@19354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 18:09:04 +00:00
azaozz
c71b4ada24 Update RTL bullet alignment on New Install Dashboard Welcome Area, props chexee, see #19271
git-svn-id: http://svn.automattic.com/wordpress/trunk@19351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 04:33:51 +00:00
azaozz
78341014f3 Uploader: show the progress bars as soon as files are queued, attempt to make the progress bar more precise, see #19228
git-svn-id: http://svn.automattic.com/wordpress/trunk@19346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 03:15:42 +00:00
azaozz
507643807a Welcome Screen: remove white space, make the second dismiss link work, see #11651
git-svn-id: http://svn.automattic.com/wordpress/trunk@19345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 00:42:22 +00:00
koopersmith
d5f9da0dfd Center admin menu img icons. props trepmal, fixes #19133.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 00:32:15 +00:00
koopersmith
2f808f68d4 Shift welcome panel columns below WP badge. Improve column grid. props chexee, see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-18 23:33:11 +00:00
azaozz
2c9244965a Prioritize the saved data over the current data when restoring widget positions, props SergeyBiryukov, see #19092
git-svn-id: http://svn.automattic.com/wordpress/trunk@19340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-18 19:50:17 +00:00
ryan
d89f81d168 Welcome Screen styling. Props chexee. see #11651
git-svn-id: http://svn.automattic.com/wordpress/trunk@19339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-18 18:58:46 +00:00
azaozz
6e1be9f5fb Fix admin bar in iOS5 iPads, props georgestephanis, fixes #18654
git-svn-id: http://svn.automattic.com/wordpress/trunk@19338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-18 17:16:26 +00:00
azaozz
83e2ae14d4 Don't try to convert empty widget settings from old format, props SergeyBiryukov, fixes #19091
git-svn-id: http://svn.automattic.com/wordpress/trunk@19333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-18 06:11:38 +00:00
azaozz
84c1617da2 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: http://svn.automattic.com/wordpress/trunk@19332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-18 06:00:29 +00:00
azaozz
042635b68c Tweak install.php CSS to better fit translations, props SergeyBiryukov, fixes #19281
git-svn-id: http://svn.automattic.com/wordpress/trunk@19331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-18 01:56:50 +00:00
azaozz
e72a2a2917 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: http://svn.automattic.com/wordpress/trunk@19329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-18 01:10:25 +00:00
koopersmith
924ed5885c Allow linkless items in the admin bar. Improve non-jQuery admin bar tabbing. fixes #19277, #19149, #19164, #15519. see #18197, #19088.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-18 00:12:57 +00:00
ryan
258bed4b6f Change Close tab in Welcome Screen to a Dismiss link. Aligh bullets with paragraphs. Props georgestephanis, chexee. fixes #19271
git-svn-id: http://svn.automattic.com/wordpress/trunk@19326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-17 20:48:40 +00:00
duck_
27a55d6459 Provide back compat mapping for user_level, wp_usersettings and wp_usersettingstime properties of WP_User objects. Fixes #19265.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-17 20:40:24 +00:00
ryan
d3030023cf Avoid notice when handling malformed permalink structure. Props SergeyBiryukov. fixes #18883
git-svn-id: http://svn.automattic.com/wordpress/trunk@19322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-17 18:43:33 +00:00
koopersmith
ee60065e28 Add reset CSS (clear) to the admin bar. props scribu. fixes #19260, see #18179.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-17 16:55:44 +00:00
azaozz
930cd0862f mode == 'tmce' || mode == 'tinymce', see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@19319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-17 15:50:01 +00:00
duck_
de60f51ead Thickbox cache busting. Fixes #19240.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-17 12:36:51 +00:00
azaozz
44472ebcff Make switchEditors.go() fully back-compat, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@19316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-17 02:44:28 +00:00
ryan
d6612a1faf Revert [18665]. Causes fatal double include in themes that call get_header() twice. see #18331
git-svn-id: http://svn.automattic.com/wordpress/trunk@19315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-16 22:55:59 +00:00
markjaquith
cb220fd555 Fix various login form and password strength meter CSS issues. fixes #18740. see #19201. props Sergey Biryukov.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-16 21:58:20 +00:00
nacin
8085f7d529 Revert update changes that snuck in with [19311]. see #19255, see #18876.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-16 07:23:15 +00:00
nacin
cd33a2118d Fix typo in filler text cause we all know it'll slip through accidentally. props paulhastings0, fixes #19255.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-16 01:58:13 +00:00
nacin
a14dd3db8b Allow enter to trigger a new custom link on nav-menus.php. props mattwiebe, fixes #18255.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-16 01:45:11 +00:00
azaozz
ae3a4343e9 More RTL fixes, props rosshanney, see #19042
git-svn-id: http://svn.automattic.com/wordpress/trunk@19307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 21:58:42 +00:00
azaozz
28ec7872a2 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: http://svn.automattic.com/wordpress/trunk@19306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 21:22:27 +00:00
nacin
d61b1474f9 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: http://svn.automattic.com/wordpress/trunk@19305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 21:19:29 +00:00
ryan
45ddf08e07 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: http://svn.automattic.com/wordpress/trunk@19304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 20:44:48 +00:00
azaozz
5bc81f5d80 Workaround for WebKit bug when previewing posts, props SergeyBiryukov, fixes #18341
git-svn-id: http://svn.automattic.com/wordpress/trunk@19299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 18:48:55 +00:00
duck_
5e3fe22bac Allow "Approve and Reply" background-color animation to complete on the Dashboard. Props ocean90. Fixes #18349.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 17:57:53 +00:00
azaozz
52b5e282bd Fix styling for the installation screens, props chexee, fixes #18576
git-svn-id: http://svn.automattic.com/wordpress/trunk@19297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 15:47:07 +00:00
azaozz
83330267af 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: http://svn.automattic.com/wordpress/trunk@19290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 01:15:10 +00:00
nacin
e39245936f Remove reference to get_last_error(), it doesn't exist. props mitchoyoshitaka, fixes #19002.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 00:18:41 +00:00
nacin
e78ef2fc43 Check is_array() against get_themes() in get_theme(). props cgrymala, see #19244.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 23:56:18 +00:00
azaozz
8f4fd39550 Add big-file-upload-warning for IE and Opera, left-align the percentage in the progress bar, see #19228
git-svn-id: http://svn.automattic.com/wordpress/trunk@19286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 23:21:16 +00:00
nacin
30ff37104d Don't use $user_identity global. props duck_. fixes #19146.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 21:35:44 +00:00
duck_
d17f4409c3 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: http://svn.automattic.com/wordpress/trunk@19283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 21:32:56 +00:00
nacin
9c24e72550 Use hellip instead of poor man's elipsis in pagination links. props georgestephanis, fixes #19182.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 21:24:49 +00:00
duck_
e82f153205 Use correct variable. We preg_match() against $request_match, so that's what should be checked with empty() too. Fixes #17177.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 21:05:13 +00:00
koopersmith
f04a3d38e8 Fix folded flyout overlaps for current items. props trepmal. fixes #19119.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 21:03:14 +00:00
nacin
8fd2bc97a6 ALIGN ALL THE THINGS. fixes #19242.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 20:40:31 +00:00
koopersmith
699b72940f Fix off-by-one pixel error in folded admin menus. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 20:10:14 +00:00
nacin
491bb91dd1 Fix admin bar profile dropdown display when avatars are disabled. props deltafactory for initial patch. fixes #18899.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 20:04:59 +00:00
koopersmith
4691284eb1 Update pointer arrow sprite. props georgestephanis. see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 19:22:44 +00:00
ryan
bcc6275b3a Link show_option_all in wp_list_categories() to the posts page if one is set. Props solarissmoke. fixes #18610
git-svn-id: http://svn.automattic.com/wordpress/trunk@19273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 17:24:14 +00:00
ryan
0ec7ae44ca 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: http://svn.automattic.com/wordpress/trunk@19272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 16:59:45 +00:00
koopersmith
6566ac849d Add pointer images for [19269]. props georgestephanis, chexee. see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 11:07:34 +00:00
koopersmith
9057e02e72 More admin bar markup improvements. Make primary and secondary submenu groups siblings (and prevent ul nesting issues). see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 11:05:37 +00:00
koopersmith
8740d2c65d New pointer styles. Arrows are currently optimized to point upward. props georgestephanis, chexee. see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 10:30:14 +00:00
azaozz
a491abfbb2 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: http://svn.automattic.com/wordpress/trunk@19268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-13 18:37:30 +00:00
azaozz
7123026a3b Add error message when a big file fails to upload, expose the XHR request in plipload and abort() it, see #19228
git-svn-id: http://svn.automattic.com/wordpress/trunk@19266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-13 02:01:13 +00:00
duck_
06c5ce2278 Default arguments for is_user_member_of_blog() can now be used. See #19122, #19160.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-12 20:52:56 +00:00
azaozz
ac807f00fb Thickbox: do .triggerHandler() instead of .trigger(), props duck_, fixes #19189
git-svn-id: http://svn.automattic.com/wordpress/trunk@19264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-12 06:48:04 +00:00
azaozz
cc2232068a Standardize title strings for editor buttons, props pavelevap SergeyBiryukov, fixes #18125
git-svn-id: http://svn.automattic.com/wordpress/trunk@19263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-12 06:15:15 +00:00
azaozz
9961962861 Uploader: fix file-size-exceeded error handling, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@19262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-12 00:52:26 +00:00
koopersmith
f099d03f84 Improve admin bar markup. Un-nest top level secondary menu. Remove unnecessary span. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-12 00:26:55 +00:00
azaozz
ca9e43f1c4 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: http://svn.automattic.com/wordpress/trunk@19258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 19:52:12 +00:00
azaozz
a37b440bac Bring back the multi-file/html uploader switching, see #19228
git-svn-id: http://svn.automattic.com/wordpress/trunk@19257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 19:40:23 +00:00
nacin
366565f196 .pmuB
git-svn-id: http://svn.automattic.com/wordpress/trunk@19254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 17:06:31 +00:00
ryan
6bbc8d4ce4 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: http://svn.automattic.com/wordpress/trunk@19251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 14:10:54 +00:00
nacin
58cdff8ce9 Style updates to translators list on Credits page. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 23:16:21 +00:00
koopersmith
5299994ce5 Add general top-level class to the secondary admin menu. Fixes hover styling and tabbing JS. fixes #19220.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 20:46:29 +00:00
azaozz
6074eda69d Uploader: fix progress bar JS and update the style (light blue bars), see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@19247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 20:33:26 +00:00
nacin
22cf9f0fe4 New WordPress badge for welcome panel and about screens. props chexee, ocean90. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 19:05:01 +00:00
nacin
f88cdc0668 Pass remaining start_el() arguments to page_css_class. props TheDeadMedic, fixes #17727.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 18:35:25 +00:00
azaozz
5869b4d388 More phpdoc for wp_editor(), see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@19239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 17:46:23 +00:00
nacin
c3fb2795b0 Promote secondary admin bar items to primary if there are no primary items at time of render. see #19136, #19221.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 00:42:39 +00:00
nacin
019fa9e1e7 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: http://svn.automattic.com/wordpress/trunk@19235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 00:41:45 +00:00
dd32
5a026c389b Fix typo in [19231]. See #17579
git-svn-id: http://svn.automattic.com/wordpress/trunk@19234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-09 22:13:35 +00:00
nacin
04c38f3313 Check post type and bail earlier in wp_get_attachment_url(). props mitchoyoshitaka, fixes #17579.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-09 19:20:33 +00:00
koopersmith
4de1815c67 Add secondary flag to admin bar. fixes #19136.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-09 19:12:48 +00:00
azaozz
afe9b90b3d Fix styling in the MCE help popup, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@19227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-09 14:38:37 +00:00
azaozz
331b242bcd Revert [19223] and only stop showing the checkbox, props nacin, see #19174
git-svn-id: http://svn.automattic.com/wordpress/trunk@19225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 22:34:09 +00:00
ryan
3bac0bba44 beta3 bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@19224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 22:26:49 +00:00
azaozz
623220187a Remove the Resize files checkbox for now (revisit in 3.4), fixes #19174
git-svn-id: http://svn.automattic.com/wordpress/trunk@19223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 22:23:40 +00:00
koopersmith
b297f9061c Make top level admin menu items show an arrow when selected. fixes #19209.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 21:32:03 +00:00
koopersmith
bd80a28a82 Remove Helvetica Neue from the admin bar font stack. see #19145.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 21:12:22 +00:00
azaozz
57340c009e Fix admin bar background gradients, props ocean90, fixes #19163
git-svn-id: http://svn.automattic.com/wordpress/trunk@19220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 20:13:41 +00:00
azaozz
ee227a7e48 Fix inline/block switching for the Categories postbox tabs, props linuxologos, fixes #19129
git-svn-id: http://svn.automattic.com/wordpress/trunk@19219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 18:24:55 +00:00
azaozz
dc77e4c86a Phpdoc fix for wp_add_script_before(), see #11520
git-svn-id: http://svn.automattic.com/wordpress/trunk@19218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 18:15:56 +00:00
azaozz
10859e2b8f Ressurect WP_Scripts::localize() and fix public function names, fixes #11520
git-svn-id: http://svn.automattic.com/wordpress/trunk@19217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 18:05:59 +00:00
nacin
964b620f7b Remove unused variable. props kawauso, see #18364.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 17:53:52 +00:00
azaozz
25f7c9a446 Bring back the Fullscreen button in Quicktags, fixes #19194
git-svn-id: http://svn.automattic.com/wordpress/trunk@19215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 16:53:31 +00:00
ryan
a893bf5cfc Admin bar validation fix. Props usermrpapa. fixes #19180
git-svn-id: http://svn.automattic.com/wordpress/trunk@19214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 15:55:58 +00:00
nacin
eea7874845 Simplify logic in wp_get_attachment_link(). see #18491.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 14:22:42 +00:00
ryan
75e238360a Avoid warning when non-existent ID pass to wp_get_attachment_link(). Tidy formatting of wp_get_attachment_link(). Props SergeyBiryukov, Jayjdk. fixes #18491
git-svn-id: http://svn.automattic.com/wordpress/trunk@19210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 14:08:25 +00:00
duck_
4cf30f3410 is_user_member_of_blog() [no args] should return true for logged in users on single site. $wpdb->blogid is 0, but the current blog ID isn't. Fixes #19160.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 23:07:07 +00:00
duck_
e0b10ef8a7 get_blogs_of_user() should return false for logged out and non-existent users on single site. See #19160.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 23:05:13 +00:00
azaozz
b8f091fcbc Fix a:focus styling and backwards tabbing, add tabindex arg for <a>, see #19088
git-svn-id: http://svn.automattic.com/wordpress/trunk@19207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 20:38:38 +00:00
nacin
02f57cbf59 Merge and update variable declarations. fixes #19176.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 17:45:24 +00:00
nacin
3a3c7e2334 Remove old vendor prefixes. props andrewryno, ocean90, fixes #18700.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 17:32:24 +00:00
nacin
3526f8a7da Context for 'All Links'. props SergeyBiryukov, pavelevap. fixes #18096.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 17:28:20 +00:00
nacin
815d4065be Clean up wp_admin_bar_my_account_menu() a bit. see #19193.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 17:27:24 +00:00
nacin
7f9e07a136 Link the profile meta in 'My Account' to profile.php. props linuxologos, fixes #19193.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 17:25:13 +00:00
koopersmith
dae0be0711 Improve display logic for admin menu arrows. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 04:18:50 +00:00
koopersmith
91aaf6bdf5 Improve admin menu tab navigation for expanded menus. Folded menus require a few markup improvements. see #19191.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 03:59:00 +00:00
koopersmith
df818bec66 Blue theme improvements for welcome panel. Add .icon16 definitions. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 00:39:46 +00:00
koopersmith
4329269b16 Remove dead padding/margin CSS from the admin bar. These previously were used for the now-removed arrows. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 00:30:49 +00:00
azaozz
a31f0ad164 Uploader: update to 1.5.1.1, remove plupload.full.js (we cannot use it), rename the script handle in script-loader to avoid any confusion, fixes #19187
git-svn-id: http://svn.automattic.com/wordpress/trunk@19194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-06 21:46:24 +00:00
nacin
d040cc1347 Don't set post_type QV in _post_format_request() when we're in the admin. props ethitter. fixes #18475.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-06 21:15:23 +00:00
nacin
f30f2e5c17 Correct the position of the resizer for the visual editor (not the main editor). props jakemgold, fixes #19177.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-06 20:42:20 +00:00
nacin
d53dd0c990 Correct TinyMCE anchor (as in <a name>) image. props jakemgold, fixes #18419.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-06 20:14:13 +00:00
nacin
8a96d9e6d0 Bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-06 18:33:16 +00:00
nacin
524284fd6b Allow 8212/8211 (em dash and en dash) to be translated in wptexturize(). props SergeyBiryukov, fixes #15556.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-06 18:31:54 +00:00
azaozz
8284ef87fb Fix lag when opening help tab if screen options was opened before, fixes #19172
git-svn-id: http://svn.automattic.com/wordpress/trunk@19186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-06 18:18:45 +00:00
duck_
f2df6bb98a Hide Site Name menu if the user isn't a member and isn't a super admin. Always show My Sites if the user has a site, and don't remove the current site from the list. Fixes #19122.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-06 12:21:12 +00:00
nacin
f9b1519cfa Remove commented out code. props ocean90, fixes #19126.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 21:19:12 +00:00
nacin
56d46a1fe1 Send $user_id to is_super_admin() when checking to set primary_blog for a user in wpmu_create_blog(). see #19127.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 20:23:55 +00:00
azaozz
bcd3030d0e Fix js error on mousedown in the editor, props joehoyle, fixes #19165
git-svn-id: http://svn.automattic.com/wordpress/trunk@19180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 19:49:42 +00:00
azaozz
120e6563df Update the spellchecker plugin for TinyMCE to 2.0.6, fixes #19105
git-svn-id: http://svn.automattic.com/wordpress/trunk@19178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 18:32:47 +00:00
azaozz
dc4c0b7968 Phpdoc fix for quicktags.js, see #19098
git-svn-id: http://svn.automattic.com/wordpress/trunk@19173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 16:26:00 +00:00
azaozz
081076f2e9 Improve handling of init and adding buttons to Quicktags, fixes #19098
git-svn-id: http://svn.automattic.com/wordpress/trunk@19172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 16:00:38 +00:00
nacin
68c443e9ee Remove dead code. empty() will catch anything that equals false.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 13:35:48 +00:00
nacin
18782d3c8c Give selectors their own lines. see #19126.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 05:15:17 +00:00
nacin
630fb847ad Hide right border on final admin bar menu item with :last-child, rather than assuming it is search. props markjaquith, fixes #19126.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 05:13:18 +00:00
nacin
ef7ee3d99c Copy Twenty Eleven's search icon to core for the admin bar. props SergeyBiryukov. fixes #19138.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 04:49:05 +00:00
nacin
f6eebabb9b Link 'W' to about.php. see #18795.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 03:35:20 +00:00
nacin
c2afd4bac8 jQuery 1.7.
props ocean90, fixes #19144.


git-svn-id: http://svn.automattic.com/wordpress/trunk@19165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 03:25:14 +00:00
koopersmith
854684b63b Blue theme styles for welcome panel and about pages. see #11651, 18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 02:06:56 +00:00
koopersmith
eec22244dc Second half of new welcome panel formatting. Add .icon16, for menu icon reuse. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 01:17:50 +00:00
azaozz
94ef5dd13f Support for "tabbing" through the admin bar and admin menu, fixes #19088
git-svn-id: http://svn.automattic.com/wordpress/trunk@19162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 01:13:18 +00:00
duck_
27b7255c6c Don't override .shortlink-input left/right padding of 1em with CSS shorthand later on. Fixes #19147.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 20:45:15 +00:00
azaozz
057ceb34de Admin-bar.css refresh, add back IE compat. "return false" so clicking on the search box doesn't scropp the page to the top, props ocean90, fixes #19153, fixes #19151
git-svn-id: http://svn.automattic.com/wordpress/trunk@19160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 19:46:43 +00:00
azaozz
339fe6065d Do the ToDo in wp_admin_bar_search_menu(), props ocean90, fixes #19152
git-svn-id: http://svn.automattic.com/wordpress/trunk@19159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 18:11:33 +00:00
ryan
e4ae15aefe If an empty menu ID is passed, derive it from the title and issue a _doing_it_wrong() notice. see #18197
git-svn-id: http://svn.automattic.com/wordpress/trunk@19158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 17:41:38 +00:00
azaozz
56e8457205 Fix the global :before/:after selectors for Opera, props SergeyBiryukov, see #19137
git-svn-id: http://svn.automattic.com/wordpress/trunk@19157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 17:35:00 +00:00
azaozz
2f5eff99f4 Tweaks for the admin bar comment bubble: allow JS updating the count, center the bubble when no pending comments, props duck_, fixes #18809
git-svn-id: http://svn.automattic.com/wordpress/trunk@19156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 15:55:00 +00:00
duck_
375689175a Fix caps logic in wp_admin_bar_appearance_menu(). Show Themes on either switch_themes or edit_theme_options, and the rest of the appearance items on edit_theme_options. Fixes #19150.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 14:47:37 +00:00
azaozz
20af945d78 Remove drop-down arrows from admin bar, props SergeyBiryukov, fixes #19086
git-svn-id: http://svn.automattic.com/wordpress/trunk@19152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 14:36:50 +00:00
duck_
8eaace17cf Update wp_admin_bar_appearance_menu docs to reflect changes made by r18683 and r19006. See #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 13:52:42 +00:00
azaozz
9e6883bb8f Remove unused .toggle-arrow styling, props SergeyBiryukov, see #19042
git-svn-id: http://svn.automattic.com/wordpress/trunk@19148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 12:22:46 +00:00
nacin
75ec2f756d RTL for credits. props SergeyBiryukov, see #19143.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 04:35:06 +00:00
koopersmith
51741405a0 First half of new welcome panel formatting. props chexee. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 01:31:31 +00:00
koopersmith
011ade3db6 Formatting and CSS for credits and freedoms pages. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 00:37:56 +00:00
duck_
4516c37a11 Fix double border on right side of contextual help when no help sidebar exists. See #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 00:07:57 +00:00
nacin
17c3514a7f Two style tweaks to the update nag so it blends well with help/option panels and the admin bar.
* Add a top border to it, but hide it under the admin bar. Helps appearance as the page is rendered (as admin bar is last).
 * Bring the update nag slightly off center again (see [19130]) to ensure it lines up with help/options panels.
see #18197.


git-svn-id: http://svn.automattic.com/wordpress/trunk@19139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 23:41:45 +00:00
nacin
4454d5e50c Only show #screen-meta (which encloses the panels) when a panel is showing. Otherwise there's a one-pixel gray line that's really aggravating my OCD. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 23:30:55 +00:00
nacin
04915a9b07 Show the welcome screen when one shows it from Screen Options, advances to a page, then uses the browser's back button to return. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 23:08:24 +00:00
azaozz
f73e6b3228 Revert placement of Help and Screen Options to under the admin bar on the right, see #18197, see #18785
git-svn-id: http://svn.automattic.com/wordpress/trunk@19130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 17:08:12 +00:00
ryan
eb835e1901 Update the blog date whenever a pubic post type is published or changed after being published. fixes #18624
git-svn-id: http://svn.automattic.com/wordpress/trunk@19129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 17:06:45 +00:00
nacin
800261121a Admin bar 'W' shakeup. About This Version is now About WordPress. Credits and Freedoms will now become tabs on the post-update screen. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 04:53:00 +00:00
azaozz
84a23bfd81 Remove the Cancel Upload button, fixes #19050
git-svn-id: http://svn.automattic.com/wordpress/trunk@19127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 01:47:12 +00:00
azaozz
1fcdc41bdb Output editor-buttons.css earlier so the browser renders the editor in time, fixes #18820
git-svn-id: http://svn.automattic.com/wordpress/trunk@19126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 01:31:27 +00:00
nacin
b2560a3025 Add a few characters to remove_accents(). props SergeyBiryukov. props ampt for [UT471]. fixes #9591.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 23:08:05 +00:00
koopersmith
eac1a7b369 Improve admin bar internal representation. Simpler signatures, with backwards compatibility. Add items without requiring parents to be added first. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 20:34:54 +00:00
duck_
aeb49fb7be Return full WHERE clause from get_posts_by_author_sql() if the post type isn't registerd. Fixes SQL sytax on users list when 'post' is unregistered. Fixes #19116.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 17:06:34 +00:00
azaozz
ee93344f32 More css cleanup, fix styles in the Edit Image popup then the editor is on the front end see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@19116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 15:24:56 +00:00
ryan
fe035ab2c8 Fix live update of comment bubble. Drop text to avoid translation difficulties. Props SergeyBiryukov. fixes #18809
git-svn-id: http://svn.automattic.com/wordpress/trunk@19105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-01 20:42:40 +00:00
ryan
58eee18833 Network admin snack menu. see #18197
git-svn-id: http://svn.automattic.com/wordpress/trunk@19104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-01 20:19:33 +00:00
markjaquith
85e67b81cb Use %s, not %d, for comment numbers in admin bar sprintf(). fixes #19104
git-svn-id: http://svn.automattic.com/wordpress/trunk@19103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-01 20:12:42 +00:00
ryan
e7dde2bc7f Mark links to wordpress.org resources for translation. Props SergeyBiryukov. see #18197
git-svn-id: http://svn.automattic.com/wordpress/trunk@19102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-01 19:46:41 +00:00
azaozz
a2e4511e5f Fix uploader "file size exceeded" error message, fix displaying uploaded queue errors, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@19100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-01 11:56:20 +00:00
azaozz
b63ffa3f38 Disable the Cancel Upload button after the upload has finished or if it was interrupted, fixes #19050
git-svn-id: http://svn.automattic.com/wordpress/trunk@19099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-31 21:38:28 +00:00
ryan
07cf882213 Escape href in feed_links_extra(). Props solarissmoke. fixes #17408
git-svn-id: http://svn.automattic.com/wordpress/trunk@19096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-31 20:22:35 +00:00
ryan
28b1b4763d Avoid E_STRICT notices. see #18975
git-svn-id: http://svn.automattic.com/wordpress/trunk@19094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-31 19:38:46 +00:00
azaozz
efc7ca76d7 Fix menu folding on new installs, props SergeyBiryukov, fixes #18091
git-svn-id: http://svn.automattic.com/wordpress/trunk@19091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-29 21:56:27 +00:00
azaozz
5c5e45abda Fix editor menu drop-downs in RTL, fixes #17798
git-svn-id: http://svn.automattic.com/wordpress/trunk@19088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-29 02:28:49 +00:00
nacin
2099147d4c Fix QuickTags typos. props trepmal, fixes #19082.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-28 23:29:53 +00:00
azaozz
55fdf0eaaf Fix help tabs in RTL, props rosshanney, fixes #19024
git-svn-id: http://svn.automattic.com/wordpress/trunk@19083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-28 23:05:58 +00:00
nacin
91a448be74 Use esc_attr() consistently in wp_dropdown_pages().
git-svn-id: http://svn.automattic.com/wordpress/trunk@19081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-28 22:40:09 +00:00
azaozz
eeec5eeda1 RTL fixes for 3.3, props yoavf SergeyBiryukov rosshanney, see #19042 fixes #18000, fixes #17988, fixes #19006
git-svn-id: http://svn.automattic.com/wordpress/trunk@19080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-28 22:14:59 +00:00
duck_
8f0acb2058 Ensure auto-embed only matches "smugmug.com" and its subdomains. Fixes #19076.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-28 20:05:43 +00:00
ryan
94dfc448b0 Compute in_search_post_types only when needed. Props mitchoyoshitaka. fixes #18364
git-svn-id: http://svn.automattic.com/wordpress/trunk@19078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-28 20:03:26 +00:00
ryan
39dc973965 Avoid undefined index notices. Props SergeyBiryukov, valendesigns. fixes #18455
git-svn-id: http://svn.automattic.com/wordpress/trunk@19077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-28 19:52:14 +00:00
duck_
c3bcc9800e Fix polldaddy oEmbed regular expression to work with new style URLs. Props r-a-y, azaozz. Fixes #17106.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-28 19:42:57 +00:00
ryan
c3c6a3721f Fix notices and logic errors in get_page_by_path(). Props duck_. see #17670
git-svn-id: http://svn.automattic.com/wordpress/trunk@19075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-28 19:32:19 +00:00
ryan
31e3ff3fb1 Avoid 'Only variables should be passed by reference' warnings. Props SergeyBiryukov. see #18975
git-svn-id: http://svn.automattic.com/wordpress/trunk@19074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-28 15:48:44 +00:00
ryan
e261ac43e7 Avoid 'Only variables should be passed by reference' warnings. Props SergeyBiryukov. see #18975
git-svn-id: http://svn.automattic.com/wordpress/trunk@19072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-27 20:00:09 +00:00
ryan
d8892db612 Cast author IDs to strings. Props yoavf. fixes #18869
git-svn-id: http://svn.automattic.com/wordpress/trunk@19071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-27 18:36:49 +00:00
duck_
abd0c8c231 Correctly document $stripteaser as a boolean flag. Props GaryJ, fixes #18886.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-26 10:15:29 +00:00
duck_
7ba5b2f7a3 Stop an incorrect comment total being displayed when a trashed/spammed comment is deleted or restored. Fixes #19029.
Also only run getUpdate() when necessary and remove reference to non-existent "span.total-type-count".


git-svn-id: http://svn.automattic.com/wordpress/trunk@19068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-26 08:47:16 +00:00
nacin
673a69be75 Bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 16:32:27 +00:00
nacin
28e10d8f2b Remove duplicate word in docs. props SergeyBiryukov, fixes #18986.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 16:07:14 +00:00
nacin
66125a116f Introduce upgrade_330() to clear usermeta keys show_admin_bar_admin and plugins_last_view. fixes #18811.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 05:48:09 +00:00
nacin
6f9612f45c Introduce ->mysql to allow drop-ins to declare themselves as MySQL and therefore allow minimum version checks to still apply. fixes #18176.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 05:29:28 +00:00
nacin
935a533eb6 Check get_site_option(WPLANG) when WP_INSTALLING in mulitiste, just not the blog's option. fixes #18783.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 05:09:03 +00:00
nacin
d7e24531ef bump bump bump it up
git-svn-id: http://svn.automattic.com/wordpress/trunk@19055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-24 19:33:47 +00:00
ryan
62afab8db3 Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@19054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-24 19:13:23 +00:00
nacin
ad0e83c165 Adjust the height of the help columns on 'Help' tab open. see #18690.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-23 17:55:24 +00:00
nacin
ffcb6aba46 In _doing_it_wrong(), don't append the Debugging_in_WordPress message until we go to print a message. Send a clean message to the action. see #18453.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-23 17:51:14 +00:00
westi
53d8de7408 Don't show the Freedoms or Credits menu items to logged out users.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-22 10:56:04 +00:00
ryan
7a3fc7d36c Don't use unbounded SHOW TABLES in is_blog_installed(). Do a more targeted DESCRIBE loop over the blog table list. fixes #19026
git-svn-id: http://svn.automattic.com/wordpress/trunk@19039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-21 22:16:33 +00:00
nacin
975c670f15 Update the update_count_callback docs. see #18986.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-21 21:50:36 +00:00
nacin
38921762a3 No need to specify an update_count_callback for categories or tags, as the default handler for them will now be _update_post_term_count(). see #18986, [19035].
git-svn-id: http://svn.automattic.com/wordpress/trunk@19036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-21 21:46:03 +00:00
nacin
463bfd9fe5 Separate non-post term counting from _update_post_term_count(). Introduce _update_generic_term_count(). The generic handler will be the default whenever the taxonomy is attached to an object type other than a post type (link, user). Otherwise the _update_post_term_count() handler will be the default. fixes #18986. see #17548.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-21 21:38:14 +00:00
nacin
00a31d6d19 Correct docs for get_post_field(). props JustinSainton, fixes #19025.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-21 17:13:26 +00:00
nacin
50997f28b1 Use esc_url() rather than esc_attr() on a redirect-to URL. fixes #17243.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 23:41:07 +00:00
nacin
dbfc8a855c Fix the current page default redirect in wp_login_form(). props kawauso, see #17243.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 23:40:09 +00:00
ryan
791b424c31 Typo fix. Props SergeyBiryukov. see #18986
git-svn-id: http://svn.automattic.com/wordpress/trunk@19031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 21:41:54 +00:00
duck_
424cd58652 Correct @param text ordering to put "Optional." in description, see r19019 and #18958. Also remove empty docblock tag.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 15:53:57 +00:00
nacin
eb24f35c22 Pass $post_id arg directly to get_post_thumbnail_id() from has_post_thumbnail(). The null/get_the_ID() check is already performed at that level of the stack. see #19012.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 15:11:49 +00:00
nacin
43eae59235 Translated strings in attributes require esc_attr(). s/_e/esc_attr_e/g
git-svn-id: http://svn.automattic.com/wordpress/trunk@19028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 15:04:46 +00:00
nacin
92ba22e537 Use wp_lostpassword_url() instead of site_url(wp-login...). Update wp_lostpassword_url() to use network_site_url(). props markoheijnen, fixes #18808.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 14:40:11 +00:00
nacin
f70954c422 Remove code commented out in [19006]. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 14:33:18 +00:00
ryan
5bfc91f5ee Fix term counting for links. Props SergeyBiryukov. fixes #18986
git-svn-id: http://svn.automattic.com/wordpress/trunk@19025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 14:28:26 +00:00
ryan
759475df38 beta2 bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@19023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 02:22:02 +00:00
nacin
0f1b959ae5 Check for plugin/theme updates every hour when hitting update-core.php, not just themes.php/plugins.php. see #18876.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 00:23:35 +00:00
nacin
6a4ddffe0f Attach update hooks in the network admin. Accounts for the rare situation where the network admin is not the main site. props johnbillion, see #18876.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 00:15:21 +00:00
nacin
f11bc146f7 Use correct capture group in IIS7 multisite subdirectory rewrite rules. props carlospaulino, eduplessis, ruslany. fixes #17708.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 22:57:37 +00:00
nacin
239e36bc0a We know that pagename is being assigned to $matches-something, so skip the variable variable. props duck_. see #18991.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 22:49:45 +00:00
ryan
b957c72f9a Turn is_blog_user() into a wrapper around is_user_member_of_blog() and deprecate. Make user_id optional for is_user_member_of_blog(). Props SergeyBiryukov. fixes #16702
git-svn-id: http://svn.automattic.com/wordpress/trunk@19016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 22:35:15 +00:00
nacin
11a800a3d9 Move welcome panel link to a 'Show on screen' checkbox. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 21:43:21 +00:00
duck_
148a9e8039 Don't cache default value in get_site_option() for non-existent options. Fixes #18955.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 21:06:50 +00:00
azaozz
9329ce844e RTL CSS tweaks, see #18197
git-svn-id: http://svn.automattic.com/wordpress/trunk@19008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 16:58:46 +00:00
koopersmith
1391717cfa Welcome panel contents and functionality. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 16:41:26 +00:00
azaozz
ca0acb7a05 Bring the Appearance sub-menus on the front end one level up, see #18197
git-svn-id: http://svn.automattic.com/wordpress/trunk@19006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 16:32:26 +00:00
nacin
a0606b3c93 is_blog_user() is from MU. see #16702.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 15:56:05 +00:00
ryan
9d8e281a80 Turn is_blog_user() into a convenience wrapper around get_blogs_of_user(). Fixes is_blog_user() for blog prefixes that do not contain a blog ID. Props SergeyBiryukov. fixes #16702
git-svn-id: http://svn.automattic.com/wordpress/trunk@19004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 15:53:14 +00:00
azaozz
6d3c45d333 Few more RTL fixes, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@19002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 06:42:41 +00:00
azaozz
9d05f1f94a Press This CSS cleanup, props andrewryno, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@19001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 06:16:15 +00:00
dd32
ee71b2eb88 Respect the Content-Type header developers pass to WP_HTTP. Fixes #18982
git-svn-id: http://svn.automattic.com/wordpress/trunk@19000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 04:48:00 +00:00
ryan
ec7afa90a1 Call wp_update_term_count() only for those terms that have been added to or removed from the object. Props jeremyclarke. fixes #18631
git-svn-id: http://svn.automattic.com/wordpress/trunk@18999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 21:01:55 +00:00
ryan
67661f7181 Avoid 'Only variables should be passed by reference' warnings. Reverts [18110]. see #18975
git-svn-id: http://svn.automattic.com/wordpress/trunk@18998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 20:44:39 +00:00
nacin
89c0895887 new does not require by reference.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 20:20:59 +00:00
nacin
c17df0bb43 Globalize everything in vars.php. props duck_. fixes #17749.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 19:44:00 +00:00
nacin
97f9966f3a Explicitly globalize $table_prefix in wp-settings.php in case WordPress isn't loaded in global scope. Use $_SERVER['PHP_SELF'], not $PHP_SELF. We need to keep $PHP_SELF for backwards compatibility reasons (many, many plugins rely on it). props mrtorrent, fixes #17749.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 19:37:07 +00:00
azaozz
c50a7acfc5 Pointers: more airy drop shadow, see #18693
git-svn-id: http://svn.automattic.com/wordpress/trunk@18989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 07:43:40 +00:00
azaozz
2d2e825359 Add some more documentation and prevent fatal error if a plugin tries to use 'dfw' second time, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 07:08:55 +00:00
azaozz
0c9a60c4e7 Pointers: add default width (400px) that fixes positioning in IE7, add href attrib to the Close link, see #18693
git-svn-id: http://svn.automattic.com/wordpress/trunk@18987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 07:03:31 +00:00
ryan
d1dc2178a8 Return to snack menu instead of full menu. Experiment over. see #18197
git-svn-id: http://svn.automattic.com/wordpress/trunk@18984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-17 22:06:31 +00:00
koopersmith
5990b8ca14 Fix the admin menu in the blue theme. props ocean90. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-17 21:04:29 +00:00
azaozz
e849d3b270 Use IE conditionals when adding the ie8 class, introduce _wp_admin_html_begin(), props scribu, fixes #18966
git-svn-id: http://svn.automattic.com/wordpress/trunk@18982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-17 20:57:32 +00:00
azaozz
1bc8ca65fe No float for the admin bar gravatar image, props gluten, fixes #18925
git-svn-id: http://svn.automattic.com/wordpress/trunk@18981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-17 20:19:12 +00:00
nacin
b040745a22 Add basic help styles to colors-classic. props ocean90, see #18964.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-17 19:18:28 +00:00
azaozz
9127076d34 Clean up styles for #wphead, #favorite-actions and the old editor buttons, props andrewryno, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-15 07:46:58 +00:00
azaozz
0f2431e25a RTL, IE7 and IE7 RTL fixes, add class="ie8" to the html tag, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-15 07:33:01 +00:00
ryan
fca9f2e2e3 In wp_trash_post(), rename the trash_post action to wp_trash_post to avoid collision with the wp_transition_post_status() trash_post state transition. Props SergeyBiryukov. fixes #15628
git-svn-id: http://svn.automattic.com/wordpress/trunk@18974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-14 18:39:31 +00:00
ryan
73fb90a842 Update vimeo oembed api url. Props l3rady, justindgivens. fixes #18928
git-svn-id: http://svn.automattic.com/wordpress/trunk@18973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-14 17:56:48 +00:00
nacin
7753bad047 Da bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-14 15:48:05 +00:00
koopersmith
6a29b9ad42 Tweak pointer styles. see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-14 03:58:27 +00:00
koopersmith
54a8d11161 Fix incorrect closing tag in pointers JS. see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-14 03:36:04 +00:00
koopersmith
c47765dedb Simplify pointer API with smarter positioning. see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-14 03:33:46 +00:00
azaozz
6f04738d59 Remove stray comma, fixes #18929
git-svn-id: http://svn.automattic.com/wordpress/trunk@18967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-13 19:46:13 +00:00
azaozz
144a8ad8ce Update user_can_richedit to allow TinyMCE in iOS5, props markoheijnen, fixes #18626
git-svn-id: http://svn.automattic.com/wordpress/trunk@18963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-13 06:37:24 +00:00
azaozz
32fa9f7d6c Remove unnecessary vendor prefixes from wp-admin-rtl.css, props ryanimel, see #18700
git-svn-id: http://svn.automattic.com/wordpress/trunk@18962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-13 06:33:10 +00:00
azaozz
6b3786b425 Remove iPad rotation tweak (not needed in iOS 5), see #18863
git-svn-id: http://svn.automattic.com/wordpress/trunk@18960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-13 02:47:00 +00:00
azaozz
331b416756 IE7 fixes for the admin menu, see #18382
git-svn-id: http://svn.automattic.com/wordpress/trunk@18958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-13 00:06:07 +00:00
azaozz
000208b86d Fix visibility of Select Files button in IE7, change border color when hovering over the drag drop area of the uploader, see #18918, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-12 22:24:53 +00:00
ryan
c1e7325db6 Avoid 'Only variables should be assigned by reference' warning. Props arena. fixes #18867
git-svn-id: http://svn.automattic.com/wordpress/trunk@18956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-12 20:41:06 +00:00
ryan
91bc97be7b Allow 0 - 9 in tag_escape(). Props sirzooro. fixes #18765
git-svn-id: http://svn.automattic.com/wordpress/trunk@18955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-12 20:34:14 +00:00
ryan
80351b789d Avoid preg backtrack limit errors with large posts when processing shortcodes. Props mdawaffe. fixes #15600
git-svn-id: http://svn.automattic.com/wordpress/trunk@18952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-12 16:50:30 +00:00
koopersmith
d60869e490 Improve padding on admin menu submenus. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-11 21:52:40 +00:00
koopersmith
bd56b8dbfc Prevent admin menu sub-items from crowding the arrows when the menu is expanded. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-11 21:48:20 +00:00
koopersmith
97201b0a7d Fix admin menu arrow positioning when menu is collapsed plus minor positioning tweaks. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-11 21:38:12 +00:00
koopersmith
e10f6876d4 Create admin menu arrows using CSS3 transforms. props chexee. see #18382, fixes #18902.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-11 21:25:38 +00:00
azaozz
3804ef7519 Don't move current open submenus, see #18382
git-svn-id: http://svn.automattic.com/wordpress/trunk@18940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-11 17:59:51 +00:00
azaozz
96c3fa3274 More CSS cleanup, props olleicua, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-11 06:25:25 +00:00
ryan
82bcca520b Do the beta bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@18938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-10 23:50:20 +00:00
ryan
8306f943dd Avoid warning when creating new users. fixes #18898
git-svn-id: http://svn.automattic.com/wordpress/trunk@18936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-10 23:14:38 +00:00
azaozz
9821dca874 Remove unneeded cursor style, props trepmal, see #15848
git-svn-id: http://svn.automattic.com/wordpress/trunk@18935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-10 23:10:47 +00:00
azaozz
6cd80b8a4c Prevent a Chrome bug activating :hover on the first pixel on the screen while loading, props markjaquith, fixes #18868
git-svn-id: http://svn.automattic.com/wordpress/trunk@18934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-10 22:36:36 +00:00
josephscott
d6a835521f Follow the pattern of wp-admin a bit more for metaWeblog.newPost by using get_default_post_to_edit() to generate a post ID before the post is actually published.
Fixes #18812
Props koke, nacin


git-svn-id: http://svn.automattic.com/wordpress/trunk@18933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-10 21:27:05 +00:00
ryan
0370bda8bc Count only published posts when updating term counts. Fire term count updates on transition_post_status. Props joehoyle. see #17548
git-svn-id: http://svn.automattic.com/wordpress/trunk@18932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-10 20:52:44 +00:00
nacin
0a1fe6dc02 Make the Browse Happy box look somewhat okay in Internet Explorer. Remove html tags from a string. props SergeyBiryukov, pavelevap. fixes #17980.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-10 19:54:26 +00:00
koopersmith
fc66ba3c08 Add full admin menu to admin bar on front end. props azaozz. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-10 19:53:12 +00:00
nacin
84e4f066df Remove caching from get_blogs_of_user(). Leave caching to usermeta and blog details. Speed up the loops. fixes #15458.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-10 19:50:08 +00:00
koopersmith
260d918501 Improve admin bar item order for W menu, add new menu, and edit content item. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-10 18:40:00 +00:00
azaozz
f85e0b3f00 Make iPad support usable again, add viewport meta, see #18863
git-svn-id: http://svn.automattic.com/wordpress/trunk@18926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-10 04:19:05 +00:00
azaozz
1050e0023a Add/remove the border to postbox containers when the last postbox is hidden/shown from Screen Options, props ocean90, fixes #18882
git-svn-id: http://svn.automattic.com/wordpress/trunk@18925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-09 17:30:51 +00:00
azaozz
c86787bbd3 Fix postbox containers when there are no visible postboxes in them, fixes #18882
git-svn-id: http://svn.automattic.com/wordpress/trunk@18924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-09 00:05:38 +00:00
azaozz
821a38fcbc Add link to the codex in the doing_it_wrong notices, see #18453
git-svn-id: http://svn.automattic.com/wordpress/trunk@18923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-08 22:48:05 +00:00
azaozz
7efc9306f9 Fix insetring images in Quick Press and Press This, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-07 20:14:21 +00:00
koopersmith
ddf8e3e31d Clean up the 'Site Name' admin bar functions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-07 19:52:26 +00:00
nacin
502638442f No translators, you don't need to localize a non-breaking space.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-07 06:41:51 +00:00
nacin
d23f035e62 Compress and bump wp-admin.css. CSS in [18867] and [18874] will need to be explained and re-committed. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-07 04:58:36 +00:00
ryan
8f50fdf79a Don't stomp meta fields in wp_update_user(). Props scribu. see #15458
git-svn-id: http://svn.automattic.com/wordpress/trunk@18909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-07 02:34:41 +00:00
markjaquith
9e80bec002 Always pass the post ID as the second argument to the the_title filter. props GaryJ. fixes #16688
git-svn-id: http://svn.automattic.com/wordpress/trunk@18907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-06 21:09:37 +00:00
ryan
2f40f0c6fc Do only one empty check. Clean up whitespace. Props SergeyBiryukov. see #15458
git-svn-id: http://svn.automattic.com/wordpress/trunk@18906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-06 19:13:44 +00:00
ryan
599965885b Avoid Warning: array_keys() expects parameter 1 to be array, boolean given. see #15458
git-svn-id: http://svn.automattic.com/wordpress/trunk@18905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-06 18:49:38 +00:00
azaozz
f67f9729b8 Combine few styles for column containers, props olleicua, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-06 14:37:55 +00:00
azaozz
0e358f2179 Fix menu hover when loaded folded, simplify menu JS and auto-folding, see #18382
git-svn-id: http://svn.automattic.com/wordpress/trunk@18901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-06 09:18:56 +00:00
azaozz
53ac6d4a37 Clean up unused bits from responsive admin, fix the JS on dashboard, see #18863
git-svn-id: http://svn.automattic.com/wordpress/trunk@18900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-06 08:43:01 +00:00
ryan
a0f6c4469d Introduce wp_get_db_schema() for rerieving the various flavors of the WP db schema. Eliminates need to use global. Allows multiple calls to wpmu_create_blog(). see #12028
git-svn-id: http://svn.automattic.com/wordpress/trunk@18899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-06 00:21:24 +00:00
koopersmith
4c3edc9b6b Adjust admin bar item order. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-06 00:02:18 +00:00
nacin
44590b1d78 Revert [18817]. Adding the new HTML to setup-config would make translation files stale, and I'd rather i18n that file first (see #18180). fixes #18865, see #16413.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 23:42:11 +00:00
koopersmith
fb31c6f302 Refine new help styles. see #18690.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 23:15:19 +00:00
nacin
337699e1cf Compress and bump scripts for [18890]. see #17578.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 21:08:16 +00:00
nacin
593bce9f3e UI touches for the single media button. see #17578.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 21:07:04 +00:00
koopersmith
dcf34868ed Revise admin bar items based on user testing. Post at http://wp.me/pbNCB-qz. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 18:45:32 +00:00
markjaquith
37aae9f46f Give custom background CSS more specificity. props GaryJ. fixes #18698
git-svn-id: http://svn.automattic.com/wordpress/trunk@18886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 17:20:43 +00:00
dd32
15920fc45b Document that add_query_arg() expects encoded data. See #18086
git-svn-id: http://svn.automattic.com/wordpress/trunk@18885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 11:03:56 +00:00
dd32
d08955e123 Encode extra query vars in Canonical Taxonomy redirections. Props SergeyBiryukov. Fixes #18086
git-svn-id: http://svn.automattic.com/wordpress/trunk@18884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 11:00:28 +00:00
koopersmith
725bcef080 Greased Lightning Flyouts! Flyouts are now snappy and work without JS. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 06:39:30 +00:00
ryan
b3054bd18f phpdoc fix for zeroise(). Props trepmal. fixes #18854
git-svn-id: http://svn.automattic.com/wordpress/trunk@18877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-04 16:02:33 +00:00
azaozz
41429f32a9 Prevent sorting arrows improperly wrapping on narrow columns in .widefat, props SergeyBiryukov, #15993
git-svn-id: http://svn.automattic.com/wordpress/trunk@18875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-04 04:14:36 +00:00
ryan
e0a7825baa Excerpt long blog names when displaying them in the admin bar. fixes #18849
git-svn-id: http://svn.automattic.com/wordpress/trunk@18873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-03 19:58:33 +00:00
azaozz
6e0729790f Combine font-family, remove few unused bits, props ocean90, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-03 16:36:19 +00:00
koopersmith
dbd18bea3d Help style refresh, part 1. A few elements left to add/tweak. see #18690.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-02 18:19:49 +00:00
azaozz
4801064ecd Fix border radius for editor split-buttons, props trepmal, fixes #18839
git-svn-id: http://svn.automattic.com/wordpress/trunk@18865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-02 17:04:09 +00:00
ryan
8e8847e303 Don't use wp_parse_args() on non associative array. Props SergeyBiryukov. see #18268
git-svn-id: http://svn.automattic.com/wordpress/trunk@18856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 15:54:52 +00:00
duck_
a7a8d9e3e3 Use metadata API in do_all_pings() to delete post meta (cleaner, plays better with cache). Remove redundant query to retrieve meta_id. See #18196.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 08:38:33 +00:00
koopersmith
2d3fa6fcb8 Make screen options a help tab. Move screen option functions into WP_Screen. see #18690, #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 00:24:44 +00:00
azaozz
ccb65a88b4 Toggle the pinkynails properly, props goto10, fixes #17212
git-svn-id: http://svn.automattic.com/wordpress/trunk@18851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 00:12:39 +00:00
azaozz
e4605a562e Speed up the admin bar drop-downs a bit when using hoverIntent, props johnbillion, fixes #18299
git-svn-id: http://svn.automattic.com/wordpress/trunk@18849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 22:31:15 +00:00
azaozz
bb3196ea8e Fix thickbox (again!), props SergeyBiryukov, fixes #18796
git-svn-id: http://svn.automattic.com/wordpress/trunk@18848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 22:24:34 +00:00
ryan
d7a17b96e9 Avoid refetching a post in get_post() when passed a post object that has already been raw sanitized. Clean up sanitize loop. Props scribu. fixes #18822
git-svn-id: http://svn.automattic.com/wordpress/trunk@18846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 19:06:18 +00:00
ryan
e46e579ce5 Restore sorting by post_name in get_pages(). Props SergeyBiryukov. fixes #18805
git-svn-id: http://svn.automattic.com/wordpress/trunk@18845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 18:12:14 +00:00
ryan
cd0c3f605e Consult the main query when determining whether to show the edit menu in the admin bar. This insulates the admin bar from query_posts() queries made by themes and plugins. Props SergeyBiryukov. fixes #16798
git-svn-id: http://svn.automattic.com/wordpress/trunk@18844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 18:07:14 +00:00
markjaquith
37e23be4ed Be more consistent with ERROR: messages. fixes #15887
git-svn-id: http://svn.automattic.com/wordpress/trunk@18841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 17:18:35 +00:00
nacin
acbc9144dd Allow 'id' to work in get_bookmarks(). Add link_notes even though such sorting is a bad idea. see #18068 for 3.3.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 17:03:46 +00:00
ryan
559085db40 Add name to list of allowed keys. Props MarcusPope. fixes #18638
git-svn-id: http://svn.automattic.com/wordpress/trunk@18838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 16:43:57 +00:00
azaozz
816fcad9e2 Fix editor detection when inserting image, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 16:00:11 +00:00
ryan
96b3575b72 Pass the query object to _close_comments_for_old_posts() so that is_singular is checked for the proper query. Props kawauso. fixes #18109
git-svn-id: http://svn.automattic.com/wordpress/trunk@18836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 15:35:50 +00:00
duck_
d5232043ce Fix back compat issues with delete_postmeta and deleted_postmeta actions as these should be passed the meta ID. Fixes #18825.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 15:19:32 +00:00
ryan
6febc018a9 Deprecate wpmu_admin_redirect_add_updated_param() and wpmu_admin_do_redirect(). Props SergeyBiryukov. fixes #18619
git-svn-id: http://svn.automattic.com/wordpress/trunk@18834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 15:13:13 +00:00
westi
b5a3362c70 Fire an action when a post type or taxonomy is registered so plugins can react. Fixes #18802 props simonwheatley.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 09:53:35 +00:00
nacin
cb3ab86c7c Compress and bump media.css. see #17578.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 06:23:46 +00:00
azaozz
f5e6304ca6 Attempt to keep the textarea still while loading the editor, see #18820
git-svn-id: http://svn.automattic.com/wordpress/trunk@18829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 04:13:44 +00:00
azaozz
3be0b41d68 Hide post title field in DFW if title is not supported by the current post type or missing, fixes $18568
git-svn-id: http://svn.automattic.com/wordpress/trunk@18828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 22:59:49 +00:00
ryan
32e25b6aec phpdoc typo and readability fixes. Props SergeyBiryukov. fixes #18560
git-svn-id: http://svn.automattic.com/wordpress/trunk@18827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 22:57:43 +00:00
duck_
4171ea192b Introduce wp_allowed_protocols() for use in wp_kses() and esc_url(). See #18268.
This allows plugins to filter the list of protocols used for esc_url() too, and helps us keep the list of protocols in sync.


git-svn-id: http://svn.automattic.com/wordpress/trunk@18826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 22:33:51 +00:00
duck_
fda510aca1 Automatically set 'compare' => 'IN' in WP_Meta_Query::get_sql() when the meta value is an array. Props ldebrouwer, SergeyBiryukov. Fixes #16829.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 22:10:56 +00:00
markjaquith
33c150d3de Allow the text parameter in wp_trim_excerpt() to be omitted altogether, instead of requiring a blank string. props SergeyBiryukov. fixes #17492
git-svn-id: http://svn.automattic.com/wordpress/trunk@18824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 21:48:03 +00:00
azaozz
75432d53b0 Clean up remnants from having negative Post_IDs, props markjaquith, fixes #18235
git-svn-id: http://svn.automattic.com/wordpress/trunk@18823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 21:47:52 +00:00
ryan
44029b1ef1 Disallow indexing wp-admin and wp-includes in robots.txt. Props SergeyBiryukov. fixes #18465
git-svn-id: http://svn.automattic.com/wordpress/trunk@18822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 21:47:04 +00:00
ryan
2edc82cd61 * Move the old sidebars_widgets array upgrade code to wp-admin/includes/upgrade.php
* Avoid infinite loop with wp_get_sidebars_widgets()
* Remove two unneeded wp_get_sidebars_widgets() calls
* Remove unused $wp_registered_sidebars variable from wp_get_sidebars_widgets().
* Combine  a couple of !empty( $sidebars_widgets ) checks in retrieve_widgets()
Props SergeyBiryukov, lancewillett. fixes #17979 #18598


git-svn-id: http://svn.automattic.com/wordpress/trunk@18821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 21:41:22 +00:00
nacin
f186494c9a Cache internal linking nonce jQuery object. props mitchoyoshitaka. Update this nonce through autosave. fixes #18403.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 21:39:55 +00:00
nacin
3440dbb182 Add filter for the args into wp_dropdown_pages() in the page attributes box. Give the list_pages filter the context of the post object. fixes #8592 for 3.3.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 21:21:15 +00:00
nacin
a418189fe2 Kill the tables in install.php. props andrewryno. see #16413.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 19:57:36 +00:00
nacin
1066f1addb Pass unslashed values from update_metadata() to add_metadata(). fixes #17343.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 19:37:58 +00:00
nacin
008beac918 Make the sort-by-object-property functions generic. see #14424.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 17:20:34 +00:00
ryan
476b3d9a65 Use _wp_tag_cloud_count_sort_cb instead of an anonymous function. Props ocean90. see #14424
git-svn-id: http://svn.automattic.com/wordpress/trunk@18814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 17:09:04 +00:00
azaozz
b26dcf5ce6 Recursively convert html entities in script localization strings, see #11520
git-svn-id: http://svn.automattic.com/wordpress/trunk@18813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 06:43:46 +00:00
nacin
ccf47d55c4 Remove remnants of show_admin_bar_admin. see #18811, see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 06:12:51 +00:00
nacin
fc7fb8b03e Revert [18804] until we have a proper solution. see #11520.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 05:50:44 +00:00
nacin
f4c5d43326 Revert [18783], as it breaks term relationship counts for attachment taxonomies. see #17548.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 05:29:20 +00:00
markjaquith
58e0851786 Add note about why double-serialization is done. props SergeyBiryukov. fixes #16597
git-svn-id: http://svn.automattic.com/wordpress/trunk@18807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 02:23:26 +00:00
dd32
f1ffd16440 Document the Magic numbering in WP_Http_Encoding::compatible_gzinflate(). Fixes #18273
git-svn-id: http://svn.automattic.com/wordpress/trunk@18806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 02:10:35 +00:00
dd32
08bea55949 Pass $args and $url to the http_api_debug action to improve debugging. Props johnbillion. Fixes #18732
git-svn-id: http://svn.automattic.com/wordpress/trunk@18805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 01:42:09 +00:00
azaozz
e30854e968 Convert html entities in script localization strings, see #11520
git-svn-id: http://svn.automattic.com/wordpress/trunk@18804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 00:34:24 +00:00
azaozz
d58e337d24 Use WP_Editor when editing or replying to comments, props ocean90, remove vendor specific selectors from editor-buttons.css, fixes #18348, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-28 21:07:08 +00:00
azaozz
fea5c38ef4 Add filter so the users can select custom image sizes added by themes and plugins, props alexkingorg, fixes #18520
git-svn-id: http://svn.automattic.com/wordpress/trunk@18802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-28 17:27:48 +00:00
azaozz
21d9701150 Remove max-width from list tables. Better to limit the width on individual fields or areas where readability is impacted, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-28 16:05:59 +00:00
azaozz
e076a246fd Fix enqueueing of the right scripts when more than one instance of the editor, fix inserting images in full screen mode, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-28 07:26:34 +00:00
azaozz
8315e48d3a Add error message when loading the preview image in the image editor fails, fixes #18723
git-svn-id: http://svn.automattic.com/wordpress/trunk@18798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-28 06:08:56 +00:00
koopersmith
8c1bc6831a Add dashboard help tabs, revise help tab layout and code. see #18690.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-28 00:57:56 +00:00
nacin
de8cc0eae1 Release a user's post lock when the user leaves a post. see #18515.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 20:52:07 +00:00
nacin
b171681162 Correct the src for jquery-ui-datepicker. props danielbachhuber, fixes #18793. see #17952.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 19:50:15 +00:00
nacin
6edb31db27 Ensure we have a full blog object in get_active_blog_for_user(). fixes #18789.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 07:36:36 +00:00
nacin
cb21513a15 Fix docs for get_meta_sql(). First arg cannot be optional. props duck_, fixes #18717.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 05:13:07 +00:00
nacin
83746331cf Cleanup in wp_admin_bar_new_content_menu. current() instead of array_shift(), remove unused index 1 from the arrays, remove ?post_type=post from the Post link. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 04:04:10 +00:00
koopersmith
0c79429d8b Add secondary section to 'Add New' admin bar menu. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 03:53:43 +00:00
koopersmith
c00a49dd7a Prevent multiple-word admin bar items from overflowing in Firefox. props chrisbliss18, helenyhou. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 03:16:05 +00:00
nacin
ea5730329d Pass instance and id_base to widget_tirle filter in WP_Widget_Recent_Comments. props scribu, fixes #18393.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 02:38:31 +00:00
ryan
d187cf2559 Count only published posts when updating term counts. Fire term count updates on transition_post_status. Props joehoyle. fixes #17548
git-svn-id: http://svn.automattic.com/wordpress/trunk@18783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-26 22:24:46 +00:00
koopersmith
d417524b4a Introduce help tabs and WP_Screen. props mbijon, goldenapples, natebedortha, ryan. see #18690.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-26 21:03:38 +00:00
azaozz
5ca2255bba Fix the uploader popup in DWF, reduce the height of the drop area, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-26 19:23:43 +00:00
westi
59cb3c0ddd Only show 'About this version' menu item to logged in users.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-26 08:40:31 +00:00
koopersmith
590868d915 Second pass, admin bar overhaul. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-25 23:30:40 +00:00
azaozz
ce992634cc Fix the workaround for UI Draggable to include single instance widgets (do they still exist?), see #17952
git-svn-id: http://svn.automattic.com/wordpress/trunk@18774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-25 18:53:34 +00:00
azaozz
1e145adb97 Add border radius to .postbox .hndle, props Jick, fixes #18657
git-svn-id: http://svn.automattic.com/wordpress/trunk@18773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-25 17:17:51 +00:00
duck_
26d36e6eda Remove .js .item-order style made redundant by r18755. See #18314.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-24 19:57:52 +00:00
nacin
07567002bb Update esc_url() phpdoc. props sirzooro, fixes #18766.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-24 19:52:26 +00:00
duck_
37441fac3e Fix copy+paste error in documentation. Props masonjames, SergeyBiryukov. Fixes #18545.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-24 19:37:34 +00:00
nacin
9f216ad715 delete_post_thumbnail(). props CoenJacobs, duck_. fixes #17895.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-24 19:31:38 +00:00
azaozz
eb8878fbfc Fix wplink when TinyMCE is not loaded, fix image insertion when wpActiveEditor is not set, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-24 04:43:19 +00:00
nacin
55a0bfcdc8 Provide styling to HTML5 text-like inputs (email, number, search, tel, url). see #17863.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-23 21:12:43 +00:00
koopersmith
27d6351a64 Use admin menu API when responsively collapsing the menu. CSS fixes. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-23 20:22:52 +00:00
koopersmith
1b6afc2077 Correct text widget background color. It was really messing with our feng shui.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-23 20:05:13 +00:00
nacin
5254f5f78f Combine some CSS definitions. props DH-Shredder, see #18314.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-23 18:52:51 +00:00
azaozz
e7e4ceed22 Update jQuery to 1.6.4, update jQuery UI to 1.8.16, add the rest of UI, add workaround for a regression in UI Draggable, see #17952
git-svn-id: http://svn.automattic.com/wordpress/trunk@18757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-23 05:03:31 +00:00
koopersmith
48d20c1839 Hide nav menu item order arrows when JS is available and correct expanded nav menu item CSS bug.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 22:33:27 +00:00
koopersmith
f40872acdd Remove expanded class from flyout menus. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 20:24:12 +00:00
duck_
4a6513185a Documentation fixes. See #18560.
- Add missing parameters
 - Add missing @param data types
 - s/format_where/where_format/


git-svn-id: http://svn.automattic.com/wordpress/trunk@18753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 12:02:31 +00:00
westi
b816f54124 Revert [18747] until we can discuss it further. See #18453.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 09:15:45 +00:00
westi
19f46502c0 Add support for rar and 7x file uploading. Fixes #16412 props Caspie.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 08:29:35 +00:00
azaozz
95e8b34104 Postpone warnings when WP_DEBUG and WP_DEBUG_DISPLAY are set, see #18453
git-svn-id: http://svn.automattic.com/wordpress/trunk@18747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 02:27:00 +00:00
nacin
12bc347475 Detect current menu items for root-relative URLs. props filosofo, fixes #15954.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 02:25:57 +00:00
koopersmith
723e50230e Add new 'about this version' page (with filler content) and menu item. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 23:20:26 +00:00
azaozz
1cdd3d5154 Fix inconsistent css handling of .wide-screen, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 21:44:44 +00:00
duck_
2fb95a133d wp_strip_all_tags() in wp_trim_words() to remove CSS and JS within tags. Props evansolomon. Fixes #18726.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 20:39:21 +00:00
ryan
3c2ba4afed Pass the authenticated user_login to the wp_login action. Props Otto42, SergeyBiryukov. fixes #15473
git-svn-id: http://svn.automattic.com/wordpress/trunk@18741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 20:26:39 +00:00
ryan
69a52799a5 Do not output title attributes in the page walker since they match the anchor and are thus superfluous. Props logiclord. fixes #16783
git-svn-id: http://svn.automattic.com/wordpress/trunk@18739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 20:04:14 +00:00
ryan
7aedd7ec52 Run the sanitize_option_* filter for all options in sanitize_option(). Add some sanity checks for the permalink options while in there. fixes #18737
git-svn-id: http://svn.automattic.com/wordpress/trunk@18738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 19:05:06 +00:00
azaozz
4228aa301c Remove the scrollbar from the login screen, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 18:47:12 +00:00
azaozz
ffca93b1f2 Responsive admin improvements for the dashboard, new/write screens and links screens, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 06:16:24 +00:00
duck_
b225e5b626 Rescue those who created menu items before r18733. Trim menu item descriptions. See #16799.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 22:57:47 +00:00
duck_
bc3b3aed4d Make new nav menu items have a blank description and attr_title. See #16799.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 21:58:37 +00:00
duck_
8cfc0fa5ec Abstract word-trimming from wp_trim_excerpt() into wp_trim_words(). Props nacin. Fixes #16372.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 17:14:23 +00:00
azaozz
456753acce Remove redundant userinfo styling, props ocean90 and SergeyBiryukov, see #18197
git-svn-id: http://svn.automattic.com/wordpress/trunk@18730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 03:37:17 +00:00
azaozz
eba25e47a6 Merge all border-radius: 3px, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 03:02:53 +00:00
azaozz
7210ddb762 Quicktags: fix closing of the first tag in an empty textarea, allow closing of all tags without the button, see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 02:22:43 +00:00
azaozz
f4acbe5a0a Remove unnecessary vendor prefixes, props ocean90, see #18700
git-svn-id: http://svn.automattic.com/wordpress/trunk@18726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 01:27:14 +00:00
azaozz
64da76d23e Fix quicktags buttons fir self-closing tags, remove unneeded arg when adding a button, see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 20:47:20 +00:00
ryan
bad1132fdf Mark some string in dead_db() for translation. Props mako09, SergeyBiryukov. fixes #17815
git-svn-id: http://svn.automattic.com/wordpress/trunk@18724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 20:21:39 +00:00
ryan
2b9750b3e4 phpdoc typo fixes for get_template_part(). Props dgwyer, SergeyBiryukov. fixes #18555
git-svn-id: http://svn.automattic.com/wordpress/trunk@18723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 19:01:03 +00:00
duck_
698957e40e Add post formats to quick edit and bulk edit. Fixes #18083.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 17:02:58 +00:00
duck_
6e2ffdc289 Allow current_theme_supports() to be used to check for specific post formats. Props ericmann. Fixes #18691.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 16:29:03 +00:00
azaozz
c748eaf1f0 Remove dependency from ie.css, props SergeyBiryukov, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 16:28:53 +00:00
dd32
f40bc45b6f Add inflation support for java.util.zip.Deflater in WP_Http_Encoding::compatible_gzinflate(). Fixes #18273
git-svn-id: http://svn.automattic.com/wordpress/trunk@18718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 14:43:43 +00:00
westi
5eef6313ef Improve the parsing of email addresses in wp_mail to re-support RFC2822 nameless "<address@tld.com>" style. Fixes #18463 props kitchin and SergeyBiryukov.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 14:30:50 +00:00
westi
0826f08315 Set up the post global variable in the comment feed loops so that any calls to post related template tags work correctly.
Ensures that atom feeds show threading for top-level comments correctly.
Fixes #14908 props solarissmoke and SergeyBiryukov.

git-svn-id: http://svn.automattic.com/wordpress/trunk@18716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 12:39:59 +00:00
westi
738904e996 Escape the dot so that it only matches dot any not any character in the old feed files redirect.
Bump the db version so the rules regenerate.
See #18384

git-svn-id: http://svn.automattic.com/wordpress/trunk@18715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 12:15:43 +00:00
dd32
4752a8a1aa Add documentation for floats (%f) to wpdb::prepare() and friends. Props dllh. Fixes #18407
git-svn-id: http://svn.automattic.com/wordpress/trunk@18714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 05:15:44 +00:00
dd32
bd5cf872c6 Allow Apostrophes in Post Passwords. $_POST and $_COOKIE are always slashed. Fixes #17145
git-svn-id: http://svn.automattic.com/wordpress/trunk@18712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 04:17:26 +00:00
dd32
085ba95a60 Fix wp_list_filter() OR operator. Props kevinB. Fixes #18092
git-svn-id: http://svn.automattic.com/wordpress/trunk@18711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 03:59:52 +00:00
azaozz
4b38d0833e Add TinyMCE command to handle opening of the upload/insert popup, fix the shortcut "Alt+Shift+M", fix the "image" button in DFW, fixes #17992, fixes #18697, see $17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 00:47:23 +00:00
koopersmith
7efa3a5df8 Add pointers feature, and pointer to admin bar, props nacin for PHP bits, see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 21:17:09 +00:00
nacin
e5ca4fea40 Strip a number of special characters in sanitize_title_with_dashes on save. Includes quotes (curly, angle), dashes, marks, etc. props SergeyBiryukov. props ampt for the unit tests in [UT438]. see #10797.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 19:53:59 +00:00
azaozz
80720acfc4 Importers and Install themes thickbox fixes, props helenyhou, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 19:39:49 +00:00
azaozz
9601be8055 Add the styling for "drop area" to Media->Add New, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 17:03:34 +00:00
azaozz
4428b4c435 Improve the image drag-resize detection in the visual editor (supported in FF and IE only), remove the size-* class if the image is soft-resized, see #18107
git-svn-id: http://svn.automattic.com/wordpress/trunk@18702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 03:00:13 +00:00
azaozz
ae2219cd30 Update plupload to 1.5b and add "drop area" for drag and drop uploading, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 02:25:23 +00:00
nacin
2ee655428d Force the admin bar on in the admin as it is now integrated. Removes the second UI option. Leaves out the upgrade routine for now. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-17 22:26:01 +00:00
nacin
b3dfd9e953 is_main_query(). fixes #18677.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-17 20:46:35 +00:00
dd32
b7080959f6 Use http_build_query in the Core Update check to encode version numbers. Props kurtpayne. Fixes #18051
git-svn-id: http://svn.automattic.com/wordpress/trunk@18697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-17 09:14:27 +00:00
koopersmith
053fb714ba Improve comments item in admin bar. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-17 01:11:52 +00:00
koopersmith
b188bea4c8 Admin bar styles, take 1. Props iammmattthomas, see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-17 00:41:04 +00:00
azaozz
f6b2da9388 The rest of add missing var in postbox.js, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 23:28:40 +00:00
duck_
c93578bfbe Fix several CSS syntax errors. Props demetris. Fixes #18640.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 20:41:47 +00:00
westi
34dbc01722 Remove the unimplemented user locale code in the admin bar until we actually implement it for real.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 11:12:37 +00:00
westi
0b4bd67034 Get out quick if we have been passed the ID of the 'logged out' user.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 10:57:31 +00:00
westi
96b942e891 We don't need to do this if the user isn't logged in.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 10:56:06 +00:00
westi
a38314000b Don't try showing these links to non-logged in users either.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 10:50:55 +00:00
westi
a10f6eba7f Don't show this menu for users who are not logged in.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 10:46:12 +00:00
koopersmith
5a7a91af5f Show correct blogs in the admin bar sites menu. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 07:18:05 +00:00
koopersmith
9229f1f7ed Improve appearance of Screen Options/Help panels, see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 07:10:04 +00:00
koopersmith
834dc9ff5e Admin bar UX improvements. First pass, see #18197
git-svn-id: http://svn.automattic.com/wordpress/trunk@18683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 05:01:54 +00:00
duck_
e085f4f0d6 Remove the non_existent_objects property from WP_Object_Cache. Fixes #16274.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 20:28:06 +00:00
duck_
cda68f14f9 Introduce wp_suspend_cache_addition() to allow reduced memory usage when cache additions aren't useful. Fixes #5389.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 20:23:00 +00:00
nacin
a96e0dff91 Remove support for <link rel=start>, end, up, and index. These rel="" values have been dropped by the HTML Working Group. props Elpie, kawauso, fixes #18128.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 16:54:59 +00:00
westi
05ea44afea Remove the accidental commit of the cache avoiding test code in [18677] props vnsavage
git-svn-id: http://svn.automattic.com/wordpress/trunk@18679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 10:43:22 +00:00
westi
1b6398d64b A little bit of whitespace keeps the code readable.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 10:09:45 +00:00
westi
5405bd3838 Set a consistent cache key when using the_widget to display the Recent Posts and Recent Comments widgets so that they get cached. See #16761.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 10:08:43 +00:00
westi
7fd6ab93c3 Fix Notices in default Widgets when called using the_widget(). Fixes #16761 props mfields and SergeyBiryukov
git-svn-id: http://svn.automattic.com/wordpress/trunk@18676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 09:41:17 +00:00
azaozz
2605391379 Improve handling of plupload init and add a filter, stop including cookies in the init (not needed with plupload), see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 05:30:58 +00:00
azaozz
bff7722dd1 Responsive themes screen, props helenyhou, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 04:26:26 +00:00
azaozz
c032d9a1ed Limit max width of .widefat list tables, props helenyhou, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-14 21:08:44 +00:00
azaozz
ee74f3a9a6 Responsive tag and category pages, props saracannon, see #18189
git-svn-id: http://svn.automattic.com/wordpress/trunk@18669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-14 21:03:13 +00:00
azaozz
d868f40f99 Revert [18664] and handle any similar cases separately, props SergeyBiryukov, fixes #16810, fixes #18656
git-svn-id: http://svn.automattic.com/wordpress/trunk@18668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-14 20:23:33 +00:00
azaozz
debc12b386 Auto-column switching for the dashboard (js based), see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-14 07:02:46 +00:00
azaozz
b55485592b Make DFW content width match exactly the reported width from the theme, props helenyhou, fixes #18138
git-svn-id: http://svn.automattic.com/wordpress/trunk@18666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-13 20:03:28 +00:00
nacin
020e620769 Use get_template_part() in get_header(), get_sidebar(), get_footer(). props scribu, see #18331.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-13 16:17:14 +00:00
azaozz
01d0ae4ad9 Make hide-if-no-js and hide-if-js important, props solarissmoke, fixes #16810
git-svn-id: http://svn.automattic.com/wordpress/trunk@18664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-13 02:52:02 +00:00
nacin
feb2ba5831 Allow get_blog_option(null,...) to hit the cache for the current blog. New return values for add_blog_option, update_blog_option, delete_blog_option. Don't set the cache in those functions if add/update/delete_option failed. see #17883.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-11 18:53:09 +00:00
nacin
4319712d64 Rename 'Post Tags' to 'Tags'. props scribu, fixes #17683.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-11 17:52:46 +00:00
azaozz
2404c9cdf0 TinyMCE 3.4.5, fixes #18107
git-svn-id: http://svn.automattic.com/wordpress/trunk@18660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-09 20:08:40 +00:00
ryan
5ebcc1d3ea Improve cron locking. Avoid multiple cron processes looping over the same events. fixes #17462
git-svn-id: http://svn.automattic.com/wordpress/trunk@18659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-09 19:59:44 +00:00
nacin
01073d5f3c Add phpdoc for default arg for get_option(). props amereservant, solarissmoke, fixes #17819.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-09 17:53:41 +00:00
nacin
c8cdb0cd3d Update blog last_updated time only on publish_post. Both private_to_published and publish_phone are overly broad and otherwise redundant. props mdawaffe, fixes #18624.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-09 17:49:30 +00:00
azaozz
dc936c54c1 Rename the newly added action 'after_theme_change' to 'after_switch_theme' so it matches the 'switch_theme' action, props scribu, see #17979
git-svn-id: http://svn.automattic.com/wordpress/trunk@18656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-08 20:59:41 +00:00
azaozz
c00346820f Make check_theme_switched() run an action so this enhancement is available to plugins and themes too, see #17979
git-svn-id: http://svn.automattic.com/wordpress/trunk@18655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-08 20:07:15 +00:00
azaozz
b79223097c Use theme mods instead of transients for storing the previous theme's widgets config, props aaroncampbell, see #17979
git-svn-id: http://svn.automattic.com/wordpress/trunk@18654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-08 19:25:20 +00:00
ryan
6e68c7bfd9 Update cache.php phpdoc. Props SergeyBiryukov. fixes #18607
git-svn-id: http://svn.automattic.com/wordpress/trunk@18653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-08 17:19:09 +00:00
ryan
23db619491 Don't send page slugs through prepare() to avoid breaking octets in i18n page slugs. Props SergeyBiryukov. see #10249 #166687
git-svn-id: http://svn.automattic.com/wordpress/trunk@18652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-08 17:17:17 +00:00
duck_
c8a4ab1b4c Only add the post format body classes when the post type supports post formats. props ocean90. fixes #18228.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-07 20:10:42 +00:00
duck_
6841d365e5 Don't hide the comment reply or quick edit row if an error is returned. Props ocean90. Fixes #18350.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-07 19:48:25 +00:00
nacin
12becdf50d Add a filter to is_multi_author(). props Viper007Bond, fixes #18600.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-07 13:53:53 +00:00
nacin
db6765354d s/robot/robots/. props madjax, fixes #18612.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-07 13:45:06 +00:00
ryan
4410168419 Standardize variable names. Consistently use and . fixes #18607
git-svn-id: http://svn.automattic.com/wordpress/trunk@18644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-06 21:13:11 +00:00
nacin
f855a18bc1 trailingslashit isn't normally available in ms-files. props davecpage, fixes #18592.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-06 15:41:57 +00:00
duck_
2f51b9be0d Fix typos in documentation (wp-includes/[i-z]). See #18560.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-05 19:08:15 +00:00
nacin
d6fe2825c9 Force a trailing slash on BLOGUPLOADDIR in ms-files.php. props wonderboymusic, see #18592.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-05 16:55:05 +00:00
nacin
a4c18fc053 Use untrailingslashit in url_shorten() and recurse_dirsize(). Remove unnecessary camelCase variables. see #18592.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-05 16:53:19 +00:00