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
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
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
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
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
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
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
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
Lance Willett
539b3a254b
Twenty Fourteen: fix gallery layout issue in IE, props jartes and iamtakashi. Fixes #25625 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26057 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 00:17:57 +00:00
Scott Taylor
047f7fb8bd
Produce proper CAST
for DECIMAL
and NUMERIC
in Meta Query. Adds a bunch of unit tests.
...
Props ericlewis.
Fixes #23033 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26055 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-08 23:10:41 +00:00
Andrew Ozz
8ee904343b
Merge the Widgets Area Chooser feature plugin. First run, see #25821
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26054 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-08 23:04:35 +00:00
Scott Taylor
cc19bb3a57
Respect the compare
operator value in meta_query
when value
evaluates to null
. Adds Unit Test.
...
Props bradyvercher, gradyetc.
Fixes #22967 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26053 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-08 22:51:03 +00:00
Scott Taylor
0670cf7cc4
Don't convert URLs inside <pre>
and <code>
tags when parsing string using make_clickable()
.
...
Adds Unit Tests.
Props johnjamesjacoby, helen, nacin, adamsilverstein, sirbrillig.
Fixes #23756 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26052 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-08 22:37:41 +00:00
Sergey Biryukov
9f9bc20bde
Remove old debug comment. props nofearinc. fixes #25865 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26051 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-08 22:23:58 +00:00
Scott Taylor
2a8b83fbb0
Split the content to balance open tags when <!--nextpage-->
and <!--more.*?-->
are used. Needs filter inline docs. The 4 unit tests that were previously failing for ticket 6297 now pass.
...
See #6297 .
Props devesine.
git-svn-id: https://develop.svn.wordpress.org/trunk@26050 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-08 22:21:02 +00:00
Sergey Biryukov
c815622e87
Pass correct 'type' parameter to 'upgrader_process_complete' action in Theme_Upgrader.
...
props bamadesigner.
fixes #25882 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@26049 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-08 17:03:19 +00:00
Lance Willett
15173413e5
Twenty Fourteen: fix case of featured posts has_tag()
check that was adding an empty footer
element. See #25868 , props iamtakashi.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26048 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-08 05:53:48 +00:00
Lance Willett
2ae699bcf2
Twenty Fourteen: performance win by reducing the number of post thumbnail sizes needed in the theme. Props iamtakashi, closes #25876 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26047 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-08 05:30:45 +00:00
Dion Hulse
deda988368
Add some missing braces to get_bookmarks() which was causing an early return. Introduced in [25934]. See #25468 . Fixes #25874
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26046 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-08 02:19:22 +00:00
Lance Willett
fcc86be587
Twenty Fourteen: add brief inline help text for Featured Content controls in Customizer. See #25837 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26045 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-08 01:08:18 +00:00
Lance Willett
db7ec86731
Twenty Fourteen: legibility improvements for small sidebar text. Fixes #25827 props iamtakashi.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26044 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-08 00:54:24 +00:00
Lance Willett
f7c0b07d98
Twenty Fourteen: better override for Background and Colors descriptions in Customizer, props obenland. See #25869 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26039 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-07 20:36:09 +00:00
Lance Willett
d3bd9f465c
Twenty Fourteen: add contextual help text to Background and Colors controls in Customizer, using the description
field. Props rachelbaker, see #25869 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26038 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-07 20:27:05 +00:00
Lance Willett
daad8899b1
Twenty Fourteen: move all controls for managing Featured Content to the Customizer. Also implement smart fallbacks to not using a custom tag with the "featured" tag and sticky posts. Props obenland and celloexpressions, see #25549 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26037 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-07 20:24:24 +00:00
Lance Willett
976df5f9ed
Twenty Fourteen: clean up inconsistencies in content template files. Props iamtakashi, fixes #25868 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26036 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-07 19:04:56 +00:00
Andrew Ozz
1a396b5d8a
jshint: fixes for revisions.js, props adamsilverstein, fixes #25864 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26035 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-07 18:13:33 +00:00
Lance Willett
48d44afbb9
Twenty Fourteen: remove the pattern image used as a placeholder for featured images. This greatly improves the "first run" experience of the theme and gives it a more general appeal as a blog theme by putting less of a requirement on featured images. Props iamtakashi, fixes #25859 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26034 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-07 17:28:56 +00:00
Sergey Biryukov
bc9ca186e5
Add missing semicolon after wpLink object definition. props mt8.biz. fixes #25862 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26033 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-07 10:41:15 +00:00
Dion Hulse
24c2774076
Fix a case where wp_guess_url() would leave a prefixed path in the generated URL when symlinks were involved. Fixes #25797
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26031 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-07 03:33:11 +00:00
Lance Willett
245b99ceb1
Twenty Fourteen: minor template fixes and a placeholder screenshot.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26030 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-06 23:53:13 +00:00
Andrew Ozz
859516cd19
Add X-UA-Compatible meta tag in the admin, locking the compatibility mode in IE to the highest supported document mode. Fixes #25575 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26029 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-06 23:48:02 +00:00
Sergey Biryukov
fc8d09e2a6
A negative term parent value should be sanitized to 0, not 1. Fix a regression in sanitize_term_field() caused by [26010].
...
props mattheu for initial patch.
fixes #25852 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26028 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-06 23:40:46 +00:00
Sergey Biryukov
2564c74a57
Fix inverted logic for displaying the 'Broken Theme' string. props pavelevap. fixes #25465 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26027 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-06 22:39:35 +00:00
Lance Willett
8b481f300b
Twenty Fourteen: add full-width featured images for layouts without a content sidebar, but use wp_is_mobile()
to load smaller-sized images for mobile. Props iamtakashi, fixes #25758 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26026 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-06 20:39:50 +00:00
Sergey Biryukov
cd7deb0e7b
Make Twenty Fourteen the default theme. props markmcwilliams. fixes #25702 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26024 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-06 20:01:54 +00:00
Lance Willett
8f46d50138
Twenty Fourteen: add missing sidebar for post format archives. Props iamtakashi, fixes #25842 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26023 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-06 16:11:51 +00:00
Sergey Biryukov
3d26edf1fe
Remove irrelevant @see references. props mt8.biz. fixes #25843 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26022 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-06 10:16:55 +00:00
Lance Willett
e20baa48d8
Twenty Fourteen: improvements to Accent Color behavior, including a case where options were published too soon. Props celloexpressions, fixes #25580 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26021 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 23:28:07 +00:00
Lance Willett
e2bf98b1d3
Twenty Fourteen: add Audio post format support. Props celloexpressions, closes #25807 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26020 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 21:51:03 +00:00
Lance Willett
a009e64c18
Twenty Fourteen: remove a todo.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26019 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 21:48:29 +00:00
Lance Willett
b3722a1edd
Twenty Fourteen: add print styles, props iamtakashi. Closes #25830 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26018 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 16:42:29 +00:00
Dion Hulse
34fa8af8bb
Core Upgrader: Include an unmodified $wp_version in Core_Upgrader::upgrade(). This protects against cases where the global $wp_version has been modified. See #25772
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26017 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 06:22:23 +00:00
Dion Hulse
18e173ae80
Core Upgrader success statistics: Pass the version of WordPress we're upgrading from, as well as the version being upgraded to. Props nacin. See #25772 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26016 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 06:19:05 +00:00
Dion Hulse
83754e1636
Remove dead code from the Plugin Upgrader class. Props jdgrimes. Fixes #25470
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26015 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 05:47:41 +00:00
Dion Hulse
58e4a21f07
When checking filesystem permissions for core updates, only check the permissions of the files which we need to alter. Props nacin for initial patch. Fixes #25771 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26014 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 05:42:23 +00:00
Dion Hulse
43d50e9c9e
Add a filter to the Background Updates debug email, matches the filter used on the non-debug post-update emails. Props pento. Fixes #25756
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26013 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 02:14:34 +00:00
Scott Taylor
d8f57f88ad
Respect paged
when offset
is used in WP_Query
. Adds unit tests.
...
Props coffee2code.
Fixes #18897 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26012 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 01:34:44 +00:00
Scott Taylor
5643e3ca17
Pass $args
to the export_wp
action in export_wp()
, which is currently passed no arguments.
...
Props nickdaugherty.
Fixes #25574 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26011 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 01:26:49 +00:00
Scott Taylor
ed22220a0f
Cast proper fields to int
when returning from wp_get_object_terms()
. Add term_taxonomy_id
and object_id
to the list in sanitize_term()
and sanitize_term_field()
.
...
Fixes #17646 . Adds unit tests.
Props simonwheatley, dd32, kovshenin.
git-svn-id: https://develop.svn.wordpress.org/trunk@26010 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 01:18:02 +00:00
Scott Taylor
67443e080c
Don't globalize version variables twice. See #23685 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26009 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 00:57:52 +00:00
Scott Taylor
268667e170
When WordPress is loaded in a function (e.g. unit tests) the variables initialized at the top level aren't globals, but we expect them to be. Explicitly make the version variables global.
...
Props nbachiyski.
Fixes #23685 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26008 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 00:23:38 +00:00
Scott Taylor
0923b7b93a
Category and tag are typically checked before checking for a custom taxonomy. If the global query matches category or tag (even if it also has tax_query set), return category/tag as the queried object, instead of arbitrarily returning the first term in the tax_query
stack (typically those added with 'pre_get_posts').
...
Real world example: http://www.emusic.com/17dots/topics/daily-download/ - "tag" page, regionalized for US-only content using `pre_get_posts` passing in the terms "US" and "ALL" for "region" (custom tax). All of the theme functions would output "ALL" as the term name. Even though it was a tag archive, the queried object was an arbitrary term from `tax_query`.
See [26006]. All unit tests pass.
Fixes #20767 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26007 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-04 23:53:55 +00:00
Scott Taylor
5321bc4957
WP_UnitTestCase::go_to()
tried its best to clean up global space, but ultimately fell short. Because it was blowing away WP
every time it was called, it was dropping all the query vars that were registered for custom taxonomies and custom post types (ouch).
...
Introduces `_cleanup_query_vars()`. This is a prerequisite for the unit tests on #20767 . All unit tests pass with this change.
See #20767 .
Fixes #25818 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26006 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-04 22:46:44 +00:00
Lance Willett
e512f03e75
Twenty Fourteen: update bundled Genericons to the latest version, 3.0.2. Props iamtakashi, closes #25812 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26003 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-04 18:07:18 +00:00
Lance Willett
848937c672
Twenty Thirteen: capitalize "Not Found" string for use in a page title, see #24891 and r25907.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26002 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-04 17:56:32 +00:00
Sergey Biryukov
6fa1c89458
Pass comment ID and comment post ID to get_comment_class() in WP_Comments_List_Table::single_row().
...
props drozdz.
fixes #25814 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26001 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-04 10:59:58 +00:00
Sergey Biryukov
acc8ac64b8
Fall back to comment author email in get_avatar() if the user who left the comment no longer exists.
...
props mauryaratan, lite3.
fixes #25803 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26000 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-02 12:19:43 +00:00