Matt Thomas
d050370578
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.
...
Built from https://develop.svn.wordpress.org/trunk@26592
git-svn-id: http://core.svn.wordpress.org/trunk@26482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 21:14:10 +00:00
Lance Willett
8ca1f4ff01
Twenty Fourteen: fix JS lint errors in customizer.js file, see r26573.
...
Built from https://develop.svn.wordpress.org/trunk@26591
git-svn-id: http://core.svn.wordpress.org/trunk@26481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 21:13:10 +00:00
Andrew Nacin
c4f7821a16
Use current_user_can('manage_network_plugins') in validate_active_plugins() instead of is_super_admin().
...
props jdgrimes.
fixes #26068 .
Built from https://develop.svn.wordpress.org/trunk@26590
git-svn-id: http://core.svn.wordpress.org/trunk@26480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 21:12:10 +00:00
Andrew Nacin
b04d321fb9
Allow wp_enqueue_media() to "just work" in a customizer control.
...
props westonruter.
fixes #25618 .
Built from https://develop.svn.wordpress.org/trunk@26589
git-svn-id: http://core.svn.wordpress.org/trunk@26479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 20:54:11 +00:00
Andrew Nacin
974625d962
wp_list_categories(): Add cat-item-none and cat-item-all classes to the none/all options.
...
props SergeyBiryukov.
fixes #24428 .
Built from https://develop.svn.wordpress.org/trunk@26588
git-svn-id: http://core.svn.wordpress.org/trunk@26478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 20:51:19 +00:00
Lance Willett
3d89dbb71f
Twenty Fourteen: enhance main navigation usability by adding in visual indicators for existence of submenu items. Props binarymoon, iamtakashi. Fixes #26200 .
...
Built from https://develop.svn.wordpress.org/trunk@26587
git-svn-id: http://core.svn.wordpress.org/trunk@26477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 20:51:10 +00:00
Lance Willett
c72bcbe38e
Twenty Fourteen: avoid empty markup when no next or previous image in image template. Props MikeHansenMe and jartes, fixes #26208 .
...
Built from https://develop.svn.wordpress.org/trunk@26586
git-svn-id: http://core.svn.wordpress.org/trunk@26476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 20:43:10 +00:00
Andrew Nacin
64ff23f8f8
Remove certain accents in the Danish language.
...
props tlamedia.
fixes #23907 .
Built from https://develop.svn.wordpress.org/trunk@26585
git-svn-id: http://core.svn.wordpress.org/trunk@26475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 20:39:09 +00:00
Matt Thomas
a593e88fa5
Ensure that 'Add New Theme' text doesn't overlap the + icon even at Firefox's ridiculously small 230px wide browser. Fixes #26226 .
...
Built from https://develop.svn.wordpress.org/trunk@26584
git-svn-id: http://core.svn.wordpress.org/trunk@26474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 20:29:09 +00:00
Matt Thomas
4df7acf1d9
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.
...
Built from https://develop.svn.wordpress.org/trunk@26583
git-svn-id: http://core.svn.wordpress.org/trunk@26473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 20:12:11 +00:00
Matt Thomas
3951d34906
Correct the alignment of Activate and Live Preview buttons in responsive Themes page. Fixes #26373 , props mattheu.
...
Built from https://develop.svn.wordpress.org/trunk@26582
git-svn-id: http://core.svn.wordpress.org/trunk@26472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 20:04:09 +00:00
Sergey Biryukov
54cc0d8b9e
Twenty Fourteen: Remove obsolete comment. props DrewAPicture. fixes #26380 .
...
Built from https://develop.svn.wordpress.org/trunk@26581
git-svn-id: http://core.svn.wordpress.org/trunk@26471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 19:20:09 +00:00
Lance Willett
8858b43027
Twenty Fourteen: remove more widget cache code, props obenland. See #26210 .
...
Built from https://develop.svn.wordpress.org/trunk@26580
git-svn-id: http://core.svn.wordpress.org/trunk@26470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 18:54:09 +00:00
Lance Willett
d8f11f3465
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.
Built from https://develop.svn.wordpress.org/trunk@26579
git-svn-id: http://core.svn.wordpress.org/trunk@26469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 18:51:09 +00:00
Lance Willett
c2bf2c73c6
Twenty Fourteen: remove transient usage in Ephemera widget to fix caching issues. Props obenland, closes #26210 and #26335 .
...
Built from https://develop.svn.wordpress.org/trunk@26577
git-svn-id: http://core.svn.wordpress.org/trunk@26468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 18:47:09 +00:00
Lance Willett
446d929e80
Twenty Fourteen: proper i18n and translator context for date formatted strings in archive template. Props Frank Klein and mako09, fixes #26367 .
...
Built from https://develop.svn.wordpress.org/trunk@26576
git-svn-id: http://core.svn.wordpress.org/trunk@26467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 18:45:10 +00:00
Matt Thomas
d64d9058c1
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 .
Built from https://develop.svn.wordpress.org/trunk@26575
git-svn-id: http://core.svn.wordpress.org/trunk@26466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 18:38:10 +00:00
Lance Willett
5b54845df7
Twenty Fourteen: reposition the window on jump-to-anchor to account for header height. Props obenland, fixes #26213 .
...
Built from https://develop.svn.wordpress.org/trunk@26574
git-svn-id: http://core.svn.wordpress.org/trunk@26465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 18:35:10 +00:00
Lance Willett
4d6ec7fa96
Twenty Fourteen: re-add the Header Text Customization Option. Props iamtakashi, fixes #26338 ; see #25540 .
...
Built from https://develop.svn.wordpress.org/trunk@26573
git-svn-id: http://core.svn.wordpress.org/trunk@26464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 18:27:10 +00:00
Lance Willett
abfec528c3
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 .
...
Built from https://develop.svn.wordpress.org/trunk@26572
git-svn-id: http://core.svn.wordpress.org/trunk@26463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 18:24:10 +00:00
Andrew Nacin
66425e1489
Use jQuery.prop('checked') instead of jQuery.attr.
...
props Frank Klein.
fixes #26378 .
Built from https://develop.svn.wordpress.org/trunk@26571
git-svn-id: http://core.svn.wordpress.org/trunk@26462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 18:21:11 +00:00
Andrew Nacin
dd465838e6
Rename colors-fresh.css to colors.css. fixes #26137 .
...
Built from https://develop.svn.wordpress.org/trunk@26570
git-svn-id: http://core.svn.wordpress.org/trunk@26461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 18:16:11 +00:00
Lance Willett
837ca1aa31
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 .
...
Built from https://develop.svn.wordpress.org/trunk@26569
git-svn-id: http://core.svn.wordpress.org/trunk@26460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 18:11:10 +00:00
Lance Willett
5b7846fd53
Twenty Fourteen: remove `custom-colors` tag. See #26220 .
...
Built from https://develop.svn.wordpress.org/trunk@26568
git-svn-id: http://core.svn.wordpress.org/trunk@26459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 18:08:10 +00:00
Lance Willett
16544ed331
Twenty Fourteen: remove Accent Color feature. Props celloexpressions, fixes #26220 .
...
Built from https://develop.svn.wordpress.org/trunk@26567
git-svn-id: http://core.svn.wordpress.org/trunk@26458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 18:05:10 +00:00
Andrew Nacin
a3fba0096d
In dbDelta(), ensure we are not running CREATE TABLE queries for global tables we wish to not upgrade.
...
props fliespl.
fixes #22134 .
Built from https://develop.svn.wordpress.org/trunk@26566
git-svn-id: http://core.svn.wordpress.org/trunk@26457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:44:10 +00:00
Lance Willett
addc2a8f38
Twenty Fourteen: fix stylesheet loading, broken in r26560.
...
Built from https://develop.svn.wordpress.org/trunk@26565
git-svn-id: http://core.svn.wordpress.org/trunk@26456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:41:09 +00:00
Helen Hou-Sandí
1a3a45dcef
Auto-resize the Quick Draft textarea. props lessbloat, markjaquith, helen. fixes #26053 .
...
Built from https://develop.svn.wordpress.org/trunk@26564
git-svn-id: http://core.svn.wordpress.org/trunk@26455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:35:09 +00:00
Helen Hou-Sandí
725eb939d7
Better Dashboard treatment when in no-JS, especially Quick Draft. props georgestephanis, helen. fixes #26376 .
...
Built from https://develop.svn.wordpress.org/trunk@26563
git-svn-id: http://core.svn.wordpress.org/trunk@26454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:32:19 +00:00
Lance Willett
48e16aeeab
Twenty Fourteen: tweak the vertical space for list items in the primary and footer widgets. Props iamtakashi, see #25946 .
...
Built from https://develop.svn.wordpress.org/trunk@26562
git-svn-id: http://core.svn.wordpress.org/trunk@26453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:32:11 +00:00
Lance Willett
1e703f63a9
Twenty Fourteen: update editor stylesheet to reflect recent changes made in the main stylesheet. Props iamtakashi, see #25946 .
...
Built from https://develop.svn.wordpress.org/trunk@26561
git-svn-id: http://core.svn.wordpress.org/trunk@26452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:30:11 +00:00
Lance Willett
ee67057ade
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`.
Built from https://develop.svn.wordpress.org/trunk@26560
git-svn-id: http://core.svn.wordpress.org/trunk@26451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:28:10 +00:00
Matt Thomas
32f55716df
Give the adminbar Edit Post link an icon, and make it visible on small screen responsive states. See #26071 .
...
Built from https://develop.svn.wordpress.org/trunk@26559
git-svn-id: http://core.svn.wordpress.org/trunk@26450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:25:10 +00:00
Lance Willett
187d2fa1ff
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 .
...
Built from https://develop.svn.wordpress.org/trunk@26558
git-svn-id: http://core.svn.wordpress.org/trunk@26449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:15:10 +00:00
Andrew Nacin
98215089b9
Revert [26050], stop trying to balance open HTML tags across nextpage and more tags for now.
...
see #6297 .
Built from https://develop.svn.wordpress.org/trunk@26557
git-svn-id: http://core.svn.wordpress.org/trunk@26448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:08:10 +00:00
Lance Willett
e46662b6ae
Twenty Fourteen: update comment blocks to match inline docs standards. Props DrewAPicture, see #25837 .
...
Built from https://develop.svn.wordpress.org/trunk@26556
git-svn-id: http://core.svn.wordpress.org/trunk@26447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:06:11 +00:00
Lance Willett
b5dbd754d8
Twenty Fourteen: limit Help tab text to only "post" post type edit screen. Props obenland, see #25837 .
...
Built from https://develop.svn.wordpress.org/trunk@26555
git-svn-id: http://core.svn.wordpress.org/trunk@26446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:01:10 +00:00
Matt Thomas
3a68881300
Remove unnecessary padding on welcome panel icons at responsive sizes. Fixes #26374 , props mattheu.
...
Built from https://develop.svn.wordpress.org/trunk@26554
git-svn-id: http://core.svn.wordpress.org/trunk@26445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 16:22:11 +00:00
Andrew Ozz
b88583c567
Quicktags: fix int/string strict comparison, see #26046 .
...
Built from https://develop.svn.wordpress.org/trunk@26553
git-svn-id: http://core.svn.wordpress.org/trunk@26444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 04:21:09 +00:00
Dion Hulse
3b706af9c3
Themes: Update the CSS definitions in the SCSS files to be as specific as the base CSS rules. See #25948 , #25966
...
Built from https://develop.svn.wordpress.org/trunk@26551
git-svn-id: http://core.svn.wordpress.org/trunk@26443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 02:11:10 +00:00
Andrew Ozz
fda55bd33b
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 .
Built from https://develop.svn.wordpress.org/trunk@26550
git-svn-id: http://core.svn.wordpress.org/trunk@26442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 00:55:10 +00:00
Andrew Ozz
0f20e57329
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 .
Built from https://develop.svn.wordpress.org/trunk@26549
git-svn-id: http://core.svn.wordpress.org/trunk@26441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 00:45:10 +00:00
Dominik Schilling
a6cabe9f6d
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 .
Built from https://develop.svn.wordpress.org/trunk@26548
git-svn-id: http://core.svn.wordpress.org/trunk@26440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 00:08:09 +00:00
Andrew Nacin
492dfca8ab
Add dashicons CSS classes for easy access by plugins and themes.
...
props dd32.
fixes #26227 .
Built from https://develop.svn.wordpress.org/trunk@26547
git-svn-id: http://core.svn.wordpress.org/trunk@26439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 23:18:10 +00:00
Sergey Biryukov
b5ce3e6c96
Twenty Fourteen: use a more specific selector for tag links.
...
props iamtakashi.
fixes #26358 .
Built from https://develop.svn.wordpress.org/trunk@26545
git-svn-id: http://core.svn.wordpress.org/trunk@26437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 23:15:10 +00:00
Andrew Nacin
804be8b332
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 .
Built from https://develop.svn.wordpress.org/trunk@26544
git-svn-id: http://core.svn.wordpress.org/trunk@26436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 23:06:11 +00:00
Andrew Nacin
6fa4ce2284
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 .
Built from https://develop.svn.wordpress.org/trunk@26543
git-svn-id: http://core.svn.wordpress.org/trunk@26435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 22:59:10 +00:00
Andrew Nacin
67c504cf23
Customizer: Ensure we have a string that's JSON parseable.
...
props mattwiebe.
fixes #postmessage-check.diff.
Built from https://develop.svn.wordpress.org/trunk@26542
git-svn-id: http://core.svn.wordpress.org/trunk@26434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 22:49:09 +00:00
Andrew Nacin
3fe7726bd4
Remove @uses from get_screen_icon() / screen_icon(). see #26119 .
...
Built from https://develop.svn.wordpress.org/trunk@26541
git-svn-id: http://core.svn.wordpress.org/trunk@26433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 21:59:10 +00:00
Drew Jaynes
201306f5da
Inline documentation for hooks in wp-admin/includes/update.php.
...
Props stevenkword for the initial patches.
Fixes #26252 .
Built from https://develop.svn.wordpress.org/trunk@26540
git-svn-id: http://core.svn.wordpress.org/trunk@26432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 21:55:10 +00:00