Commit Graph

23857 Commits

Author SHA1 Message Date
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
Sergey Biryukov 698bb5744e Define ajaxurl in the customizer.
props celloexpressions.
see #25866.
Built from https://develop.svn.wordpress.org/trunk@26082


git-svn-id: http://core.svn.wordpress.org/trunk@26002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-11 15:47:09 +00:00
Sergey Biryukov 8d659b278c Fix docblock formatting. fixes #25893.
Built from https://develop.svn.wordpress.org/trunk@26081


git-svn-id: http://core.svn.wordpress.org/trunk@26001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-11 13:32:10 +00:00
Sergey Biryukov e5a4485a49 Inline documentation for hooks in wp-admin/edit-link-form.php.
props raamdev.
fixes #25447.
Built from https://develop.svn.wordpress.org/trunk@26080


git-svn-id: http://core.svn.wordpress.org/trunk@26000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-11 13:16:09 +00:00
Lance Willett dc80ae6691 Twenty Fourteen: improve Featured Content experience in the Customizer. Better preview and cache clearing, props obenland and rachelbaker. Fixes #25549.
Built from https://develop.svn.wordpress.org/trunk@26079


git-svn-id: http://core.svn.wordpress.org/trunk@25999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 23:38:10 +00:00
Andrew Ozz 92cd3c5ba7 Widgets screen: adjust the placeholder to match the new widget "handle" height, and the spinner's margins so the sidebar titles don't "jump" when it is shown. See #25821, see #25858.
Built from https://develop.svn.wordpress.org/trunk@26078


git-svn-id: http://core.svn.wordpress.org/trunk@25998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 18:33:10 +00:00
Dion Hulse 8d92d7d529 Add a white WordPress logo for use on the about pages. See #25858
Built from https://develop.svn.wordpress.org/trunk@26077


git-svn-id: http://core.svn.wordpress.org/trunk@25997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 06:12:09 +00:00
Matt Thomas f4c0bce32c Fixing a typo, see #25858. Props designsimply.
Built from https://develop.svn.wordpress.org/trunk@26076


git-svn-id: http://core.svn.wordpress.org/trunk@25996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 03:53:10 +00:00
Matt Thomas 6e7c2d3593 Add missing wordpress-logo.svg, see #25858.
Built from https://develop.svn.wordpress.org/trunk@26075


git-svn-id: http://core.svn.wordpress.org/trunk@25995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 03:50:10 +00:00
Andrew Nacin 1674d350aa Fix order, declaration, tabbing of vars in color-picker.js.
props kadamwhite.
fixes #25877.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 02:43:10 +00:00
Helen Hou-Sandí 01a96c4a3a Add spinner images that were inadvertently left out of [26072]. see #25858.
Built from https://develop.svn.wordpress.org/trunk@26073


git-svn-id: http://core.svn.wordpress.org/trunk@25993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 00:40:09 +00:00
Helen Hou-Sandí 69d432410a Say hello to a fresh new look for the WordPress admin.
Still to come: more color schemes, a responsive component, and more.

see #25858.
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 00:27:10 +00:00
Lance Willett 8e0733a6c7 Twenty Fourteen: allow slider "Previous" and "Next" labels to be translated, props michahwave. Fixes #25897.
Built from https://develop.svn.wordpress.org/trunk@26071


git-svn-id: http://core.svn.wordpress.org/trunk@25991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-09 23:28:09 +00:00
Lance Willett 5bb8d78e07 Bundled Themes: implement Microsoft-specific `@viewport` rules for better responsive styling in Windows 8 "snapped" views. Props celloexpressions, fixes #25888.
Built from https://develop.svn.wordpress.org/trunk@26070


git-svn-id: http://core.svn.wordpress.org/trunk@25990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-09 23:20:09 +00:00
Lance Willett 944434824e Twenty Fourteen: implement UX features in spite of being non-standard CSS selectors that won't validate. `@viewport` for a better touch experience on Windows, and `::selection` for better text selection styles. See #25888 and #25898, props celloexpressions.
Built from https://develop.svn.wordpress.org/trunk@26069


git-svn-id: http://core.svn.wordpress.org/trunk@25989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-09 23:16:09 +00:00
Andrew Nacin 867447c489 Avoid JSHint errors in admin comment.js. Declare globals, use single quotes.
props jorbin.
fixes #25885. 

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


git-svn-id: http://core.svn.wordpress.org/trunk@25988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-09 21:30:10 +00:00
Andrew Nacin 8789532eb8 Avoid JSHint errors in color-picker.js. One `var`, single quotes, add missing semicolon, declare wpColorPickerL10n as global.
props jorbin.
fixes #25877.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-09 21:29:09 +00:00
Andrew Nacin c81508dc43 Avoid JSHint errors. Use dot notation when able and declare pwsL10n as a global.
props jorbin.
fixes #25870.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-09 21:21:10 +00:00
Lance Willett d485bc61f3 Twenty Fourteen: remove non-standard `::selection` selectors. Closes #25898.
Built from https://develop.svn.wordpress.org/trunk@26062


git-svn-id: http://core.svn.wordpress.org/trunk@25985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-09 18:47:10 +00:00
Sergey Biryukov 47151b3534 Add @return for WP_Query::parse_search(). props tivnet. fixes #25894.
Built from https://develop.svn.wordpress.org/trunk@26061


git-svn-id: http://core.svn.wordpress.org/trunk@25984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-09 16:05:10 +00:00