Commit Graph

23984 Commits

Author SHA1 Message Date
Andrew Nacin
01f59af277 Avoid jshint errors in edit-comment.js.
props adamsilverstein.
fixes #25979.


git-svn-id: https://develop.svn.wordpress.org/trunk@26156 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 05:09:46 +00:00
Dion Hulse
707082fd12 Background Updates: Add a 'automatic_updates_complete' hook that fires after any updates have run. Props pento. Fixes #25841
git-svn-id: https://develop.svn.wordpress.org/trunk@26155 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 05:07:19 +00:00
Lance Willett
eab85bc5d8 Twenty Fourteen: fix tabs to spaces in two files. See #25946.
git-svn-id: https://develop.svn.wordpress.org/trunk@26154 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 04:56:27 +00:00
Lance Willett
96569b0075 Twenty Fourteen: first pass at adding help text to to "Help" tab for edit.php and themes.php screens. Props obenland for starter patch, see #25837.
git-svn-id: https://develop.svn.wordpress.org/trunk@26153 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 04:52:06 +00:00
Lance Willett
3345e88fad Twenty Fourteen: simplify and prefix post thumbnail sizes, props obenland. See #25946.
git-svn-id: https://develop.svn.wordpress.org/trunk@26152 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 04:49:19 +00:00
Lance Willett
21ed02204d Twenty Fourteen: remove unused class name, props obenland. See #25946.
git-svn-id: https://develop.svn.wordpress.org/trunk@26151 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 04:45:45 +00:00
Lance Willett
ad44560149 Twenty Fourteen: make sure styles for featured content on a static page are limited to posts within the main content area. Props iamtakashi, fixes #25938.
git-svn-id: https://develop.svn.wordpress.org/trunk@26150 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 04:19:21 +00:00
Dion Hulse
6d70a797be Background Updates: Spread them over the hour. Props Pento. Fixes #25833 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@26149 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 04:03:27 +00:00
Dion Hulse
a23ead1467 Background Updates: Fix a PHP Fatal error which could be encountered on some systems when using FTP. Fixes #25817 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@26148 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 02:01:30 +00:00
Andrew Nacin
e7986b035c Remove SCRIPT_DEBUG reference from register_admin_color_schemes().
Instead, script-loader.php handles converting .min.css to .css when SCRIPT_DEBUG is on, and has since r21592. (This was done for compatibility with plugin color schemes that used .css and .dev.css.)

see #25858.


git-svn-id: https://develop.svn.wordpress.org/trunk@26147 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 00:02:36 +00:00
Helen Hou-Sandi
37b14a653a Avoid a notice when SCRIPT_DEBUG is not defined. props MikeHansenMe. see #25824, #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26146 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 23:58:32 +00:00
Andrew Nacin
b0bd982f4c Move to grunt-sass, which which has less bells and whistles than grunt-contrib-sass but also no Ruby dependency.
see #25858, #22862, [26143].


git-svn-id: https://develop.svn.wordpress.org/trunk@26145 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 23:37:30 +00:00
Andrew Nacin
3b82749eba Merge the new dashboard design into core.
Merges https://github.com/growthdesigner/wp-dash.

props lessbloat, joen, helen, dbernar1, kraftbj, ryelle, tillkruess, grapplerulrich, markjaquith.
see #25824.


git-svn-id: https://develop.svn.wordpress.org/trunk@26144 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 22:08:47 +00:00
Andrew Nacin
0b868783d0 Temporarily remove CSS preprocessing until we can get our Ruby dependency sorted out.
see #25858, #22862.


git-svn-id: https://develop.svn.wordpress.org/trunk@26143 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 21:44:04 +00:00
Andrew Nacin
fec84d9bd3 THX needs this file, for now. see #25948.
git-svn-id: https://develop.svn.wordpress.org/trunk@26142 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 21:03:21 +00:00
Andrew Nacin
12ccb6d136 Update the Themes screen, merging THX into core.
* Name: THX38
 * Description: Update the Themes screen with a new design and experience.
 * Tags: visually-focused, bigger-screenshots, fast, mobile-friendly, backbone-driven
 * Author: matveb, shaunandrews, melchoyce, designsimply, shelob9
 * URI: http://wordpress.org/plugins/thx38/

fixes #25948



git-svn-id: https://develop.svn.wordpress.org/trunk@26141 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 20:57:29 +00:00
Matt Thomas
e00060118b Bring in the widgets component of MP6. See #25858.
* A cleaner UI, with a simpler design for available and inactive widgets, and more emphasis on your sidebars.
* Available widgets and sidebars expand to two columns at larger screen sizes making it easier to manage sites with lots of sidebars.
* New dropzone indicator for empty sidebars.

Props shaunandrews, joen, iammattthomas.



git-svn-id: https://develop.svn.wordpress.org/trunk@26140 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 20:05:51 +00:00
Helen Hou-Sandi
2e54579af7 Turns out it helps if you add those pesky Sass files if you're going to use a preprocessor. see #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26139 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 19:53:01 +00:00
Sergey Biryukov
87b1101b49 Inline documentation for hooks in wp-admin/includes/class-wp-comments-list-table.php.
props siobhyb, kpdesign.
fixes #25662.

git-svn-id: https://develop.svn.wordpress.org/trunk@26138 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 19:46:20 +00:00
Helen Hou-Sandi
e84e1e8791 Merge the color schemes component from MP6. Introduces Light, Blue, and Midnight.
Color scheme selection on your own profile page gives you a preview and autosaves the selection.

Also introduces the usage of a preprocessor for core files, namely Sass. For 3.8, we will not expand its implementation past the color schemes. This does require Ruby as well as Sass 3.3.0+ due to the usage of the sourcemap option.

Note that only the default color scheme is available when running out of src. Use build to test the rest as well as the color picker.

props ryelle, melchoyce, tillkruess, drw158, littlethingsstudio, helen. see #25858, #22862.


git-svn-id: https://develop.svn.wordpress.org/trunk@26137 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 19:37:10 +00:00
Andrew Nacin
d4802f6c82 Remove smarttabs from .jshintrc per IRC discussion. see #25187.
git-svn-id: https://develop.svn.wordpress.org/trunk@26136 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 19:23:16 +00:00
Lance Willett
6c20964578 Twenty Fourteen: use numbered placeholders for Customizer help text in case they get swapped during translation, props obenland. See #25837.
git-svn-id: https://develop.svn.wordpress.org/trunk@26135 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 19:01:34 +00:00
Matt Thomas
58f312f95e Bring in the responsive component of MP6. See #25858.
* Makes the admin fully responsive down to 320px wide.
* Adds a touch-optimized main menu that can be opened and closed from the toolbar.
* Size and positioning adjustments to icons, buttons, and text elements for better touch usability.

A few changes since MP6:

* Removed jQuery mobile. This script was used to add swipe controls to open/close the sidebar menu. This feature was apparently buggy and due to the pending demise of jQuery mobile, it was removed.
* Removed use of Backbone.js. Adding Backbone.js to this script would add a dependency of Backbone.js for all of the admin. Additionally, it was used to add a menu item. Instead of doing that, it was added via the admin menu API. This also fixes a bad delay in the item showing in the menu.
* CSS layout is standardized. Comments have also been cleaned up.
* Jetpack and Akismet code is removed.
* RTL CSS is removed.
* JS passes hinting other than one small issue that will likely be removed when parts of the code are reviewed.

A number of areas for improvement remain; we're tracking these issues in the comments of #25858.

Props to tollmanz, tillkruess, helen, dd32, and apeatling.



git-svn-id: https://develop.svn.wordpress.org/trunk@26134 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 17:59:32 +00:00
Lance Willett
bedae470cd Twenty Fourteen: style multisite pages wp-activate.php and wp-signup.php, props obenland. Fixes #25479.
git-svn-id: https://develop.svn.wordpress.org/trunk@26133 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 16:23:30 +00:00
Matt Thomas
24b68b6152 Reinstating this fix for the issue described in #18868, wherein some versions of Chrome open the About/"W" dropdown menu inadvertantly, like when clicking a select element. Fix was removed in the initial MP6 commit r26072, this brings it back. See #25858; props azaozz.
git-svn-id: https://develop.svn.wordpress.org/trunk@26132 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 15:35:35 +00:00
Matt Thomas
1dee61d8b6 Clean up the new svg-painter.js so that it passes our jshint; see #25858. Props jorbin.
git-svn-id: https://develop.svn.wordpress.org/trunk@26131 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 15:25:20 +00:00
Sergey Biryukov
e196d64613 Better description for WP_Locale::_strings_for_pot(). props dimadin. fixes #25937.
git-svn-id: https://develop.svn.wordpress.org/trunk@26130 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 14:00:59 +00:00
Sergey Biryukov
4006e4a233 Inline documentation for hooks in wp-mail.php.
props kpdesign, radices.
fixes #25551.

git-svn-id: https://develop.svn.wordpress.org/trunk@26129 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 11:57:11 +00:00
Andrew Nacin
7d2ba3675e Fix new RTL file loading when style concatenation is enabled.
see #24977.


git-svn-id: https://develop.svn.wordpress.org/trunk@26128 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 05:09:40 +00:00
Andrew Nacin
d57f3a4442 3.8-alpha-26127 to bust all the caches.
git-svn-id: https://develop.svn.wordpress.org/trunk@26127 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 04:43:58 +00:00
Sergey Biryukov
323524abef Inline documentation for hooks in wp-includes/capabilities.php.
props ptahdunbar, kpdesign.
fixes #25531.

git-svn-id: https://develop.svn.wordpress.org/trunk@26126 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 04:38:13 +00:00
Helen Hou-Sandi
0074ad2d90 Merge the sticky menu component from MP6. The admin menu is now fixed if the viewport is large enough. props tollmanz, tillkruess, dd32. see #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26125 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 04:29:27 +00:00
Sergey Biryukov
d97f64f9f7 Restore the $current_site global in wp-admin/admin-header.php to avoid an undefined function error in single site.
see #25158.

git-svn-id: https://develop.svn.wordpress.org/trunk@26124 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 04:16:43 +00:00
Sergey Biryukov
d3cee0734e Change jQuery selector in Quick Edit to avoid losing data in IE8.
fixes #24923 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@26123 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 04:05:57 +00:00
Sergey Biryukov
4f0bb96602 Use a simple replacement for 'wp_title' filter in capital_P_dangit(), like we do for 'the_title'.
props nacin.
fixes #25796.

git-svn-id: https://develop.svn.wordpress.org/trunk@26122 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 03:55:33 +00:00
Sergey Biryukov
a6f9656497 Remove redundant cleanup of PHPMailer addresses in wp_mail().
props bananastalktome.
fixes #25789.

git-svn-id: https://develop.svn.wordpress.org/trunk@26121 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 03:44:16 +00:00
Sergey Biryukov
39d55fddb8 Use get_current_site() instead of the $current_site global when possible.
props jeremyfelt.
fixes #25158.

git-svn-id: https://develop.svn.wordpress.org/trunk@26120 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 03:22:48 +00:00
Lance Willett
f13e9a6796 Twenty Fourteen: remove unnecessary width rule that broke responsiveness. Props iamtakashi.
git-svn-id: https://develop.svn.wordpress.org/trunk@26119 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 03:20:44 +00:00
Lance Willett
76a9f245ae Twenty Fourteen: updated (and more PNG crushing) screenshot. Props iamtakashi.
git-svn-id: https://develop.svn.wordpress.org/trunk@26118 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 03:07:11 +00:00
Lance Willett
2c76ed028f Twenty Fourteen: enhanced styles for logged-out comment form "required" mark and comment moderation text. Props iamtakashi, fixes #25932.
git-svn-id: https://develop.svn.wordpress.org/trunk@26117 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 02:50:40 +00:00
Lance Willett
3f49cd224e Twenty Fourteen: fix low-contrast input elements in Firefox by explicitly setting opacity: 1 for the placeholder text. Also brighten the border styles a bit. Props iamtakashi, fixes #25930.
git-svn-id: https://develop.svn.wordpress.org/trunk@26116 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 02:45:15 +00:00
Sergey Biryukov
7cd8d225a3 Use case-insensitive comparison for email addresses. fixes #25779.
git-svn-id: https://develop.svn.wordpress.org/trunk@26115 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 02:40:28 +00:00
Sergey Biryukov
c7c382b077 Avoid PHP notices in wp_notify_postauthor() when using a custom comment type.
Use a switch statement for consistency with wp_notify_moderator().

fixes #25880.

git-svn-id: https://develop.svn.wordpress.org/trunk@26114 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 02:31:15 +00:00
Sergey Biryukov
9149d49677 Remove no_update_actions(), unused since [12157]. props jdgrimes. fixes #25923.
git-svn-id: https://develop.svn.wordpress.org/trunk@26113 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 02:17:52 +00:00
Andrew Nacin
40f762f894 Free common.js of JSHint errors.
props jorbin.
fixes #25912.


git-svn-id: https://develop.svn.wordpress.org/trunk@26112 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 23:55:23 +00:00
Andrew Nacin
b1dfc8ef61 Mark zxcvbn global to avoid JSHint errors.
props jorbin.
fixes #25911.


git-svn-id: https://develop.svn.wordpress.org/trunk@26111 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 23:42:17 +00:00
Andrew Nacin
66634a9075 Add grunt jshint:themes for linting Twenty Fourteen and future bundled themes.
props jorbin.
fixes #25907.


git-svn-id: https://develop.svn.wordpress.org/trunk@26110 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 23:41:17 +00:00
Andrew Nacin
9d81ee781e Ignore our TinyMCE schema fork for JSHint purposes. fixes #25903.
git-svn-id: https://develop.svn.wordpress.org/trunk@26109 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 23:27:52 +00:00
Andrew Nacin
e5dddf77e8 Don't remove the compiled.html QUnit file. Ignore it instead.
props jorbin.
fixes #25781.


git-svn-id: https://develop.svn.wordpress.org/trunk@26108 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 23:20:28 +00:00
Andrew Nacin
d416108af5 Use CSSJanus via a Grunt task to generate right-to-left CSS.
RTL files are now created on build for core CSS files. These files replace the LTR file completely, rather than being in addition to the existing LTR file.

Benefits:
 * For the user: less CSS is served in RTL, less HTTP requests on the frontend, and less work for the browser.
 * For the core developer: Let the tools do the work.

Notes for core development:
 * The file generation task is `grunt rtl`.
 * `grunt watch` now handles generating RTL files in /build when a CSS file in /src is saved.
 * /src is now locked to LTR. RTL testing must occur via /build. When attempting to run an RTL text direction with /src, an admin notice will display.

Expect RTL bugs. Please report them.

props yoavf.
see #24977.


git-svn-id: https://develop.svn.wordpress.org/trunk@26107 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 21:18:45 +00:00