Commit Graph

21561 Commits

Author SHA1 Message Date
Sergey Biryukov
e3148fb526 Make wp_convert_bytes_to_hr() return consistent results on 32-bit and 64-bit systems. fixes #23626.
git-svn-id: http://core.svn.wordpress.org/trunk@23551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 15:59:10 +00:00
Sergey Biryukov
87f2c02462 Ensure that get_nav_menu_locations() always returns an array. props JustinSainton for initial patch. fixes #23508.
git-svn-id: http://core.svn.wordpress.org/trunk@23550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 15:51:16 +00:00
Lance Willett
463c4d7dd1 Twenty Thirteen: more CSS cleanup, props SergeyBiryukov. See #23652.
git-svn-id: http://core.svn.wordpress.org/trunk@23549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 04:04:52 +00:00
Lance Willett
5e9abd57a1 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: http://core.svn.wordpress.org/trunk@23548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 04:01:45 +00:00
Lance Willett
7b27139b9c Twenty Thirteen: reduce font-size a bit for comment content areas. See #23651.
git-svn-id: http://core.svn.wordpress.org/trunk@23547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 03:34:11 +00:00
Lance Willett
fbae6dd725 Twenty Thirteen: trim down font properties, props obenland. Fixes #23546.
git-svn-id: http://core.svn.wordpress.org/trunk@23546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 03:24:18 +00:00
Lance Willett
7868bc750c Twenty Thirteen: fix missing space in selector! Props markmcwilliams, fixes #23652.
git-svn-id: http://core.svn.wordpress.org/trunk@23545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 03:22:19 +00:00
Lance Willett
198802ccb9 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: http://core.svn.wordpress.org/trunk@23544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 03:20:22 +00:00
Andrew Ozz
99e168d1a2 Logged out warnings: restructure the PHP code (no need for a class), props nacin, see #23295
git-svn-id: http://core.svn.wordpress.org/trunk@23543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 01:55:33 +00:00
Bot (Assets)
507b33ce41 Compress scripts/styles: 3.6-alpha-23542.
git-svn-id: http://core.svn.wordpress.org/trunk@23542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 22:58:40 +00:00
Lance Willett
3f6124bd9e Twenty Thirteen: add styles for attachment pages that are not images, fixes #23632.
git-svn-id: http://core.svn.wordpress.org/trunk@23541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 22:32:17 +00:00
Helen Hou-Sandí
cfe61426bc Remove input field focus styles in DFW to enhance the distraction-free-ness. props ocean90. fixes #23648.
git-svn-id: http://core.svn.wordpress.org/trunk@23540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 22:22:48 +00:00
Lance Willett
531494b993 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: http://core.svn.wordpress.org/trunk@23539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 21:35:26 +00:00
Lance Willett
e884e93597 Twenty Thirteen: remove unused selector.
git-svn-id: http://core.svn.wordpress.org/trunk@23538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 21:28:47 +00:00
Andrew Nacin
5e0b9ac946 Allow paths with two consecutive dots to be passed to home_url() and all related *_url() functions.
props markjaquith.
fixes #19032.



git-svn-id: http://core.svn.wordpress.org/trunk@23537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 21:04:26 +00:00
Andrew Nacin
44669adf16 Imporove a selector targeting taxonomy meta boxes. props SergeyBiryukov. see #22975.
Uses correct patch, reverting [23517].



git-svn-id: http://core.svn.wordpress.org/trunk@23536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 20:50:32 +00:00
Andrew Nacin
e3f7973355 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: http://core.svn.wordpress.org/trunk@23535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 20:28:36 +00:00
Andrew Nacin
401e88e387 Ignore protected meta keys in meta_form(). see #18786.
git-svn-id: http://core.svn.wordpress.org/trunk@23534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 19:51:29 +00:00
Lance Willett
8293fc84bb Twenty Thirteen: disable fixed navbar on small screens. Props obenland, fixes #23647.
Also closes #23526, #23535, and #23566

git-svn-id: http://core.svn.wordpress.org/trunk@23533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 19:49:26 +00:00
Lance Willett
0f71e09366 Twenty Thirteen: wrap up vendor prefix cleanup with final Opera removals. Fixes #23582, props Jayjdk.
git-svn-id: http://core.svn.wordpress.org/trunk@23532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 19:42:29 +00:00
Andrew Nacin
5cd77fdb99 Revert [23359]. The post_author and comment_count post object fields will remain numeric strings for back compat. see #22324.
git-svn-id: http://core.svn.wordpress.org/trunk@23531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 19:40:26 +00:00
Bot (Assets)
73ff644661 Compress scripts/styles: 3.6-alpha-23530.
git-svn-id: http://core.svn.wordpress.org/trunk@23530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 19:07:34 +00:00
Andrew Nacin
afd9cbced9 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: http://core.svn.wordpress.org/trunk@23529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 19:01:07 +00:00
Andrew Nacin
e09a4c5a79 esc_url() when printing a URL into an attribute, even when it is known to be safe. (see #17562)
git-svn-id: http://core.svn.wordpress.org/trunk@23528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 18:58:52 +00:00
Andrew Nacin
48f23ba3a5 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: http://core.svn.wordpress.org/trunk@23527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 18:56:39 +00:00
Lance Willett
c362979823 Twenty Thirteen: avoid padding bug with Masonry, props obenland, fixes #23646.
git-svn-id: http://core.svn.wordpress.org/trunk@23526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 18:50:36 +00:00
Lance Willett
4ec250d5f5 Twenty Thirteen: usability improvement for calendar widget links. Props MikeHansenMe, fixes #23606.
git-svn-id: http://core.svn.wordpress.org/trunk@23525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 18:46:40 +00:00
Andrew Nacin
bf4d00e320 Remove bogus pagination rules from the comments permastruct. (As in, comments/page/?([0-9]{1,})/?$.) props wonderboymusic, fixes #21138.
git-svn-id: http://core.svn.wordpress.org/trunk@23524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 18:35:13 +00:00
Lance Willett
6d5ecce923 Twenty Thirteen: usability improvement for better viewing of images on attachment pages. Props DrewAPicture and obenland, fixes #23543.
git-svn-id: http://core.svn.wordpress.org/trunk@23523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 18:33:39 +00:00
Andrew Nacin
46a8e6e3de Update to PHPMailer 5.2.4. props bpetty. fixes #21074.
git-svn-id: http://core.svn.wordpress.org/trunk@23522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 18:33:13 +00:00
Andrew Nacin
ad2e5da6a0 Add self_link filter to self_link(). props josephscott. fixes #10434.
git-svn-id: http://core.svn.wordpress.org/trunk@23521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 18:27:13 +00:00
Lance Willett
045159cb3d Twenty Thirteen: apply box-sizing: border-box as a universal selector. Props Jayjdk, see #23582.
git-svn-id: http://core.svn.wordpress.org/trunk@23520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 18:14:01 +00:00
Andrew Nacin
81080da6f2 Allow nonce name to be passed to wp_nonce_url(), as allowed by wp_nonce_field(). props MatthewRuddy, fixes #22423.
git-svn-id: http://core.svn.wordpress.org/trunk@23519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 18:08:53 +00:00
Andrew Nacin
2301074821 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: http://core.svn.wordpress.org/trunk@23518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 18:05:28 +00:00
Andrew Nacin
9f5884da12 Imporove a selector targeting taxonomy meta boxes. props SergeyBiryukoc. see #22975.
git-svn-id: http://core.svn.wordpress.org/trunk@23517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 18:03:18 +00:00
Andrew Nacin
31aaad4e84 jQuery Migrate 1.1.1. props ocean90. see #22975.
git-svn-id: http://core.svn.wordpress.org/trunk@23516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 18:02:26 +00:00
Andrew Nacin
a41d51a765 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: http://core.svn.wordpress.org/trunk@23515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 17:54:00 +00:00
Lance Willett
3eff7fa98f 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: http://core.svn.wordpress.org/trunk@23514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 17:52:24 +00:00
Lance Willett
a0add96da7 Twenty Thirteen: style the multisite registration form, props kwight. Fixes #23631.
git-svn-id: http://core.svn.wordpress.org/trunk@23513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 16:59:03 +00:00
Andrew Nacin
26d2fc2916 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: http://core.svn.wordpress.org/trunk@23512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 16:56:35 +00:00
Andrew Nacin
8fe09a809c In insert_blog(), make sure we retrieve the insertion ID from wpdb before calling a function that could invoke queries. props feedmeastraycat. fixes #23400.
git-svn-id: http://core.svn.wordpress.org/trunk@23511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 16:53:48 +00:00
Andrew Nacin
699262666b Ensure we strictly compare 'alloptions' and 'notoptions' when protecting these special options.
Trim and check for emptiness of $option in delete_option(), as done for get, update, and add.

fixes #23289.



git-svn-id: http://core.svn.wordpress.org/trunk@23510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 16:49:20 +00:00
Peter Westwood
5c533c9b27 Revisions: Fix up some half renamed variables that break the view and display a mismash of split and combined views. See #23497 props adamsilverstein.
git-svn-id: http://core.svn.wordpress.org/trunk@23509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 16:48:33 +00:00
Peter Westwood
5133b4990b Revisions: Fix up some bugs I introduced while reviewing the mega revisions patch - when comparing two historical revisions only one half of the diff would load
See #23497 props adamsilverstein.


git-svn-id: http://core.svn.wordpress.org/trunk@23508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 16:10:45 +00:00
Helen Hou-Sandí
23e05a6301 Merge revisions.css into wp-admin.css. Move misplaced block of revisions CSS in wp-admin.css into appropriate section. Some standards clean up and selector merging. see #23497.
git-svn-id: http://core.svn.wordpress.org/trunk@23507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 15:40:44 +00:00
Peter Westwood
9bd192fab3 Revisions: First pass an implementing a new UI/UX for reviewing the revisions of posts. See #23497 props adamsilverstein for the initial patch.
This implements a new revisions ui using Backbone and preserves all the old methods of "integration" so the change should be transparent to plugins using revisi
ons with CPTs.

This is the first pass and so there are a number of things still to be resolved, more details in the ticket. Feedback welcomed.


git-svn-id: http://core.svn.wordpress.org/trunk@23506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 15:14:34 +00:00
Andrew Ozz
766d96db5d Logged out warnings: remove debug leftovers, see #23295
git-svn-id: http://core.svn.wordpress.org/trunk@23505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 09:03:10 +00:00
Andrew Ozz
0910d5755e Improved logged out warnings, first run, props mintindeed, see #23295
git-svn-id: http://core.svn.wordpress.org/trunk@23504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 08:57:17 +00:00
Sergey Biryukov
ccd6e6aeec Don't override filtered screen options on Widgets screen. props bradyvercher. fixes #23239.
git-svn-id: http://core.svn.wordpress.org/trunk@23503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 07:40:11 +00:00
Sergey Biryukov
0cff4a5ea9 Avoid an undefined offset notice in wp_convert_bytes_to_hr(). props soulseekah. fixes #23626.
git-svn-id: http://core.svn.wordpress.org/trunk@23502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 05:25:15 +00:00