Commit Graph

21837 Commits

Author SHA1 Message Date
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
Helen Hou-Sandí
b6e33d56f9 Revert [23369] and [23370]: the icons. see #23333.
git-svn-id: http://core.svn.wordpress.org/trunk@23501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 01:15:20 +00:00
Helen Hou-Sandí
05515ffbfb Revert [23407], thereby restoring gradients and shadows. see #23415.
git-svn-id: http://core.svn.wordpress.org/trunk@23500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 00:58:26 +00:00
Helen Hou-Sandí
dabc31a559 Remove default content from post format compat output. We shouldn't magically create content for display not specified by the user, especially given that the current compat is handling the case of new data, old theme. see #23347.
git-svn-id: http://core.svn.wordpress.org/trunk@23499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-27 22:10:08 +00:00
Lance Willett
236ecdd8f4 Twenty Thirteen: style comments correctly when show_avatars option is turned off in Discussion settings. Props SriniG, fixes #23558.
git-svn-id: http://core.svn.wordpress.org/trunk@23498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-27 04:25:14 +00:00
Lance Willett
9aa9bda5d3 Twenty Thirteen: adjust line-height to be consistently applied across elements, props chriswallace and obenland. Fixes #23514.
git-svn-id: http://core.svn.wordpress.org/trunk@23497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-27 04:17:33 +00:00
Lance Willett
5fc6352f0f Twenty Thirteen: consistent link color for video post format, see #23545. Props taupecat.
git-svn-id: http://core.svn.wordpress.org/trunk@23496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-27 03:54:30 +00:00
Bot (Assets)
a38763c2be Compress scripts/styles: 3.6-alpha-23495.
git-svn-id: http://core.svn.wordpress.org/trunk@23495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-26 22:58:42 +00:00
Lance Willett
5e94c0a5c0 Twenty Thirteen: first pass at cleaning up unneeded browser prefixes, props Jayjdk. See #23582.
git-svn-id: http://core.svn.wordpress.org/trunk@23494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-26 05:10:25 +00:00
Lance Willett
4aec9565df Twenty Thirteen: instantly preview header text color changes in the Theme Customizer. Fixes #23585, props SriniG.
git-svn-id: http://core.svn.wordpress.org/trunk@23493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-26 04:59:35 +00:00
Lance Willett
4ba9ccd643 Twenty Thirteen: header area with no site title or tagline should still be clickable to home. Fixes #23549.
Fix also removes several `!important` flags that aren't necessary, relating to header text color.

git-svn-id: http://core.svn.wordpress.org/trunk@23492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-26 04:50:09 +00:00
Lance Willett
b4ee9342b1 Twenty Thirteen: improve styling for RSS widget title, fixes #23571.
git-svn-id: http://core.svn.wordpress.org/trunk@23491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-26 04:42:46 +00:00
Lance Willett
64b5cec3ef Twenty Thirteen: better selector for widget titles. Fixes #23580.
git-svn-id: http://core.svn.wordpress.org/trunk@23490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-26 04:37:19 +00:00
Lance Willett
8b5576c2fa Twenty Thirteen: minor adjustments to bundled "star" header image. Props joen.
git-svn-id: http://core.svn.wordpress.org/trunk@23489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-26 04:35:00 +00:00
Andrew Ozz
5f4ab78505 Add edit-post.min.js for bumpbot's sake, see #23312
git-svn-id: http://core.svn.wordpress.org/trunk@23488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-25 23:38:59 +00:00
Andrew Ozz
9a827a485e Post locks: use heartbeat to dynamically update locked posts on the Posts screen, first run, see #23312
git-svn-id: http://core.svn.wordpress.org/trunk@23487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-25 23:17:10 +00:00
Bot (Assets)
34c96ccbf4 Compress scripts/styles: 3.6-alpha-23486.
git-svn-id: http://core.svn.wordpress.org/trunk@23486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-25 22:58:42 +00:00
Andrew Ozz
580b083e47 Post locks: don't check hidden checkboxes on bulk select/deselect, props dh-shredder, see #23312
git-svn-id: http://core.svn.wordpress.org/trunk@23485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-25 21:24:19 +00:00
Sergey Biryukov
5777e5a949 Rename 'no_tagcloud' taxonomy label to 'not_found', for consistency with the post type label of the same key. fixes #23597.
git-svn-id: http://core.svn.wordpress.org/trunk@23484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-25 19:39:38 +00:00
Sergey Biryukov
bf1ca6b9ca Move 'no_tagcloud' argument to the taxonomy labels object. props DrewAPicture for initial patch. fixes #23597.
git-svn-id: http://core.svn.wordpress.org/trunk@23483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-25 18:35:05 +00:00
Andrew Ozz
f8ecd2719c Fix typo in wp_heartbeat_settings, see #23216
git-svn-id: http://core.svn.wordpress.org/trunk@23482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-25 04:19:51 +00:00
Andrew Ozz
9c2ebc4c60 Heartbeat API: add nopriv actions, add JS 'heartbeat-send' event, see #23216
git-svn-id: http://core.svn.wordpress.org/trunk@23481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-25 02:32:22 +00:00
Andrew Nacin
e91f4bd35f Add \n to end of Twenty Thirteen's font exception file.
git-svn-id: http://core.svn.wordpress.org/trunk@23480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-24 17:31:03 +00:00
Bot (Translations)
34d0d57f8f POT, generated from r23478
git-svn-id: http://core.svn.wordpress.org/trunk@23479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-22 18:19:47 +00:00
Lance Willett
abb81f4cbc Twenty Ten: prevent overflow for large, captioned images. Fixes #22820, props obenland.
git-svn-id: http://core.svn.wordpress.org/trunk@23478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-22 17:42:04 +00:00