Matt Thomas
3ce67886f4
Ensure that theme customizer buttons don't overlap on small screens; allow small-screen theme popup to use the full height of the viewport since the adminmenu is no longer fixed; ensure that buttons in the theme customizer wrap as efficiently as they can on mobile. Fixes #26361 , props mattheu, iammattthomas.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26592 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 21:13:14 +00:00
Lance Willett
a7fa393ef9
Twenty Fourteen: fix JS lint errors in customizer.js file, see r26573.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26591 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 21:12:57 +00:00
Andrew Nacin
57bede1005
Use current_user_can('manage_network_plugins') in validate_active_plugins() instead of is_super_admin().
...
props jdgrimes.
fixes #26068 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26590 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 21:11:21 +00:00
Andrew Nacin
21c76b2340
Allow wp_enqueue_media() to "just work" in a customizer control.
...
props westonruter.
fixes #25618 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26589 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 20:53:47 +00:00
Andrew Nacin
1962b24925
wp_list_categories(): Add cat-item-none and cat-item-all classes to the none/all options.
...
props SergeyBiryukov.
fixes #24428 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26588 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 20:50:41 +00:00
Lance Willett
1996babc54
Twenty Fourteen: enhance main navigation usability by adding in visual indicators for existence of submenu items. Props binarymoon, iamtakashi. Fixes #26200 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26587 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 20:50:31 +00:00
Lance Willett
49e6e30c31
Twenty Fourteen: avoid empty markup when no next or previous image in image template. Props MikeHansenMe and jartes, fixes #26208 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26586 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 20:42:02 +00:00
Andrew Nacin
7b9c30f2e3
Remove certain accents in the Danish language.
...
props tlamedia.
fixes #23907 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26585 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 20:38:03 +00:00
Matt Thomas
8722b53c96
Ensure that 'Add New Theme' text doesn't overlap the + icon even at Firefox's ridiculously small 230px wide browser. Fixes #26226 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26584 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 20:28:50 +00:00
Matt Thomas
a8a4ce9f0d
Reset the login form inputs to the standard sans-serif font in IE8 to prevent invisible password field inputs when webfonts are used. Fixes #26348 , props SergeyBiryukov, iammattthomas.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26583 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 20:11:22 +00:00
Matt Thomas
768fd40c04
Correct the alignment of Activate and Live Preview buttons in responsive Themes page. Fixes #26373 , props mattheu.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26582 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 20:03:45 +00:00
Sergey Biryukov
24be533419
Twenty Fourteen: Remove obsolete comment. props DrewAPicture. fixes #26380 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26581 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 19:19:36 +00:00
Lance Willett
3d96a0cb9a
Twenty Fourteen: remove more widget cache code, props obenland. See #26210 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26580 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 18:53:39 +00:00
Lance Willett
a5e547d2fb
Twenty Fourteen: CSS fixes, props celloexpressions. Fixes #26188 .
...
* Remove unnecessary color layer in header nav (same as header background).
* Fix site description padding with header shadow.
* Create the MediaElements players' time rail and volume container backgrounds with a semi-transparent color so that it adjusts with the player background color if that's changed.
git-svn-id: https://develop.svn.wordpress.org/trunk@26579 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 18:50:20 +00:00
Sergey Biryukov
0aaea5b6ef
Add more .gitignore entries for unit test files.
...
props bpetty.
fixes #26375 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26578 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 18:48:58 +00:00
Lance Willett
0ebba80c02
Twenty Fourteen: remove transient usage in Ephemera widget to fix caching issues. Props obenland, closes #26210 and #26335 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26577 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 18:46:02 +00:00
Lance Willett
49f8312ac2
Twenty Fourteen: proper i18n and translator context for date formatted strings in archive template. Props Frank Klein and mako09, fixes #26367 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26576 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 18:44:39 +00:00
Matt Thomas
0d918aaf14
Changes to the mobile adminbar:
...
- Unhide the Edit link
- Hide the W menu link
- Hide the Updates link
This ensures that Network (when available), Site, Edit, Comments, New, and Account are always visible. Fixes #26071 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26575 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 18:37:25 +00:00
Lance Willett
7392fd66af
Twenty Fourteen: reposition the window on jump-to-anchor to account for header height. Props obenland, fixes #26213 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26574 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 18:34:34 +00:00
Lance Willett
c89184bd6e
Twenty Fourteen: re-add the Header Text Customization Option. Props iamtakashi, fixes #26338 ; see #25540 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26573 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 18:26:26 +00:00
Lance Willett
5d48726d03
Twenty Fourteen: rename transient all_the_cool_cats
and make sure count is an integer before checking it. Props SergeyBiryukov for initial patch, fixes #26319 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26572 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 18:23:58 +00:00
Andrew Nacin
f38ae9cc6c
Use jQuery.prop('checked') instead of jQuery.attr.
...
props Frank Klein.
fixes #26378 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26571 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 18:20:19 +00:00
Andrew Nacin
2cb2a1b86e
Rename colors-fresh.css to colors.css. fixes #26137 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26570 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 18:15:52 +00:00
Lance Willett
7f86b09db2
Twenty Fourteen: add min-height
rule to the WP toolbar to ensure that no gap appears in pre-3.8 versions. Props celloexpressions, fixes #25906 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26569 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 18:10:43 +00:00
Lance Willett
ae5d5b8961
Twenty Fourteen: remove custom-colors
tag. See #26220 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26568 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 18:07:19 +00:00
Lance Willett
1f73150157
Twenty Fourteen: remove Accent Color feature. Props celloexpressions, fixes #26220 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26567 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 18:04:56 +00:00
Andrew Nacin
f627d23555
In dbDelta(), ensure we are not running CREATE TABLE queries for global tables we wish to not upgrade.
...
props fliespl.
fixes #22134 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26566 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 17:43:52 +00:00
Lance Willett
baed9f84fa
Twenty Fourteen: fix stylesheet loading, broken in r26560.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26565 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 17:40:39 +00:00
Helen Hou-Sandi
6c3f6cad42
Auto-resize the Quick Draft textarea. props lessbloat, markjaquith, helen. fixes #26053 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26564 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 17:34:46 +00:00
Helen Hou-Sandi
6e77a372e2
Better Dashboard treatment when in no-JS, especially Quick Draft. props georgestephanis, helen. fixes #26376 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26563 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 17:31:33 +00:00
Lance Willett
cd27779337
Twenty Fourteen: tweak the vertical space for list items in the primary and footer widgets. Props iamtakashi, see #25946 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26562 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 17:31:02 +00:00
Lance Willett
2d377cde67
Twenty Fourteen: update editor stylesheet to reflect recent changes made in the main stylesheet. Props iamtakashi, see #25946 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26561 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 17:29:13 +00:00
Lance Willett
76088dd24f
Twenty Fourteen: code cleanup, props kovshenin. See #25946 .
...
* Filtering `twentyfourteen_has_featured_posts()` false suggests the filter expects a boolean value, but we expect an array. Use an existing function instead.
* In both style.css and ie.css use Genericons, so let's not forget to declare the dependancy.
* Make sure Lato font is enqueued in `admin_print_scripts`.
git-svn-id: https://develop.svn.wordpress.org/trunk@26560 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 17:27:57 +00:00
Matt Thomas
cebeafc233
Give the adminbar Edit Post link an icon, and make it visible on small screen responsive states. See #26071 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26559 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 17:24:42 +00:00
Lance Willett
5223958ef9
Twenty Fourteen: make sure non-breaking title in .nav-links
doesn't overflow, and make sure the menu toggle text is hidden. Props iamtakashi, closes #26189 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26558 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 17:14:39 +00:00
Andrew Nacin
d146107960
Revert [26050], stop trying to balance open HTML tags across nextpage and more tags for now.
...
see #6297 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26557 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 17:07:31 +00:00
Lance Willett
0bfc7b4d91
Twenty Fourteen: update comment blocks to match inline docs standards. Props DrewAPicture, see #25837 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26556 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 17:05:53 +00:00
Lance Willett
e7522d6413
Twenty Fourteen: limit Help tab text to only "post" post type edit screen. Props obenland, see #25837 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26555 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 17:01:00 +00:00
Matt Thomas
8fea99016f
Remove unnecessary padding on welcome panel icons at responsive sizes. Fixes #26374 , props mattheu.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26554 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 16:21:23 +00:00
Andrew Ozz
81a7139415
Quicktags: fix int/string strict comparison, see #26046 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26553 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 04:20:08 +00:00
Andrew Nacin
4cc8c5b241
Restore @ticket reference. Reverts [26093], see #25913 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26552 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 03:57:24 +00:00
Dion Hulse
49c57fa9b9
Themes: Update the CSS definitions in the SCSS files to be as specific as the base CSS rules. See #25948 , #25966
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26551 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 02:10:29 +00:00
Andrew Ozz
ba4643f76e
Comments moderation screen:
...
- Don't resize the textarea when replying to long comments.
- Limit the resizing of the textarea when quick-editing long comments to 500px.
Props SergeyBiryukov, fixes #25746 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26550 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 00:54:42 +00:00
Andrew Ozz
75ac2cf131
Heartbeat:
...
- Bring back heartbeat.interval().
- Rename wp_disable_heartbeat_suspend() to wp_heartbeat_set_suspension().
- Rename the option for disabling suspension from options.suspend to options.suspension.
Fixes #25073 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26549 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 00:44:22 +00:00
Dominik Schilling (ocean90)
571d574b09
Customizer: Don't trigger a change event if two unchanged object values are equal.
...
In JavaScript: `{"title":"Foo"} !== {"title":"Foo"}`
Underscore.js provides an isEqual function to compare two values to see if they have the same contents, which can be use instead.
Because only one function of Underscore.js is needed we just add a copy of `_.isEqual` to customize-base.js.
props westonruter.
fixes #26061 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26548 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 00:07:49 +00:00
Andrew Nacin
34f1353fe7
Add dashicons CSS classes for easy access by plugins and themes.
...
props dd32.
fixes #26227 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26547 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 23:17:09 +00:00
Sergey Biryukov
447b809f44
Twenty Fourteen: use a more specific selector for tag links.
...
props iamtakashi.
fixes #26358 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26545 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 23:14:33 +00:00
Andrew Nacin
922125f1cc
Be specific in term_exists error messages in wp_insert_term() as to what already exists (name, or name and slug).
...
props ericmann, SergeyBiryukov.
fixes #15741 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26544 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 23:05:49 +00:00
Andrew Nacin
2ec996d812
Return false from wp_delete_post() and wp_delete_attachment() if the DELETE is unsuccessful.
...
This prevents attachments from being deleted off disk when a DB is locked and the delete is otherwise unsuccessful.
fixes #25107 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26543 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 22:58:40 +00:00
Andrew Nacin
f27ae94140
Customizer: Ensure we have a string that's JSON parseable.
...
props mattwiebe.
fixes #postmessage-check.diff.
git-svn-id: https://develop.svn.wordpress.org/trunk@26542 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 22:48:15 +00:00