Commit Graph

22087 Commits

Author SHA1 Message Date
Sergey Biryukov
c4f8e11df0 Remove redundant code from post_type_supports() and remove_post_type_support(). props obenland, bilalcoder. fixes #21527.
git-svn-id: https://develop.svn.wordpress.org/trunk@23722 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 18:28:33 +00:00
Lance Willett
b989307db1 Twenty Ten: use callback in functions.php to enqueue scripts and styles rather than putting them directly in header.php template file. Props obenland, fixes #23772.
git-svn-id: https://develop.svn.wordpress.org/trunk@23721 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 18:24:45 +00:00
Lance Willett
528a3acd89 Twenty Eleven: use callback in functions.php to enqueue scripts and styles rather than putting them directly in header.php template file. Props obenland, see #23772.
git-svn-id: https://develop.svn.wordpress.org/trunk@23720 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 18:24:04 +00:00
Lance Willett
e9945c2fb4 Twenty Ten: use a filter to modify the output of wp_title(). Props obenland, closes #23774.
git-svn-id: https://develop.svn.wordpress.org/trunk@23719 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 18:16:47 +00:00
Lance Willett
633a2d66ef Twenty Eleven: use a filter to modify the output of wp_title(). Props obenland, see #23774.
git-svn-id: https://develop.svn.wordpress.org/trunk@23718 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 18:15:58 +00:00
Lance Willett
825bdb0ff2 Twenty Twelve: improve Appearance > Header styles to match front end view better -- including loading special Google Font there. Props obenland, fixes #23790.
git-svn-id: https://develop.svn.wordpress.org/trunk@23717 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 18:03:43 +00:00
Lance Willett
861dd21d4f Twenty Twelve: update post author comment markup and styles, improving hCard data parsing and simplifying styles. Fixes #23128.
git-svn-id: https://develop.svn.wordpress.org/trunk@23716 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 17:54:36 +00:00
potbot
b4eeecdae7 POT, generated from r23713
git-svn-id: https://develop.svn.wordpress.org/trunk@23715 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 17:19:37 +00:00
Sergey Biryukov
03aac4585d Add phpdoc for $attr argument of wp_get_attachment_image(). props GaryJ. fixes #23791.
git-svn-id: https://develop.svn.wordpress.org/trunk@23714 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 17:19:10 +00:00
Lance Willett
f87083c0eb Twenty Twelve: load our special Google Font in the visual editor to improve user experience. Props to the Konstanthemes: kovshenin and obenland.
Closes #22499. See also r23672.

git-svn-id: https://develop.svn.wordpress.org/trunk@23713 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 17:09:12 +00:00
Sergey Biryukov
06649a7832 Remove unused variables. props GaryJ. fixes #23789.
git-svn-id: https://develop.svn.wordpress.org/trunk@23712 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 17:08:04 +00:00
Lance Willett
5fd51d5403 Twenty Twelve: fix regression introduced in r23572, allow hide/show of Header Text in Customizer. Fixes #23600.
Also remove another `!important` -- and there was much rejoicing.

Props SergeyBiryukov and obenland.

git-svn-id: https://develop.svn.wordpress.org/trunk@23711 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 16:42:10 +00:00
Sergey Biryukov
e7d746e561 Remove unused variable. props DrewAPicture. fixes #23782.
git-svn-id: https://develop.svn.wordpress.org/trunk@23710 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 16:23:36 +00:00
Sergey Biryukov
d8f3366704 Fix placeholder reference in translator comment. props devesine. fixes #23766.
git-svn-id: https://develop.svn.wordpress.org/trunk@23709 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 16:20:15 +00:00
bumpbot
117e132a94 Compress scripts/styles: 3.6-alpha-23708.
git-svn-id: https://develop.svn.wordpress.org/trunk@23708 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 14:58:36 +00:00
Mark Jaquith
6c5a64408a Turn the Nav Menu meta boxes into an accordion. Less sprawling and overwhelming.
* Registration stays the same — they're meta boxes
* Call `do_accordion_sections()` instead of `do_meta_boxes()` and they render as an accordion

props DrewAPicture, lessbloat, jkudish. fixes #23450. see #23449

git-svn-id: https://develop.svn.wordpress.org/trunk@23707 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 13:16:38 +00:00
bumpbot
951a73e486 Compress scripts/styles: 3.6-alpha-23706.
git-svn-id: https://develop.svn.wordpress.org/trunk@23706 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 06:58:36 +00:00
Andrew Ozz
ded373a640 Local autosave: remove the temp cookie after first use. Prevents false negative if the browser crashes. Add some temp logging to aid testing. See #23220
git-svn-id: https://develop.svn.wordpress.org/trunk@23705 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 06:15:14 +00:00
bumpbot
a4b13093c4 Compress scripts/styles: 3.6-alpha-23704.
git-svn-id: https://develop.svn.wordpress.org/trunk@23704 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 02:58:53 +00:00
Mark Jaquith
4163b21746 Wrap self.run in an anonymous function wrapper so self always gets the same scope.
props azaozz. fixes #23780

git-svn-id: https://develop.svn.wordpress.org/trunk@23703 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 02:32:05 +00:00
Lance Willett
b10ce356ac Twenty Thirteen: ensure footer position if Masonry unavailable for changing the layout. Props obenland, fixes #23771.
git-svn-id: https://develop.svn.wordpress.org/trunk@23702 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-14 22:27:58 +00:00
Lance Willett
a056be4a80 Twenty Thirteen: better caption styles for short words and sentences. Props kwight, fixes #23773.
git-svn-id: https://develop.svn.wordpress.org/trunk@23701 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-14 22:18:40 +00:00
Lance Willett
7d4f3daad4 Twenty Thirteen: hide gallery captions from small screens and when a gallery has 7 columns or more. Props kwight, fixes #23769.
git-svn-id: https://develop.svn.wordpress.org/trunk@23700 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-14 22:11:41 +00:00
Andrew Ozz
860ccd0cba Logged out warnings: remove the logged out warning from autosave when in login_grace_period, see #23295
git-svn-id: https://develop.svn.wordpress.org/trunk@23699 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-14 21:31:02 +00:00
Lance Willett
c95af4823b Twenty Thirteen: remove several more px unit values.
git-svn-id: https://develop.svn.wordpress.org/trunk@23698 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-14 17:53:06 +00:00
Lance Willett
7925ce48b5 Twenty Thirteen: a bit wider search input in main content area. Props obenland, fixes #23765.
Also clean out one case of unneeded "px" value unit.

git-svn-id: https://develop.svn.wordpress.org/trunk@23697 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-14 17:36:39 +00:00
Lance Willett
a1b7cf3cfd Twenty Thirteen: remove custom comment callback in favor of core comment_form() defaults. Props obenland, closes #22005. See #20088.
git-svn-id: https://develop.svn.wordpress.org/trunk@23696 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-14 16:36:14 +00:00
bumpbot
458058760f Compress scripts/styles: 3.6-alpha-23695.
git-svn-id: https://develop.svn.wordpress.org/trunk@23695 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-14 04:58:39 +00:00
Mark Jaquith
134fb4f257 Improve wp_list_comments() markup.
* Whitespace cleanup
* Accepts format=html5 which uses some of the HTML5 elements
* Some helpful HTML comments to help untangle the HTML
* Other misc code cleanup

props lancewillett, obenland, georgestephanis. fixes #20088.

git-svn-id: https://develop.svn.wordpress.org/trunk@23694 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-14 04:26:04 +00:00
Andrew Ozz
5e71fb3992 Local autosave: set a temp cookie on submitting the form and change it on redirecting after the post is saved/updated, then use it to determine if saving worked properly. Removes the chance for false positives after saving/updating a post. See #23220
git-svn-id: https://develop.svn.wordpress.org/trunk@23693 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-14 03:06:07 +00:00
Andrew Ozz
a1ae5c0d28 Logged out warnings, heartbeat: remove nopriv_autosave as it doubles the functionality of the logged out warnings, move wp_ajax_nopriv_heartbeat() under No-privilege Ajax handlers in ajax-actions.php, see #23295, see #23216
git-svn-id: https://develop.svn.wordpress.org/trunk@23692 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-13 23:54:12 +00:00
Andrew Ozz
b653d65c1c Logged out warnings: clear previous errors when interim_login is set, see #23295
git-svn-id: https://develop.svn.wordpress.org/trunk@23691 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-13 23:32:52 +00:00
Lance Willett
92ffd6850f Twenty Thirteen: use new HTML5 comment form argument, and adjust CSS selectors a bit. Closes #23702, see #15080.
git-svn-id: https://develop.svn.wordpress.org/trunk@23690 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-13 22:45:08 +00:00
Mark Jaquith
b95b9917f1 Add the ability to use HTML5 input types in the comment form.
props jorbin, georgestephanis, obenland. fixes #15080

git-svn-id: https://develop.svn.wordpress.org/trunk@23689 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-13 20:31:43 +00:00
Lance Willett
5aed50bd3c Twenty Thirteen: adjust header max-width value for older IE browsers. Props jvisick77, see #23732.
git-svn-id: https://develop.svn.wordpress.org/trunk@23688 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-13 17:48:46 +00:00
Lance Willett
dc52b692e8 Twenty Thirteen: revert three changes to content attributes, props obenland. See #23550.
git-svn-id: https://develop.svn.wordpress.org/trunk@23687 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-13 17:14:00 +00:00
Peter Westwood
7e33770010 Multisite: Ensure that get_blogaddress_by_name does not mangle blognames with leading digits.
Correctly specify the backreference in the regular expression so that it can not become ambiguous when there is a leading digit on the blogname.

Fixes #23689 props dllh.


git-svn-id: https://develop.svn.wordpress.org/trunk@23686 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-13 16:00:38 +00:00
Peter Westwood
6c937208e7 Formatting: Pass the blog charset to htmlspecialchars so that we don't eat non-UTF8 strings in PHP 5.4
Fixes #23688


git-svn-id: https://develop.svn.wordpress.org/trunk@23685 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-13 15:24:38 +00:00
bumpbot
4ff35bd528 Compress scripts/styles: 3.6-alpha-23684.
git-svn-id: https://develop.svn.wordpress.org/trunk@23684 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-13 10:58:39 +00:00
Andrew Ozz
4ad27d6d14 Autosave to the browser's sessionStorage, compare this autosave to the post content on page load and let the user restore it when the data is not the same. First run, see #23220
git-svn-id: https://develop.svn.wordpress.org/trunk@23683 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-13 10:08:16 +00:00
bumpbot
5e439e799e Compress scripts/styles: 3.6-alpha-23682.
git-svn-id: https://develop.svn.wordpress.org/trunk@23682 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-13 00:58:39 +00:00
Andrew Ozz
631980b5fa Post locks on the posts list screen: new icons for the lock, props empireoflight, show avatar for the user currently editing, props dh-shredder, see #23312
git-svn-id: https://develop.svn.wordpress.org/trunk@23681 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-13 00:28:07 +00:00
Lance Willett
eab76eac4a Twenty Thirteen: fix SVN properties.
git-svn-id: https://develop.svn.wordpress.org/trunk@23680 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 22:44:55 +00:00
Lance Willett
05c0f14024 Twenty Thirteen: pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@23679 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 22:42:34 +00:00
Lance Willett
57587835b4 Twenty Thirteen: improve header area padding to ensure stable layout at any size screen. Props jvisick77, fixes #23732. (Small props also to Google TV for revealing the bug.)
git-svn-id: https://develop.svn.wordpress.org/trunk@23678 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 22:41:58 +00:00
Lance Willett
e60535aff1 Twenty Thirteen: revert addition of twentythirteen_attachment_link() in r23523 -- as discussed in the following ticket comments, the tradeoff means simpler code instead of a minor UX enhancement. Closes #23543 and #23719.
git-svn-id: https://develop.svn.wordpress.org/trunk@23677 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 22:07:27 +00:00
Lance Willett
297f1c0f20 Twenty Thirteen: enable a JavaScript-based fix for long sidebar areas that overflow the footer. Props obenland, fixes #23557.
git-svn-id: https://develop.svn.wordpress.org/trunk@23676 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 21:42:53 +00:00
Lance Willett
90d4a19ced Twenty Thirteen: gallery styles fixed to allow image thumbnails larger than 150 to align properly. Props obenland, fixes #23742.
git-svn-id: https://develop.svn.wordpress.org/trunk@23675 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 21:27:13 +00:00
Lance Willett
c8fc6ad2a9 Twenty Thirteen: second pass at RTL support and minor style.css fixes, props obenland. See #23550.
git-svn-id: https://develop.svn.wordpress.org/trunk@23674 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 21:18:15 +00:00
Lance Willett
a25ed6bb60 Twenty Thirteen: remove searchform.php template once core search form accepts HTML5 argument. Props obenland, fixes #23701.
git-svn-id: https://develop.svn.wordpress.org/trunk@23673 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 17:44:27 +00:00