Lance Willett
c03b4a21c6
Twenty Twelve: in small menu give sub-menu items a bit of indentation to denote the hierarchy of items. See #21562 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21564 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 22:10:56 +00:00
Andrew Nacin
d41d58d128
Move the optimization done to get_user_by() in [21376] higher up the stack, into map_meta_cap() and is_super_admin().
...
This provides nearly the same benefits without possibly receiving a stale object from get_userdata(),
which could affect authentication, and introduce side effects for plugins.
see #21120 .
git-svn-id: https://develop.svn.wordpress.org/trunk@21563 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 21:58:34 +00:00
Lance Willett
c4e51487e5
Twenty Twelve: minor style fixes for small navigation menu (line-height) -- see #21562 ; featured image on homepage timeplate (space below image in small layouts).
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21562 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 21:44:38 +00:00
Ryan Boren
938c5f2fc3
s/is_ms_switched/ms_is_switched/ see #21459
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21561 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 20:56:34 +00:00
Ryan Boren
54619803b0
Introduce is_ms_switched(). see #21459
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21560 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 20:48:35 +00:00
Ryan Boren
30218d5ea5
Introduce WP_Post class. Clean up ancestors handling. Props scribu, toppa. fixes #10381 see #21309
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21559 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 19:47:52 +00:00
Lance Willett
453941f725
Twenty Twelve: better naming for the homepage widget areas, props nacin. See #21619 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21558 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 19:43:16 +00:00
Lance Willett
35ad2034b2
Twenty Twelve: re-implement the hiding of toggle element when empty menu is present, see #21562 and r21520 props cfinke.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21557 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 19:14:51 +00:00
Lance Willett
9bdc159632
Twenty Twelve: patch IE7 for clip styles (hidden elements were displaying incorrectly).
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21556 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 19:13:28 +00:00
Lance Willett
1addc8f756
Twenty Twelve: change homepage widget areas to use columns or multiple areas instead of one big area. Fixes #21619 , props obenland.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21555 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 18:45:00 +00:00
Lance Willett
c148784433
Twenty Twelve: improve navigation to be mobile-first and not rely on JS for hiding and showing, props obenland for patches. See #21562 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21554 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 18:35:33 +00:00
Ryan Boren
962a3ff664
Reduce calls to sanitize_title_with_dashes in register_(post_type|taxonomy). Props ocean90. fixes #21600
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21553 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 17:25:06 +00:00
Andrew Nacin
56dd6e86a3
Add term_taxonomy_id field handling to WP_Tax_Query::transform_query(), allowing the transformation to be bypassed when tt ids are passed.
...
props wonderboymusic.
fixes #21228 .
git-svn-id: https://develop.svn.wordpress.org/trunk@21552 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 16:49:21 +00:00
Andrew Nacin
8cac9d023a
Remove unused multisite option 'language'. props wonderboymusic. fixes #21545 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21551 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 16:43:44 +00:00
Andrew Nacin
beec541ae9
Always return a variable reference from get_pages(). props wonderboymusic, foxinni. fixes #20756 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21550 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 16:38:43 +00:00
Andrew Ozz
4b05f3c604
Fix screen reader text in IE7 and 8 in the toolbar "Updates" menu, props SergeyBiryukov, fixes #21333
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21549 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-19 22:19:00 +00:00
bumpbot
c699530ab6
Compress scripts/styles: 3.5-alpha-21548.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21548 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-19 18:58:22 +00:00
Mark Jaquith
40c77861db
Fix the display of widgets in wp-admin when their descriptions wrap to two lines. props mattdanner. fixes #15180
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21547 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-19 18:16:52 +00:00
bumpbot
256c792376
Compress scripts/styles: 3.5-alpha-21546. TinyMCE updated.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21546 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-19 00:58:19 +00:00
Andrew Ozz
754c42e71f
Update TinyMCE to 3.5.6, see #21173
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21545 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-18 23:24:27 +00:00
Andrew Nacin
bb3df46536
We no longer need to check function_exists() for date_default_timezone_set(). props Gary-J, j-idris. fixes #20501 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21544 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-17 23:40:09 +00:00
Lance Willett
c43e008f54
Twenty Twelve: remove twentytwelve_is_categorized_site() in favor of a theme-agnostic future core fix for this issue, see #21479 .
...
Also simplify the logic for checking tag and categories, props SergeyBiryukov and obenland.
git-svn-id: https://develop.svn.wordpress.org/trunk@21543 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-17 22:18:01 +00:00
Lance Willett
0c088e5f37
Twenty Twelve: output dynamic end comment ID value for navigation container (above|below).
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21542 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-17 21:20:16 +00:00
Ryan Boren
ee8cf061f8
Introduce wp_get_mime_types() for fetching the complete list of mime types. Remove the static caching of the types so that filters other than the first filter work. Use wp_get_mime_types() in do_enclose(). fixes #21299 #21594
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21541 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-17 17:25:19 +00:00
Lance Willett
d022dec53b
Twenty Twelve: minor CSS cleanup for extra trailing selector comma, spacing, and too-specific class selector.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21540 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-17 17:23:49 +00:00
Andrew Nacin
3bd03e0826
Output a hidden input of blog_charset when we are hiding the option. props SergeyBiryukov. see #21507 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21539 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-17 16:46:47 +00:00
Ryan Boren
98864bbb7e
Send Content-Type with charset for iframe_header(). Props SergeyBiryukov, sergey.s.betke@novgaro.ru. fixes #19454
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21538 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-17 14:19:03 +00:00
Andrew Nacin
80cc4de72f
If the DB upgrade hasn't yet been run, assume the Link Manager is disabled. Important for multisite installs. props ryan. see #21307 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21537 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-16 23:09:40 +00:00
Andrew Nacin
48a78c01a3
Disable the Link Manager on any future upgrade if it is still enabled but there are no links. see #21307 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21536 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-16 23:08:07 +00:00
bumpbot
4ce19368bf
Compress scripts/styles: 3.5-alpha-21535.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21535 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-16 16:58:26 +00:00
Andrew Ozz
ffba15c130
Fix typo in [21529], props toscho. Simplify the :focus styles for the Screen Options and Help toggles, see #21324
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21534 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-16 15:45:31 +00:00
Lance Willett
b6c113f135
Twenty Twelve: add flexible-header tag back into style.css, in anticipation of it being a core-allowed tag, see #21065 .
...
Remove responsive-width since it's not decided yet, see #21065 .
git-svn-id: https://develop.svn.wordpress.org/trunk@21533 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 22:20:57 +00:00
Andrew Ozz
ab61b71fd5
Revert [21495]. Discussed in dev-chat: it's better if the themes implement this or something similar.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21532 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 21:21:51 +00:00
Ryan Boren
128e63d9aa
Specify the encoding in IXR_Server::output(). Props solarissmoke, sergey.s.betke@novgaro.ru, SergeyBiryukov. fixes #4794
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21531 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 20:12:00 +00:00
bumpbot
36a3924822
Compress scripts/styles: 3.5-alpha-21530.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21530 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 18:58:27 +00:00
Andrew Ozz
f0d18a35dd
Add :focus style to all links, use JS to blur() them on click so the style is only visible when tabbing, props lessbloat, see #21324
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21529 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 18:40:11 +00:00
Ryan Boren
7366f664a8
Specify the charset in WP_Ajax_Response::send(). Props sergey.s.betke@novgaro.ru, SergeyBiryukov. fixes #19448
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21528 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 18:17:21 +00:00
Ryan Boren
c4efcb4def
Fix MS Office mime types. Group the mime list in get_allowed_mime_types() by type. Props hebbet, markel, SergeyBiryukov. fixes #17117
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21527 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 16:48:36 +00:00
Ryan Boren
720ec1cd07
Return post_parent, menu_order, guid, and post_mime_type from wp.getPost(). Props maxcutler. fixes #21308
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21526 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 16:06:05 +00:00
Lance Willett
8d5d12272d
Twenty Twelve: remove initial-scale
value from viewport meta element to avoid iOS zoom bug. Props bradthomas127, see #21577 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21525 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 16:05:13 +00:00
Lance Willett
1ccc08642e
Twenty Twelve: s/"/'/ in array notation, props JarretC. Fixes #21587 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21524 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 15:58:25 +00:00
Ryan Boren
67fb26f7b2
Fix phpdoc for switch_to_blog() and restore_current_blog(). Props SergeyBiryukov. fixes #21459
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21523 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 15:56:14 +00:00
Ryan Boren
a77d7f0867
Add @since for _wp_get_user_contactmethods() and _get_additional_user_keys(). Props SergeyBiryukov. fixes #21246
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21522 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 15:33:59 +00:00
Ryan Boren
70061dfb5f
Update @since for various wpdb properties. Props SergeyBiryukov. fixes #21582
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21521 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 15:32:35 +00:00
Lance Willett
c5902bca7b
Twenty Twelve: selector for navigation menu should style the menu list element, props obenland, see #21562 .
...
Also remove duplicate line-height rule, props bradthomas127. See #21577 .
git-svn-id: https://develop.svn.wordpress.org/trunk@21520 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 05:56:24 +00:00
Lance Willett
b07a12820a
Twenty Twelve: stop nav slide animation when clicking the button multiple times in a row. Props Jayjdk, fixes #21531 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21519 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 05:37:36 +00:00
Lance Willett
77411d483e
Twenty Twelve: fix centering of image captions on image attachment view. Fixes #21530 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21518 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 05:30:36 +00:00
Lance Willett
8b7561bee8
Twenty Twelve: better fix for long words getting hidden in widgets, putting the rules in the correct selector, props obenland. Closes #21503 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21517 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 05:25:40 +00:00
Lance Willett
64746c8d75
Twenty Twelve: move IE8 styles to specific IE selector, props obenland. Closes #21440 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21516 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 05:08:07 +00:00
Lance Willett
2e2fd01f5d
Twenty Twelve: editor RTL style fixes props yoavf, see #21441 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21515 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 05:03:21 +00:00