Commit Graph

24595 Commits

Author SHA1 Message Date
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
Andrew Nacin
ea5963f944 Remove @uses from get_screen_icon() / screen_icon(). see #26119.
git-svn-id: https://develop.svn.wordpress.org/trunk@26541 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 21:58:57 +00:00
Drew Jaynes
4f78450a25 Inline documentation for hooks in wp-admin/includes/update.php.
Props stevenkword for the initial patches.
Fixes #26252.


git-svn-id: https://develop.svn.wordpress.org/trunk@26540 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 21:54:24 +00:00
Matt Thomas
44457b54ec Better visual alignment on side-sortables tabs. Fixes #26323, props mattheu.
git-svn-id: https://develop.svn.wordpress.org/trunk@26539 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 21:43:44 +00:00
Drew Jaynes
074ba595dd Inline documentation for hooks in wp-includes/ms-functions.php.
Props ShinichiN, ericlewis, rzen.
Fixes #25598.


git-svn-id: https://develop.svn.wordpress.org/trunk@26538 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 20:44:28 +00:00
Andrew Nacin
85be737cae Only informally deprecate get_screen_icon() and screen_icon(). fixes #26119.
git-svn-id: https://develop.svn.wordpress.org/trunk@26537 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 19:59:40 +00:00
Matt Thomas
2598e7bd10 Restyle .sub text and .mu-storage header to match new admin design conventions. Fixes #26357.
git-svn-id: https://develop.svn.wordpress.org/trunk@26536 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 19:45:22 +00:00
Andrew Nacin
16b6b6b8e4 Simplify the color scheme profile saving JS. see #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26535 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 19:44:50 +00:00
Andrew Nacin
5e14491a2e Add a Travis CI configuration file.
props bpetty.
fixes #26364.


git-svn-id: https://develop.svn.wordpress.org/trunk@26534 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 19:41:26 +00:00
Matt Thomas
d51190952a Add basic responsive styles for button-small and button-large, override responsive button-large styles when used in the .interim-login iframe. Fixes #26363.
git-svn-id: https://develop.svn.wordpress.org/trunk@26533 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 19:25:42 +00:00
Dominik Schilling (ocean90)
f2ca7ece13 Reset responsive styles for the checkbox in auth check window.
props iammattthomas.
fixes #26360.

git-svn-id: https://develop.svn.wordpress.org/trunk@26532 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 19:00:21 +00:00
Andrew Nacin
0c0a90bfc1 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@26531 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 18:57:32 +00:00
Andrew Ozz
26788bd3ec Heartbeat: update wp-auth-check to use the new "connectNow()" method after a successful login, see #25073.
git-svn-id: https://develop.svn.wordpress.org/trunk@26530 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 18:46:28 +00:00
Andrew Nacin
616eb91d95 Themes: Always include the current theme in the list, even if it is not allowed.
see #25948.


git-svn-id: https://develop.svn.wordpress.org/trunk@26529 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 18:45:28 +00:00
Matt Thomas
568ba838b7 Updating .wp-dialog styling to match the new admin design. Fixes #26328, props SergeyBiryukov, Ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@26528 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 17:58:45 +00:00
Matt Thomas
9fbdcfefbb Adding a SVG > PNG fallback for IE8 support. See #26348.
git-svn-id: https://develop.svn.wordpress.org/trunk@26527 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 17:29:48 +00:00
Scott Taylor
356bf5d9c2 Add a wp-video class to the div that wraps video shortcode output. It was previously hard to target.
Props nofearinc.
Fixes #25896.



git-svn-id: https://develop.svn.wordpress.org/trunk@26526 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 16:31:57 +00:00
Andrew Nacin
fdcf1f4c12 Revert [26012] for now, which had fixed using paged with offset in WP_Query but introduced side effects for those working around it.
see #18897.


git-svn-id: https://develop.svn.wordpress.org/trunk@26525 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 16:25:54 +00:00
Dion Hulse
dd5f228729 Themes: Update notifiations shouldn't be a <a> if they're not links, data.update already contains <p> tags. See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26524 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 08:37:58 +00:00
Dion Hulse
4a62bbe5d8 Themes: Standardise on dot notation for object access in the Templates. See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26523 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 07:33:57 +00:00
Dion Hulse
ca6e76914f Themes: Remove some HTML from a new string and put it in the replacement value instead. See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26522 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 07:19:40 +00:00
Dion Hulse
63a4a1b10c Themes: Bail if the search term matches the currently rendered themes, Fixes the events being clobbered. Props jblz. Fixes #26347
git-svn-id: https://develop.svn.wordpress.org/trunk@26521 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 07:15:14 +00:00
Dion Hulse
91b903fb6d Themes: Indent the HTML for proper indentation after r26519 added an extra div. See #25961, #26192
git-svn-id: https://develop.svn.wordpress.org/trunk@26520 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 07:13:11 +00:00
Dion Hulse
919b03d9ce Themes: Make the Theme Detail view div use more of the available viewport, Fix the Header and Footer in the viewport and only scroll the theme details, Prefix some more theme CSS classes. Props shaunandrews for the initial viewport patch. Fixes #25961, #26192
git-svn-id: https://develop.svn.wordpress.org/trunk@26519 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 07:11:43 +00:00