Commit Graph

24542 Commits

Author SHA1 Message Date
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
Matt Thomas 948858e60a Better visual alignment on side-sortables tabs. Fixes #26323, props mattheu.
Built from https://develop.svn.wordpress.org/trunk@26539


git-svn-id: http://core.svn.wordpress.org/trunk@26431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 21:44:10 +00:00
Drew Jaynes e2a921a6ed Inline documentation for hooks in wp-includes/ms-functions.php.
Props ShinichiN, ericlewis, rzen.
Fixes #25598.

Built from https://develop.svn.wordpress.org/trunk@26538


git-svn-id: http://core.svn.wordpress.org/trunk@26430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 20:45:10 +00:00
Andrew Nacin 4728680f8f Only informally deprecate get_screen_icon() and screen_icon(). fixes #26119.
Built from https://develop.svn.wordpress.org/trunk@26537


git-svn-id: http://core.svn.wordpress.org/trunk@26429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 20:00:11 +00:00
Matt Thomas b4f2763f8d Restyle .sub text and .mu-storage header to match new admin design conventions. Fixes #26357.
Built from https://develop.svn.wordpress.org/trunk@26536


git-svn-id: http://core.svn.wordpress.org/trunk@26428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 19:46:10 +00:00
Andrew Nacin 710803793b Simplify the color scheme profile saving JS. see #25858.
Built from https://develop.svn.wordpress.org/trunk@26535


git-svn-id: http://core.svn.wordpress.org/trunk@26427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 19:45:10 +00:00
Matt Thomas 56a97bdc01 Add basic responsive styles for button-small and button-large, override responsive button-large styles when used in the .interim-login iframe. Fixes #26363.
Built from https://develop.svn.wordpress.org/trunk@26533


git-svn-id: http://core.svn.wordpress.org/trunk@26426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 19:26:09 +00:00
Dominik Schilling 35f42dd2bd Reset responsive styles for the checkbox in auth check window.
props iammattthomas.
fixes #26360.
Built from https://develop.svn.wordpress.org/trunk@26532


git-svn-id: http://core.svn.wordpress.org/trunk@26425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 19:01:10 +00:00
Andrew Nacin bb32d28c75 For the current theme, display all available actions, as dictated by the admin menu.
Restores 3.7 behavior. This could include things like Header and Background as well as theme options pages.

see #25948.

Built from https://develop.svn.wordpress.org/trunk@26531


git-svn-id: http://core.svn.wordpress.org/trunk@26424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 18:58:09 +00:00
Andrew Ozz e31c68f9d2 Heartbeat: update wp-auth-check to use the new "connectNow()" method after a successful login, see #25073.
Built from https://develop.svn.wordpress.org/trunk@26530


git-svn-id: http://core.svn.wordpress.org/trunk@26423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 18:47:09 +00:00
Andrew Nacin c6ddea79d1 Themes: Always include the current theme in the list, even if it is not allowed.
see #25948.

Built from https://develop.svn.wordpress.org/trunk@26529


git-svn-id: http://core.svn.wordpress.org/trunk@26422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 18:46:11 +00:00
Matt Thomas 8d6aa0ab25 Updating .wp-dialog styling to match the new admin design. Fixes #26328, props SergeyBiryukov, Ocean90.
Built from https://develop.svn.wordpress.org/trunk@26528


git-svn-id: http://core.svn.wordpress.org/trunk@26421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 17:59:10 +00:00
Matt Thomas 076a40e860 Adding a SVG > PNG fallback for IE8 support. See #26348.
Built from https://develop.svn.wordpress.org/trunk@26527


git-svn-id: http://core.svn.wordpress.org/trunk@26420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 17:30:10 +00:00