Lance Willett
79194cf2a2
Twenty Twelve: fix double featured images in Front Page Template, closes #22943 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23561 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-01 16:50:34 +00:00
Sergey Biryukov
3624fa4fde
Consistently apply 'preview_post_link' filter. fixes #19378 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23560 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-01 16:46:25 +00:00
Lance Willett
a8c27b4039
Twenty Thirteen: display caption in galleries. Fixes #23584 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23559 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-01 16:44:46 +00:00
Sergey Biryukov
93aa28e208
Consistently apply 'register' filter. props wonderboymusic for initial patch. fixes #14406 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23558 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-01 16:43:18 +00:00
Lance Willett
6db8b40209
Twenty Thirteen: CSS fixes to change single to double quotes, proper quoting around font-family names, and add a missing escape to a background image in custom-header.php. Props markmcwilliams, fixes #23653 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23557 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-01 16:40:29 +00:00
Ryan Boren
206318aeca
There is no need to strip the output of get_site_option().
...
see #21767
git-svn-id: https://develop.svn.wordpress.org/trunk@23556 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-01 16:37:24 +00:00
Ryan Boren
85782c3e39
Introduce wp_slash() and wp_unslash(). This will be used to cleanup the myriad calls to addslashes*, add_magic_quotes, stripslashes*. see #21767
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23555 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-01 16:34:48 +00:00
Ryan Boren
c363aea627
Revert 23416, 23419, 23445 except for wp_reset_vars() changes. We are going a different direction with the slashing cleanup, so resetting to a clean slate. see #21767
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23554 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-01 16:28:40 +00:00
Sergey Biryukov
158a124d0b
Remove redundant esc_url() call. props pauldewouters. fixes #23643 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23553 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-01 16:27:03 +00:00
Sergey Biryukov
da77df683e
Make wp_remove_object_terms() return false if nothing has been deleted. props kovshenin. fixes #15475 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23552 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-01 16:22:07 +00:00
Sergey Biryukov
80e66db499
Make wp_convert_bytes_to_hr() return consistent results on 32-bit and 64-bit systems. fixes #23626 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23551 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-01 15:59:10 +00:00
Sergey Biryukov
c99000e98c
Ensure that get_nav_menu_locations() always returns an array. props JustinSainton for initial patch. fixes #23508 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23550 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-01 15:51:16 +00:00
Lance Willett
d7c28ced8a
Twenty Thirteen: more CSS cleanup, props SergeyBiryukov. See #23652 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23549 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-01 04:04:52 +00:00
Lance Willett
44b8b0c3f1
Twenty Thirteen: better font-size rules all blockquotes, setting a smaller base rule and overriding the large only for entry content. Also fix too-wide comment iframes.
...
Props Viper007Bond for the nudge. Fixes #23651 .
git-svn-id: https://develop.svn.wordpress.org/trunk@23548 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-01 04:01:45 +00:00
Lance Willett
9eb7619193
Twenty Thirteen: reduce font-size a bit for comment content areas. See #23651 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23547 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-01 03:34:11 +00:00
Lance Willett
107be61753
Twenty Thirteen: trim down font properties, props obenland. Fixes #23546 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23546 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-01 03:24:18 +00:00
Lance Willett
057c586b3a
Twenty Thirteen: fix missing space in selector! Props markmcwilliams, fixes #23652 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23545 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-01 03:22:19 +00:00
Lance Willett
f5038132ed
Twenty Thirteen: second pass at styles for attachment pages that are not images: hide sidebar and navigation link, better alignment of Edit link.
...
Closes #23632 .
git-svn-id: https://develop.svn.wordpress.org/trunk@23544 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-01 03:20:22 +00:00
Andrew Ozz
da3d4313b4
Logged out warnings: restructure the PHP code (no need for a class), props nacin, see #23295
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23543 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-01 01:55:33 +00:00
bumpbot
85550f9f94
Compress scripts/styles: 3.6-alpha-23542.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23542 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 22:58:40 +00:00
Lance Willett
5ba76f91c2
Twenty Thirteen: add styles for attachment pages that are not images, fixes #23632 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23541 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 22:32:17 +00:00
Helen Hou-Sandi
144a7a190b
Remove input field focus styles in DFW to enhance the distraction-free-ness. props ocean90. fixes #23648 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23540 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 22:22:48 +00:00
Lance Willett
a72c418fcc
Twenty Thirteen: make footer widget area the primary sidebar, acting as "secondary" content. Move optional sidebar widget area to "tertiary" content. Props obenland, fixes #23644 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23539 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 21:35:26 +00:00
Lance Willett
dc778a96a5
Twenty Thirteen: remove unused selector.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23538 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 21:28:47 +00:00
Andrew Nacin
3c4c5649fe
Allow paths with two consecutive dots to be passed to home_url() and all related *_url() functions.
...
props markjaquith.
fixes #19032 .
git-svn-id: https://develop.svn.wordpress.org/trunk@23537 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 21:04:26 +00:00
Andrew Nacin
bedf69f229
Imporove a selector targeting taxonomy meta boxes. props SergeyBiryukov. see #22975 .
...
Uses correct patch, reverting [23517].
git-svn-id: https://develop.svn.wordpress.org/trunk@23536 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 20:50:32 +00:00
Andrew Nacin
715edd6d00
Remove direct call to add_new_user_to_blog() as this is already hooked into wpmu_activate_user.
...
The second argument passed by that hook is not $email, so let's change that. It is not used.
props wonderboymusic.
fixes #15173 .
git-svn-id: https://develop.svn.wordpress.org/trunk@23535 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 20:28:36 +00:00
Andrew Nacin
d3a4aa7e29
Ignore protected meta keys in meta_form(). see #18786 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23534 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 19:51:29 +00:00
Lance Willett
7d025e3e81
Twenty Thirteen: disable fixed navbar on small screens. Props obenland, fixes #23647 .
...
Also closes #23526 , #23535 , and #23566
git-svn-id: https://develop.svn.wordpress.org/trunk@23533 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 19:49:26 +00:00
Lance Willett
c361184e4b
Twenty Thirteen: wrap up vendor prefix cleanup with final Opera removals. Fixes #23582 , props Jayjdk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23532 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 19:42:29 +00:00
Andrew Nacin
352183c346
Revert [23359]. The post_author and comment_count post object fields will remain numeric strings for back compat. see #22324 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23531 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 19:40:26 +00:00
bumpbot
60a88cf02c
Compress scripts/styles: 3.6-alpha-23530.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23530 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 19:07:34 +00:00
Andrew Nacin
94a0410530
Make Twenty Thirteen the default theme.
...
Has the added benefit of ensuring the WordPress Beta Tester plugin allows updates of Twenty Thirteen.
props JustinSainton.
fixes #23573 .
git-svn-id: https://develop.svn.wordpress.org/trunk@23529 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 19:01:07 +00:00
Andrew Nacin
f6450ab8ce
esc_url() when printing a URL into an attribute, even when it is known to be safe. (see #17562 )
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23528 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 18:58:52 +00:00
Andrew Nacin
48ddbda8f8
Automatically esc_url() the URL echoed by the_permalink().
...
This makes the_permalink() useful, rather than needing to do `echo esc_url( get_permalink() )` to get proper encoding of ampersands, etc. This will not double-encode when esc_url() has already been applied to the filter here, but that code can now be removed.
props mfields.
fixes #17562 .
git-svn-id: https://develop.svn.wordpress.org/trunk@23527 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 18:56:39 +00:00
Lance Willett
f29956a164
Twenty Thirteen: avoid padding bug with Masonry, props obenland, fixes #23646 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23526 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 18:50:36 +00:00
Lance Willett
0ca0d843f8
Twenty Thirteen: usability improvement for calendar widget links. Props MikeHansenMe, fixes #23606 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23525 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 18:46:40 +00:00
Andrew Nacin
a4324ec19c
Remove bogus pagination rules from the comments permastruct. (As in, comments/page/?([0-9]{1,})/?$.) props wonderboymusic, fixes #21138 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23524 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 18:35:13 +00:00
Lance Willett
8c0f68a5a1
Twenty Thirteen: usability improvement for better viewing of images on attachment pages. Props DrewAPicture and obenland, fixes #23543 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23523 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 18:33:39 +00:00
Andrew Nacin
446c4f85af
Update to PHPMailer 5.2.4. props bpetty. fixes #21074 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23522 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 18:33:13 +00:00
Andrew Nacin
9d885adce3
Add self_link filter to self_link(). props josephscott. fixes #10434 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23521 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 18:27:13 +00:00
Lance Willett
dc5bfd4977
Twenty Thirteen: apply `box-sizing: border-box` as a universal selector. Props Jayjdk, see #23582 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23520 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 18:14:01 +00:00
Andrew Nacin
2d2bb70ec2
Allow nonce name to be passed to wp_nonce_url(), as allowed by wp_nonce_field(). props MatthewRuddy, fixes #22423 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23519 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 18:08:53 +00:00
Andrew Nacin
57f7ae7af4
Stop using deprecated jQuery API (.browser and .live). Do manual UA sniffing where still necessary. Improve selector performance by using delegated events. props ocean90. see #22975 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23518 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 18:05:28 +00:00
Andrew Nacin
854f7138f9
Imporove a selector targeting taxonomy meta boxes. props SergeyBiryukoc. see #22975 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23517 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 18:03:18 +00:00
Andrew Nacin
5a2b79d914
jQuery Migrate 1.1.1. props ocean90. see #22975 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23516 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 18:02:26 +00:00
Andrew Nacin
23b1a46710
Fix internal linking dialog conflicts with jQuery UI 1.10.x. Syncs jQuery UI CSS styles.
...
Remaining issue will be fixed in 1.10.2 final.
props ocean90.
see #23370 .
git-svn-id: https://develop.svn.wordpress.org/trunk@23515 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 17:54:00 +00:00
Lance Willett
3aa5f1cbec
Twenty Thirteen: first pass at better color contrast for links. Also fixes very poor contrast for h3-h6 headings in footer widget area. Props jorbin and sabreuse. See #23513
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23514 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 17:52:24 +00:00
Lance Willett
a507c94002
Twenty Thirteen: style the multisite registration form, props kwight. Fixes #23631 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23513 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 16:59:03 +00:00
Andrew Nacin
34a00ae277
Move admin bar initialization from init to template_redirect, so conditional tags may be used in the show_admin_bar filter. props scribu. fixes #20101 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23512 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 16:56:35 +00:00