Andrew Ozz
93a5bff7a7
Svg-painter:
...
- Clean up the JS, better names, etc.
- Convert the base64 encode/decode code from jQuery plugin to local use.
- Add missing icon colors for the default theme.
- Make it more error-proof.
Fixes #26333 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26601 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 04:12:41 +00:00
Lance Willett
eb41771db6
Twenty Fourteen: avoid a potential gap in menu-toggle
content. Props kwight, fixes #26383 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26600 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 03:31:20 +00:00
Lance Willett
9edcb0e862
Twenty Fourteen: remove wp_is_mobile()
call from post thumbnail size logic as it's not intended for front-end use. Props kwight, fixes #26221 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26599 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 03:28:31 +00:00
Lance Willett
7cf4102f39
Twenty Fourteen: ensure attachment image size is correct at 810 pixels. Props iamtakashi, fixes #26384 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26598 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 03:23:41 +00:00
Lance Willett
37a37b5fc5
Twenty Fourteen: pinking shears.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26597 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 03:23:11 +00:00
Andrew Nacin
6da6e5daad
Declare dashicons dependency for wp-pointer.css and media-views.css.
...
props dd32.
see #26255 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26596 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 00:34:00 +00:00
Matt Thomas
408041ca39
Add .ab-empty-item to the responsive adminbar sizing adjustments. Ensure that hidden text in responsive adminbar stays properly hidden in Firefox. See #26299 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26595 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 21:52:34 +00:00
Andrew Nacin
fdc32636fa
Rename the new custom-background arguments passed to add_theme_support().
...
* background-position becomes default-position-x
* background-attachment becomes default-attachment
* background-repeat becomes default-repeat
These are in line with existing default-image and default-color arguments, and also makes the position argument unambiguous and forwards compatible.
fixes #20816 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26594 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 21:35:26 +00:00
Matt Thomas
933a5f252f
Set Available and Inactive Widget areas to not collapse, since they don't look like collapsing elements. Fixes #26327 , props MikeHansenMe.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26593 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 21:31:37 +00:00
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