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
Lance Willett
e2922ff103
Twenty Fourteen: remove extra newline from `footer.php` file.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26106 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 20:14:18 +00:00
Lance Willett
dc242fbc80
Twenty Fourteen: move page templates into their own directory. See #25929 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26105 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 19:02:09 +00:00
Lance Willett
0b4c3fde55
Twenty Fourteen: move CSS files except for rtl.css and style.css into new `css` directory. See #25929 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26104 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 18:56:18 +00:00
Lance Willett
839325fe34
Twenty Fourteen: rename `fonts` to `genericons`. See #25929 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26103 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 18:37:51 +00:00
Lance Willett
d37cefbdfc
Twenty Fourteen: update two over-qualified selectors in main stylesheet.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26102 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 18:18:04 +00:00
Lance Willett
ddb8e58f8d
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 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26101 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 17:12:08 +00:00
Lance Willett
4a39bb0d00
Twenty Fourteen: adjust fixed header top margin now that MP6 is merged. See #25906 props celloexpressions.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26100 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 17:10:29 +00:00
Lance Willett
d220b3fd88
Twenty Fourteen: don't load unused font weights. Props iamtakashi, fixes #25922 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26099 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 16:47:46 +00:00
Lance Willett
4b63213b62
Twenty Fourteen: full-width page template should display a full-width featured image, except for mobile. Fixes #25925 , props iamtakashi.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26098 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 16:46:31 +00:00
Lance Willett
cc0f0d8c6e
Twenty Fourteen: first pass at older Internet Explorer browser support. Props iamtakashi, see #25036 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26097 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 04:17:07 +00:00
Scott Taylor
5f1180ca0f
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26096 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 22:26:33 +00:00
Scott Taylor
6603f4802a
Always clean install in PHPUnit Tests.
...
Props bpetty.
Fixes #25871 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26095 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 22:14:24 +00:00
Scott Taylor
2ccc101050
Make HTML tag searches for `<code>` and `<pre>` case-insensitive in `make_clickable()`.
...
Props bpetty.
Fixes #23756 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26094 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 21:53:08 +00:00
Scott Taylor
8120f2861c
The test for #5953 doesn't require the ticket to be closed for its assertions to pass.
...
See #25913 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26093 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 21:23:39 +00:00
Lance Willett
270ba8b564
Twenty Fourteen: update the theme description with more information about theme features such as Featured Content and how to set it up. See #25837 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26092 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 19:31:24 +00:00
Scott Taylor
a8e76ea8f9
Set the `page_comments` option to `true` in `Tests_Canonical` to properly check canonical redirection for paged comments. By doing so, one assertion tied to #20388 no longer needs to be.
...
See #20388 , 25913.
git-svn-id: https://develop.svn.wordpress.org/trunk@26091 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 18:57:11 +00:00
Scott Taylor
95a00fb920
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.
git-svn-id: https://develop.svn.wordpress.org/trunk@26090 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 18:35:21 +00:00
Andrew Ozz
88138fbf3a
Fix the X-UA-Compatible header for IE8, fixes #25575
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26089 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 18:01:40 +00:00
Scott Taylor
3cbb68c3af
Avoid `Out of range value for column 'post_parent'` error in `Tests_Ajax_MediaEdit::_make_attachment()` by setting the default parent id to `0` instead of `-1`
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26088 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 17:51:29 +00:00
Scott Taylor
0fdff310fd
Fix a failing unit test: an XML-RPC unit test for getPosts with filters was failing. The cause of the failure: a set of posts was created with create_many() and then paginated results were requested. The paginated results were meant to equal the original resultset when diff'd after all pages were joined. create_many() was assigning the same timestamp to all posts, so the LIMIT clause in the generated SQL was not operating as expected. I replaced the create_many() call with a create() loop that increments time by 1 each time. Unit test now passes.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26087 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 17:45:36 +00:00
Sergey Biryukov
315681a8ed
Remove the code for increasing z-index for the tag suggestion script from Twenty Fourteen.
...
fixes #25867 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26086 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 17:42:04 +00:00
Sergey Biryukov
6592f4cb73
Make suggest script visible in the customizer.
...
props celloexpressions for initial patch.
see #25867 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26085 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 17:38:49 +00:00
Lance Willett
8cc1529de8
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.
git-svn-id: https://develop.svn.wordpress.org/trunk@26084 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 17:26:24 +00:00
Sergey Biryukov
f2bd2d8359
Remove the code for setting ajaxurl from Twenty Fourteen.
...
props celloexpressions.
fixes #25866 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26083 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 15:50:49 +00:00
Sergey Biryukov
adb2e127c1
Define ajaxurl in the customizer.
...
props celloexpressions.
see #25866 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26082 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 15:46:36 +00:00
Sergey Biryukov
a2aed7b119
Fix docblock formatting. fixes #25893 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26081 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 13:31:19 +00:00
Sergey Biryukov
eb8f223cd0
Inline documentation for hooks in wp-admin/edit-link-form.php.
...
props raamdev.
fixes #25447 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26080 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 13:15:57 +00:00
Lance Willett
7d112ad590
Twenty Fourteen: improve Featured Content experience in the Customizer. Better preview and cache clearing, props obenland and rachelbaker. Fixes #25549 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26079 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-10 23:37:36 +00:00
Andrew Ozz
1d57e79726
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 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26078 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-10 18:32:01 +00:00
Dion Hulse
325cc9f120
Add a white WordPress logo for use on the about pages. See #25858
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26077 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-10 06:11:25 +00:00
Matt Thomas
c8df5459d8
Fixing a typo, see #25858 . Props designsimply.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26076 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-10 03:52:06 +00:00
Matt Thomas
78ee1a4a22
Add missing wordpress-logo.svg, see #25858 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26075 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-10 03:49:10 +00:00
Andrew Nacin
974737e832
Fix order, declaration, tabbing of vars in color-picker.js.
...
props kadamwhite.
fixes #25877 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26074 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-10 02:42:32 +00:00
Helen Hou-Sandi
b0c601170c
Add spinner images that were inadvertently left out of [26072]. see #25858 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26073 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-10 00:39:38 +00:00
Helen Hou-Sandi
17287af965
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.
git-svn-id: https://develop.svn.wordpress.org/trunk@26072 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-10 00:26:50 +00:00
Lance Willett
8f85054cd0
Twenty Fourteen: allow slider "Previous" and "Next" labels to be translated, props michahwave. Fixes #25897 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26071 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 23:27:28 +00:00
Lance Willett
896ae4e6ef
Bundled Themes: implement Microsoft-specific `@viewport` rules for better responsive styling in Windows 8 "snapped" views. Props celloexpressions, fixes #25888 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26070 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 23:19:35 +00:00
Lance Willett
0081ce7c81
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.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26069 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 23:15:15 +00:00
Andrew Nacin
6072e1d4cb
Avoid JSHint errors in admin comment.js. Declare globals, use single quotes.
...
props jorbin.
fixes #25885 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26068 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 21:29:43 +00:00
Andrew Nacin
c8ab2675f4
Avoid JSHint errors in color-picker.js. One `var`, single quotes, add missing semicolon, declare wpColorPickerL10n as global.
...
props jorbin.
fixes #25877 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26067 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 21:28:27 +00:00
Andrew Nacin
df882a2e6c
Make [25064] lint-free. see #25854 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26066 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 21:25:02 +00:00
Andrew Nacin
a5ec5e4cd7
Avoid JSHint errors. Use dot notation when able and declare pwsL10n as a global.
...
props jorbin.
fixes #25870 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26065 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 21:20:25 +00:00
Andrew Nacin
bab82b3b66
Add `grunt phpunit` which runs three tasks: phpunit, ajax tests, and phpunit as multisite.
...
You can also run `grunt phpunit:default`, `grunt phpunit:ajax`, and grunt `phpunit:multisite` separately.
`grunt test` now runs the qunit task (both compiled and uncompiled scripts) and the phpunit tasks.
props bpetty.
fixes #25854 , see #25781 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26064 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 21:18:23 +00:00
Andrew Nacin
00dffd1bf8
Add `grunt qunit:compiled` to run the QUnit tests on the compiled JS.
...
props jorbin, kadamwhite.
fixes #25781 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26063 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 20:43:58 +00:00
Lance Willett
4d3e26f321
Twenty Fourteen: remove non-standard `::selection` selectors. Closes #25898 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26062 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 18:46:41 +00:00
Sergey Biryukov
82878e0859
Add @return for WP_Query::parse_search(). props tivnet. fixes #25894 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26061 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 16:04:02 +00:00
Sergey Biryukov
8a87a2345b
Declare the variable before using it. props tivnet. fixes #25895 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26060 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 15:52:30 +00:00
Lance Willett
14ce5221ae
Twenty Fourteen: when header is more than 48px tall (like two lines of menu items), unfix the header so it doesn't overlap the page content. Props iamtakashi, fixes #25554 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26059 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 15:31:29 +00:00
Andrew Nacin
f5f951ab3c
Remove the empty about.min.js. See [25912] for the 3.7 branch.
...
props tollmanz.
fixes #25855 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26058 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 04:56:36 +00:00