Commit Graph

23926 Commits

Author SHA1 Message Date
Andrew Nacin dce9327f2a 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


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


git-svn-id: http://core.svn.wordpress.org/trunk@26052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 20:58:05 +00:00
Matt Thomas 87ce6cc5c3 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.


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


git-svn-id: http://core.svn.wordpress.org/trunk@26051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 20:06:06 +00:00
Helen Hou-Sandí 437caa9972 Turns out it helps if you add those pesky Sass files if you're going to use a preprocessor. see #25858.
Built from https://develop.svn.wordpress.org/trunk@26139


git-svn-id: http://core.svn.wordpress.org/trunk@26050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 19:54:14 +00:00
Sergey Biryukov 9119d189dd Inline documentation for hooks in wp-admin/includes/class-wp-comments-list-table.php.
props siobhyb, kpdesign.
fixes #25662.
Built from https://develop.svn.wordpress.org/trunk@26138


git-svn-id: http://core.svn.wordpress.org/trunk@26049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 19:47:10 +00:00
Helen Hou-Sandí 603c1aff6d 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.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 19:38:38 +00:00
Lance Willett 5d32b45b79 Twenty Fourteen: use numbered placeholders for Customizer help text in case they get swapped during translation, props obenland. See #25837.
Built from https://develop.svn.wordpress.org/trunk@26135


git-svn-id: http://core.svn.wordpress.org/trunk@26047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 19:02:09 +00:00
Matt Thomas 2adf09fea9 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.


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


git-svn-id: http://core.svn.wordpress.org/trunk@26046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 18:00:10 +00:00
Lance Willett a5433f58a1 Twenty Fourteen: style multisite pages `wp-activate.php` and `wp-signup.php`, props obenland. Fixes #25479.
Built from https://develop.svn.wordpress.org/trunk@26133


git-svn-id: http://core.svn.wordpress.org/trunk@26045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 16:24:09 +00:00
Matt Thomas 1d5910aec1 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.
Built from https://develop.svn.wordpress.org/trunk@26132


git-svn-id: http://core.svn.wordpress.org/trunk@26044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 15:36:09 +00:00
Matt Thomas 54c6e4c1e0 Clean up the new svg-painter.js so that it passes our jshint; see #25858. Props jorbin.
Built from https://develop.svn.wordpress.org/trunk@26131


git-svn-id: http://core.svn.wordpress.org/trunk@26043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 15:26:10 +00:00
Sergey Biryukov 821c6de4b6 Better description for WP_Locale::_strings_for_pot(). props dimadin. fixes #25937.
Built from https://develop.svn.wordpress.org/trunk@26130


git-svn-id: http://core.svn.wordpress.org/trunk@26042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 14:01:09 +00:00
Sergey Biryukov 256e24c0ed Inline documentation for hooks in wp-mail.php.
props kpdesign, radices.
fixes #25551.
Built from https://develop.svn.wordpress.org/trunk@26129


git-svn-id: http://core.svn.wordpress.org/trunk@26041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 11:58:12 +00:00
Andrew Nacin 1b3e9d33ce Fix new RTL file loading when style concatenation is enabled.
see #24977.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 05:10:10 +00:00
Andrew Nacin 5b8bd6e5ae 3.8-alpha-26127 to bust all the caches.
Built from https://develop.svn.wordpress.org/trunk@26127


git-svn-id: http://core.svn.wordpress.org/trunk@26039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 04:44:09 +00:00
Sergey Biryukov 1c8b834b0c Inline documentation for hooks in wp-includes/capabilities.php.
props ptahdunbar, kpdesign.
fixes #25531.
Built from https://develop.svn.wordpress.org/trunk@26126


git-svn-id: http://core.svn.wordpress.org/trunk@26038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 04:39:08 +00:00
Helen Hou-Sandí dcb1701e51 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.
Built from https://develop.svn.wordpress.org/trunk@26125


git-svn-id: http://core.svn.wordpress.org/trunk@26037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 04:30:10 +00:00
Sergey Biryukov 07544aec69 Restore the $current_site global in wp-admin/admin-header.php to avoid an undefined function error in single site.
see #25158.
Built from https://develop.svn.wordpress.org/trunk@26124


git-svn-id: http://core.svn.wordpress.org/trunk@26036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 04:17:10 +00:00
Sergey Biryukov e64191e739 Change jQuery selector in Quick Edit to avoid losing data in IE8.
fixes #24923 for trunk.
Built from https://develop.svn.wordpress.org/trunk@26123


git-svn-id: http://core.svn.wordpress.org/trunk@26035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 04:06:09 +00:00
Sergey Biryukov 3ce6b77afd Use a simple replacement for 'wp_title' filter in capital_P_dangit(), like we do for 'the_title'.
props nacin.
fixes #25796.
Built from https://develop.svn.wordpress.org/trunk@26122


git-svn-id: http://core.svn.wordpress.org/trunk@26034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 03:56:09 +00:00
Sergey Biryukov 12d10da7e6 Remove redundant cleanup of PHPMailer addresses in wp_mail().
props bananastalktome.
fixes #25789.
Built from https://develop.svn.wordpress.org/trunk@26121


git-svn-id: http://core.svn.wordpress.org/trunk@26033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 03:45:11 +00:00
Sergey Biryukov 74f77b85a6 Use get_current_site() instead of the $current_site global when possible.
props jeremyfelt.
fixes #25158.
Built from https://develop.svn.wordpress.org/trunk@26120


git-svn-id: http://core.svn.wordpress.org/trunk@26032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 03:23:10 +00:00
Lance Willett fdc8f7dcff Twenty Fourteen: remove unnecessary `width` rule that broke responsiveness. Props iamtakashi.
Built from https://develop.svn.wordpress.org/trunk@26119


git-svn-id: http://core.svn.wordpress.org/trunk@26031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 03:21:10 +00:00
Lance Willett 7464f20e18 Twenty Fourteen: updated (and more PNG crushing) screenshot. Props iamtakashi.
Built from https://develop.svn.wordpress.org/trunk@26118


git-svn-id: http://core.svn.wordpress.org/trunk@26030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 03:08:09 +00:00
Lance Willett 7a70414640 Twenty Fourteen: enhanced styles for logged-out comment form "required" mark and comment moderation text. Props iamtakashi, fixes #25932.
Built from https://develop.svn.wordpress.org/trunk@26117


git-svn-id: http://core.svn.wordpress.org/trunk@26029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 02:51:09 +00:00
Lance Willett bcafda4eaa 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.
Built from https://develop.svn.wordpress.org/trunk@26116


git-svn-id: http://core.svn.wordpress.org/trunk@26028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 02:46:09 +00:00
Sergey Biryukov eae4e5936f Use case-insensitive comparison for email addresses. fixes #25779.
Built from https://develop.svn.wordpress.org/trunk@26115


git-svn-id: http://core.svn.wordpress.org/trunk@26027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 02:41:09 +00:00
Sergey Biryukov 9c3b98e6d3 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.
Built from https://develop.svn.wordpress.org/trunk@26114


git-svn-id: http://core.svn.wordpress.org/trunk@26026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 02:32:10 +00:00
Sergey Biryukov 04128120f3 Remove no_update_actions(), unused since [12157]. props jdgrimes. fixes #25923.
Built from https://develop.svn.wordpress.org/trunk@26113


git-svn-id: http://core.svn.wordpress.org/trunk@26025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 02:18:10 +00:00
Andrew Nacin 72efe7c1ec Free common.js of JSHint errors.
props jorbin.
fixes #25912.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-12 23:56:09 +00:00
Andrew Nacin 1a82a3c926 Mark zxcvbn global to avoid JSHint errors.
props jorbin.
fixes #25911.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-12 23:43:09 +00:00
Andrew Nacin 1e30be32c4 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.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-12 21:19:15 +00:00
Lance Willett 522f3168d2 Twenty Fourteen: remove extra newline from `footer.php` file.
Built from https://develop.svn.wordpress.org/trunk@26106


git-svn-id: http://core.svn.wordpress.org/trunk@26021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-12 20:15:10 +00:00
Lance Willett a68971ba3e Twenty Fourteen: move page templates into their own directory. See #25929.
Built from https://develop.svn.wordpress.org/trunk@26105


git-svn-id: http://core.svn.wordpress.org/trunk@26020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-12 19:03:09 +00:00
Lance Willett 369044f9a5 Twenty Fourteen: move CSS files except for rtl.css and style.css into new `css` directory. See #25929.
Built from https://develop.svn.wordpress.org/trunk@26104


git-svn-id: http://core.svn.wordpress.org/trunk@26019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-12 18:57:09 +00:00
Lance Willett d6fdcfc432 Twenty Fourteen: rename `fonts` to `genericons`. See #25929.
Built from https://develop.svn.wordpress.org/trunk@26103


git-svn-id: http://core.svn.wordpress.org/trunk@26018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-12 18:38:10 +00:00
Lance Willett c428c41cd3 Twenty Fourteen: update two over-qualified selectors in main stylesheet.
Built from https://develop.svn.wordpress.org/trunk@26102


git-svn-id: http://core.svn.wordpress.org/trunk@26017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-12 18:19:11 +00:00
Lance Willett cdc03fe491 Twenty Fourteen: add in more contextual help for setting up Featured Content, links to "featured" tag posts and "sticky" posts from inside the Customizer. See #25837.
Built from https://develop.svn.wordpress.org/trunk@26101


git-svn-id: http://core.svn.wordpress.org/trunk@26016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-12 17:13:09 +00:00
Lance Willett 0f8f8def47 Twenty Fourteen: adjust fixed header top margin now that MP6 is merged. See #25906 props celloexpressions.
Built from https://develop.svn.wordpress.org/trunk@26100


git-svn-id: http://core.svn.wordpress.org/trunk@26015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-12 17:11:09 +00:00
Lance Willett 9a5e81ec88 Twenty Fourteen: don't load unused font weights. Props iamtakashi, fixes #25922.
Built from https://develop.svn.wordpress.org/trunk@26099


git-svn-id: http://core.svn.wordpress.org/trunk@26014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-12 16:48:09 +00:00
Lance Willett 68491fafb3 Twenty Fourteen: full-width page template should display a full-width featured image, except for mobile. Fixes #25925, props iamtakashi.
Built from https://develop.svn.wordpress.org/trunk@26098


git-svn-id: http://core.svn.wordpress.org/trunk@26013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-12 16:47:10 +00:00
Lance Willett 323b7c4627 Twenty Fourteen: first pass at older Internet Explorer browser support. Props iamtakashi, see #25036.
Built from https://develop.svn.wordpress.org/trunk@26097


git-svn-id: http://core.svn.wordpress.org/trunk@26012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-12 04:18:11 +00:00
Scott Taylor d7efe7a3b0 Change `nofollow` to `follow` in `wp_robots_noindex()`. "The noindex is fine, the nofollow stops any link equity from that URL, so that's actually a bad idea."
Props joostdevalk.
Fixes #22876.


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


git-svn-id: http://core.svn.wordpress.org/trunk@26011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-11 22:27:10 +00:00
Scott Taylor 2e0af4405e Make HTML tag searches for `<code>` and `<pre>` case-insensitive in `make_clickable()`.
Props bpetty.
Fixes #23756.


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


git-svn-id: http://core.svn.wordpress.org/trunk@26010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-11 21:54:10 +00:00
Lance Willett 8612dc4ef6 Twenty Fourteen: update the theme description with more information about theme features such as Featured Content and how to set it up. See #25837.
Built from https://develop.svn.wordpress.org/trunk@26092


git-svn-id: http://core.svn.wordpress.org/trunk@26009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-11 19:32:09 +00:00
Scott Taylor 45deda0726 Fix canonical redirection of `cat` as described in #15256 by rolling the `cat` query var into `tax_query`, instead of `category__in` / `category__not_in`. Top-level categories were only redirecting properly if they had no children.
All unit tests pass. Tests marked for #15256 are no longer skipped.

Fixes #15256.
Props dd32.


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


git-svn-id: http://core.svn.wordpress.org/trunk@26008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-11 18:36:10 +00:00
Andrew Ozz 541d22e18d Fix the X-UA-Compatible header for IE8, fixes #25575
Built from https://develop.svn.wordpress.org/trunk@26089


git-svn-id: http://core.svn.wordpress.org/trunk@26007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-11 18:02:10 +00:00
Sergey Biryukov 3b66710dae Remove the code for increasing z-index for the tag suggestion script from Twenty Fourteen.
fixes #25867.
Built from https://develop.svn.wordpress.org/trunk@26086


git-svn-id: http://core.svn.wordpress.org/trunk@26006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-11 17:43:09 +00:00
Sergey Biryukov 6484ca83a5 Make suggest script visible in the customizer.
props celloexpressions for initial patch.
see #25867.
Built from https://develop.svn.wordpress.org/trunk@26085


git-svn-id: http://core.svn.wordpress.org/trunk@26005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-11 17:39:09 +00:00
Lance Willett a1036ac9f0 Twenty Fourteen: changes to JavaScript files to pass `jshint`, props jorbin. Fixes #25908 #25909 #25910.
* Add global variable flags to top of JS files.
 * Group variable declarations correctly.
Built from https://develop.svn.wordpress.org/trunk@26084


git-svn-id: http://core.svn.wordpress.org/trunk@26004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-11 17:27:11 +00:00
Sergey Biryukov 4517d7b729 Remove the code for setting ajaxurl from Twenty Fourteen.
props celloexpressions.
fixes #25866.
Built from https://develop.svn.wordpress.org/trunk@26083


git-svn-id: http://core.svn.wordpress.org/trunk@26003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-11 15:51:10 +00:00