Andrew Nacin
c1816c4bfe
Output a hidden input of blog_charset when we are hiding the option. props SergeyBiryukov. see #21507 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-17 16:46:47 +00:00
Ryan Boren
65f5267604
Send Content-Type with charset for iframe_header(). Props SergeyBiryukov, sergey.s.betke@novgaro.ru. fixes #19454
...
git-svn-id: http://core.svn.wordpress.org/trunk@21538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-17 14:19:03 +00:00
Andrew Nacin
7109699941
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: http://core.svn.wordpress.org/trunk@21537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-16 23:09:40 +00:00
Andrew Nacin
e79a56793c
Disable the Link Manager on any future upgrade if it is still enabled but there are no links. see #21307 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-16 23:08:07 +00:00
Bot (Assets)
95e5cafc63
Compress scripts/styles: 3.5-alpha-21535.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-16 16:58:26 +00:00
Andrew Ozz
5dcccb312f
Fix typo in [21529], props toscho. Simplify the :focus styles for the Screen Options and Help toggles, see #21324
...
git-svn-id: http://core.svn.wordpress.org/trunk@21534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-16 15:45:31 +00:00
Lance Willett
dd69a089f0
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: http://core.svn.wordpress.org/trunk@21533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-15 22:20:57 +00:00
Andrew Ozz
90679de970
Revert [21495]. Discussed in dev-chat: it's better if the themes implement this or something similar.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-15 21:21:51 +00:00
Ryan Boren
cb64a77217
Specify the encoding in IXR_Server::output(). Props solarissmoke, sergey.s.betke@novgaro.ru, SergeyBiryukov. fixes #4794
...
git-svn-id: http://core.svn.wordpress.org/trunk@21531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-15 20:12:00 +00:00
Bot (Assets)
b104249ef2
Compress scripts/styles: 3.5-alpha-21530.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-15 18:58:27 +00:00
Andrew Ozz
8bc0381f7f
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: http://core.svn.wordpress.org/trunk@21529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-15 18:40:11 +00:00
Ryan Boren
c1b270d95a
Specify the charset in WP_Ajax_Response::send(). Props sergey.s.betke@novgaro.ru, SergeyBiryukov. fixes #19448
...
git-svn-id: http://core.svn.wordpress.org/trunk@21528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-15 18:17:21 +00:00
Ryan Boren
2394b77094
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: http://core.svn.wordpress.org/trunk@21527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-15 16:48:36 +00:00
Ryan Boren
489924938f
Return post_parent, menu_order, guid, and post_mime_type from wp.getPost(). Props maxcutler. fixes #21308
...
git-svn-id: http://core.svn.wordpress.org/trunk@21526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-15 16:06:05 +00:00
Lance Willett
24c16e3b05
Twenty Twelve: remove initial-scale
value from viewport meta element to avoid iOS zoom bug. Props bradthomas127, see #21577 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-15 16:05:13 +00:00
Lance Willett
718184b554
Twenty Twelve: s/"/'/ in array notation, props JarretC. Fixes #21587 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-15 15:58:25 +00:00
Ryan Boren
411714ad68
Fix phpdoc for switch_to_blog() and restore_current_blog(). Props SergeyBiryukov. fixes #21459
...
git-svn-id: http://core.svn.wordpress.org/trunk@21523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-15 15:56:14 +00:00
Ryan Boren
5f8ae64dd6
Add @since for _wp_get_user_contactmethods() and _get_additional_user_keys(). Props SergeyBiryukov. fixes #21246
...
git-svn-id: http://core.svn.wordpress.org/trunk@21522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-15 15:33:59 +00:00
Ryan Boren
7342291b01
Update @since for various wpdb properties. Props SergeyBiryukov. fixes #21582
...
git-svn-id: http://core.svn.wordpress.org/trunk@21521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-15 15:32:35 +00:00
Lance Willett
5f1392a175
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: http://core.svn.wordpress.org/trunk@21520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-15 05:56:24 +00:00
Lance Willett
934101fd65
Twenty Twelve: stop nav slide animation when clicking the button multiple times in a row. Props Jayjdk, fixes #21531 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-15 05:37:36 +00:00
Lance Willett
175a38d2d4
Twenty Twelve: fix centering of image captions on image attachment view. Fixes #21530 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-15 05:30:36 +00:00
Lance Willett
632e41fe7d
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: http://core.svn.wordpress.org/trunk@21517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-15 05:25:40 +00:00
Lance Willett
6ef60557e4
Twenty Twelve: move IE8 styles to specific IE selector, props obenland. Closes #21440 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-15 05:08:07 +00:00
Lance Willett
2bf29fe495
Twenty Twelve: editor RTL style fixes props yoavf, see #21441 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-15 05:03:21 +00:00
Bot (Assets)
29621a23ad
Compress scripts/styles: 3.5-alpha-21514.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-14 20:58:23 +00:00
Andrew Nacin
2b21b814a1
@since for wpdb's result property. props SergeyBiryukov. see #21533 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-14 20:34:12 +00:00
Andrew Nacin
f965d758fc
Add magic set, isset, and unset to wpdb. props pento.
...
These magic methods allow us to mark properties as protected or private, without breaking compatibility, as they were once accessible. The joys of PHP4.
fixes #18510 .
git-svn-id: http://core.svn.wordpress.org/trunk@21512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-14 20:26:04 +00:00
Andrew Nacin
c11a4c09e8
Eliminate error suppression for mysql_free_result() and only call it when the result is actually a resource. Depending on the query, mysql_query() can return a boolean rather than a resource, hence the original use of error suppression.
...
Fixes a warning introduced in [21472] when calling mysql_free_result() was moved to flush().
fixes #20838 .
git-svn-id: http://core.svn.wordpress.org/trunk@21511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-14 20:21:10 +00:00
Andrew Ozz
96156ac36c
Stop Chrome from applying outline to DIVs that have tabindex="-1", see #21324
...
git-svn-id: http://core.svn.wordpress.org/trunk@21510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-14 19:37:27 +00:00
Ryan Boren
17f544b798
Update wp_update_user() phpdoc to reflect a possible return of WP_Error. Props SergeyBiryukov. fixes #21439
...
git-svn-id: http://core.svn.wordpress.org/trunk@21509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-14 19:29:40 +00:00
Ryan Boren
77fdb14c2c
Fix display issues in the custom header screen when height is not specified. Use get_header_image() instead of header_image() so that esc_url() can do its job. Props JarretC, SergeyBiryukov, georgestephanis. fixes #21130 #21433
...
git-svn-id: http://core.svn.wordpress.org/trunk@21508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-14 19:24:36 +00:00
Ryan Boren
8eb21fd381
Use admin_url() instead of get_edit_user_link() in wp-login.php since cookies are not yet set. Props SergeyBiryukov. fixes #14787
...
git-svn-id: http://core.svn.wordpress.org/trunk@21507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-14 19:10:37 +00:00
Ryan Boren
dc58551658
Add isset() check to avoid notice. Props c3mdigital. fixes #21512
...
git-svn-id: http://core.svn.wordpress.org/trunk@21506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-14 19:07:56 +00:00
Bot (Assets)
a84e9aebfd
Compress scripts/styles: 3.5-alpha-21505.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-14 18:58:20 +00:00
Ryan Boren
15dd7f70b0
Remove post type from post nonces. Fixes attachment deletion when EMPTY_TRASH_DAYS is 0. Props c3mdigital, kurtpayne, SergeyBiryukov. fixes #21194
...
git-svn-id: http://core.svn.wordpress.org/trunk@21504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-14 18:39:15 +00:00
Andrew Nacin
4d014c4f40
Fix WP_Theme's get_template_directory_uri() method. props batmoo. see #21549 for trunk.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-14 18:38:26 +00:00
Ryan Boren
076868e109
Better instruction text on custom header screen. Props jane, JustinSainton fixes #20992
...
git-svn-id: http://core.svn.wordpress.org/trunk@21502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-14 18:32:26 +00:00
Andrew Nacin
84c3a86036
Hide the link manager from the UI on upgrade, if the site has no links. New DB option, link_manager_enabled.
...
Enforce this by denying the 'manage_links' capability, which hides the All Links, Add New Link, and Link Categories screens. Hide WP_Widget_Links and the UI for the default_link_category as well.
Convert all references to 'posts and links' when handling reassignment on user deletion to just 'posts'.
see #21307 .
git-svn-id: http://core.svn.wordpress.org/trunk@21501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-13 16:18:42 +00:00
Andrew Nacin
720e09ff5b
Stop adding default links and the 'Blogroll' link category on install. props wonderboymusic. see #21307 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-13 15:55:15 +00:00
Bot (Assets)
0802777be2
Compress scripts/styles: 3.5-alpha-21499.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-11 02:58:19 +00:00
Andrew Ozz
64033c4645
Remove unused images, props helenyhou, coffee2code, ocean90, fixes #20980
...
git-svn-id: http://core.svn.wordpress.org/trunk@21498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-11 02:36:01 +00:00
Ryan Boren
1fd3c5471e
Avoid fatal error in the customizer when the current theme doesn't support custom headers. Props c3mdigital. fixes #21515
...
git-svn-id: http://core.svn.wordpress.org/trunk@21497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-10 20:15:06 +00:00
Ryan Boren
cbd6a8becd
Allow passing stdClass and WP_User to wp_insert_user() and wp_update_user(). Introduce WP_User::to_array(). Eliminate uses of get_object_vars() when passing to wp_*_user(). fixes #21429
...
git-svn-id: http://core.svn.wordpress.org/trunk@21496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-10 15:36:54 +00:00
Andrew Ozz
ed1698e29b
Better editor background, take one, see #21536
...
git-svn-id: http://core.svn.wordpress.org/trunk@21495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-10 07:11:03 +00:00
potbot
18cf7ea5a2
POT, generated from r21492
...
git-svn-id: http://core.svn.wordpress.org/trunk@21494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-09 19:22:41 +00:00
potbot
8d1526b981
POT, generated from r21492
...
git-svn-id: http://core.svn.wordpress.org/trunk@21493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-09 19:22:33 +00:00
lancewillett
7e850a0ce6
Twenty Twelve: pinking shears for header.php
...
git-svn-id: http://core.svn.wordpress.org/trunk@21492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-09 18:42:36 +00:00
lancewillett
241a9f5b9d
Twenty Eleven: allow content-single.php to be overridden for post formats, props murky. Closes #17996 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-09 18:31:02 +00:00
lancewillett
27281f6fd1
Twenty Ten and Eleven: *_continue_reading_link() should be pluggable, fixes #16500 . Props nacin and SergeyBiryukov.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-09 18:21:58 +00:00