Tammie Lister
ee20f7606b
Remove .pot files from Default Themes
...
Fixes #34884
Props davidakennedy
Built from https://develop.svn.wordpress.org/trunk@38093
git-svn-id: http://core.svn.wordpress.org/trunk@38034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-07-18 14:33:31 +00:00
Tammie Lister
5bcc4e7b35
PHP 7 compatibility issues fixed in Twenty Thirteen and Twenty Fourteen
...
Props xknown
Fixes #37227
--This Line, and those below, will be ignored--
M themes/twentyfourteen/functions.php
M themes/twentythirteen/functions.php
Built from https://develop.svn.wordpress.org/trunk@38026
git-svn-id: http://core.svn.wordpress.org/trunk@37967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-07-09 15:11:33 +00:00
Weston Ruter
f3f84d2f21
Customize: Require opt-in for selective refresh of widgets.
...
* Introduces `customize-selective-refresh-widgets` theme support feature and adds to themes.
* Introduces `customize_selective_refresh` arg for `WP_Widget::$widget_options` and adds to all core widgets.
* Remove `selective_refresh` from being a component that can be removed via `customize_loaded_components` filter.
* Add `WP_Customize_Widgets::get_selective_refreshable_widgets()` and `WP_Customize_Widgets::is_widget_selective_refreshable()`.
* Fix default `selector` for `Partial` instances.
* Implement and improve Masronry sidebar refresh logic in Twenty Thirteen and Twenty Fourteen, including preservation of initial widget position after refresh.
* Re-initialize ME.js when refreshing `Twenty_Fourteen_Ephemera_Widget`.
See #27355 .
Fixes #35855 .
Built from https://develop.svn.wordpress.org/trunk@37040
git-svn-id: http://core.svn.wordpress.org/trunk@37007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-21 21:59:29 +00:00
Konstantin Obenland
81df9bffc5
Use https for Google API external libraries.
...
Google recommends it and users are more likely to have the https version cached in their browser already.
Props rommelxcastro.
Fixes #32552 .
Built from https://develop.svn.wordpress.org/trunk@32843
git-svn-id: http://core.svn.wordpress.org/trunk@32814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-18 15:51:26 +00:00
Dominik Schilling
64fc7294b6
Use HTTPS URLs for codex.wordpress.org.
...
see #27115 .
Built from https://develop.svn.wordpress.org/trunk@32116
git-svn-id: http://core.svn.wordpress.org/trunk@32095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-12 21:29:32 +00:00
Sergey Biryukov
31c11b1f0d
Bundled themes: After [31453], replace `current()` with `reset()`, which is guaranteed to be the first item.
...
see #31259 , #31260 .
Built from https://develop.svn.wordpress.org/trunk@31842
git-svn-id: http://core.svn.wordpress.org/trunk@31824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-20 02:04:27 +00:00
Lance Willett
f81f253434
Twenty Fourteen: add ARIA attributes to menu toggle. See #31527 .
...
Built from https://develop.svn.wordpress.org/trunk@31784
git-svn-id: http://core.svn.wordpress.org/trunk@31764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-15 20:00:27 +00:00
Lance Willett
86a133a79a
Bundled themes: replace `array_shift()` with `current()` for performance.
...
Props SergeyBiryukov, fixes #31260 .
Built from https://develop.svn.wordpress.org/trunk@31453
git-svn-id: http://core.svn.wordpress.org/trunk@31434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-13 17:52:27 +00:00
Lance Willett
2a01466813
Twenty Fourteen: remove Genericons as a dependency from loading the main stylesheet and IE-specific stylesheet. See #30532 .
...
Built from https://develop.svn.wordpress.org/trunk@30866
git-svn-id: http://core.svn.wordpress.org/trunk@30856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-15 17:40:22 +00:00
Dominik Schilling
61819a36ea
Customizer: Change instances of "Theme Customizer" to just "Customizer", as the Customizer isn't necessarily theme-specific.
...
Also capitalize "Customizer".
See also https://make.wordpress.org/core/2014/07/08/customizer-improvements-in-4-0/ .
props studionashvegas, tareq1988.
fixes #29947 .
Built from https://develop.svn.wordpress.org/trunk@29903
git-svn-id: http://core.svn.wordpress.org/trunk@29658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-15 17:21:19 +00:00
Sergey Biryukov
045a222180
Twenty Fourteen: Include Latin Extended font subset for Lato.
...
fixes #29690 .
Built from https://develop.svn.wordpress.org/trunk@29772
git-svn-id: http://core.svn.wordpress.org/trunk@29544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-27 10:16:17 +00:00
Lance Willett
e7e1169aa5
Twenty Fourteen: fix header display on multisite signup and activate views. Fixes #28573 , props slobodanmanic.
...
Built from https://develop.svn.wordpress.org/trunk@29100
git-svn-id: http://core.svn.wordpress.org/trunk@28886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-11 19:04:13 +00:00
Lance Willett
005d30e820
Twenty Fourteen: fix masthead behavior in IE when a custom header image is present. Props Kau-Boy, lancewillett. Fixes #27220 .
...
Built from https://develop.svn.wordpress.org/trunk@28758
git-svn-id: http://core.svn.wordpress.org/trunk@28571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-16 18:22:14 +00:00
Lance Willett
c54618ab9c
Twenty Fourteen: first pass at better Audio/Video player styling with genericons. Props celloexpressions, see #26469 .
...
Built from https://develop.svn.wordpress.org/trunk@28694
git-svn-id: http://core.svn.wordpress.org/trunk@28512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-06 18:57:14 +00:00
Lance Willett
64eaedb9eb
Twenty Fourteen: update to Genericons 3.0.3. Props celloexpressions, closes #28456 .
...
Built from https://develop.svn.wordpress.org/trunk@28692
git-svn-id: http://core.svn.wordpress.org/trunk@28510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-06 17:36:14 +00:00
Lance Willett
5897fb2ed1
Twenty Fourteen: add documentation for global variables used in `twentyfourteen_wp_title()`. Closes #28421 .
...
Built from https://develop.svn.wordpress.org/trunk@28661
git-svn-id: http://core.svn.wordpress.org/trunk@28479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-04 17:15:15 +00:00
Sergey Biryukov
2c97f4640b
Prevent 'Page %s' from being added to page title on 404 error pages in bundled themes.
...
props psoluch, rob1n.
fixes #16468 .
Built from https://develop.svn.wordpress.org/trunk@28250
git-svn-id: http://core.svn.wordpress.org/trunk@28078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-05-04 13:17:28 +00:00
Lance Willett
a450512b7b
Twenty Thirteen and Fourteen: implement HTML5 markup for galleries (see #26697 ) and captions (see #26642 ). Props obenland, closes #27502 .
...
Built from https://develop.svn.wordpress.org/trunk@27763
git-svn-id: http://core.svn.wordpress.org/trunk@27600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-27 00:06:28 +00:00
Lance Willett
a40a36e539
Twenty Fourteen: load Masonry after window load event to give more time for widget content to load before drawing the layout. Closes #27051 .
...
Built from https://develop.svn.wordpress.org/trunk@27627
git-svn-id: http://core.svn.wordpress.org/trunk@27470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-19 23:08:14 +00:00
Lance Willett
4aacf01403
Twenty Fourteen: revert r27623 `post_class` filter removal since it will visually break pre-WP 3.9 installs. See #18804 .
...
Built from https://develop.svn.wordpress.org/trunk@27624
git-svn-id: http://core.svn.wordpress.org/trunk@27467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-19 20:49:15 +00:00
Lance Willett
561ab7b840
Twenty Fourteen: remove `post_class` filter for `has-post-thumbnail` now that it's added in core for every theme. See #18804 .
...
Built from https://develop.svn.wordpress.org/trunk@27623
git-svn-id: http://core.svn.wordpress.org/trunk@27466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-19 19:13:15 +00:00
Lance Willett
a46e7ca3dc
Twenty Fourteen: remove doc block comments for `@return void`. See #27098 , props philiparthurmoore.
...
Built from https://develop.svn.wordpress.org/trunk@27595
git-svn-id: http://core.svn.wordpress.org/trunk@27438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-18 22:44:14 +00:00
Andrew Nacin
616205856e
Twenty Fourteen: Add a .button class.
...
props celloexpressions.
fixes #27075 .
Built from https://develop.svn.wordpress.org/trunk@27442
git-svn-id: http://core.svn.wordpress.org/trunk@27289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-06 19:54:15 +00:00
Scott Taylor
6df629fb02
in TwentyFourteen: don't add the `has-post-thumbnail` class or print the featured image when viewing an attachment.
...
See #27243 .
Built from https://develop.svn.wordpress.org/trunk@27330
git-svn-id: http://core.svn.wordpress.org/trunk@27182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-28 21:57:13 +00:00
Andrew Nacin
c5802858cc
Default themes: Use the 'display' filter for get_bloginfo( 'name' ) attached to the wp_title filter.
...
props michelwppi.
fixes #26811 .
Built from https://develop.svn.wordpress.org/trunk@27091
git-svn-id: http://core.svn.wordpress.org/trunk@26963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-04 13:57:12 +00:00
Lance Willett
adb22a86fd
Twenty Fourteen: match `screen-reader-text` accessibility styles a bit better with core, to avoid a jump when you move through the links, and to avoid a horizontal scroll at certain viewport widths. Also fix JS focus by specifying the first match object. Closes #25592 .
...
Built from https://develop.svn.wordpress.org/trunk@26843
git-svn-id: http://core.svn.wordpress.org/trunk@26730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 20:38:12 +00:00
Lance Willett
017fd0b083
Twenty Fourteen: fix too-wide search "jump to" link and provide focus on the search input when it's used. Closes #25592 .
...
Built from https://develop.svn.wordpress.org/trunk@26691
git-svn-id: http://core.svn.wordpress.org/trunk@26581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 21:28:11 +00:00
Lance Willett
8e352c8187
Twenty Fourteen: remove unneeded `!important` declarations, and comment the ones we absolutely need to keep around. Fixes #26444 .
...
Built from https://develop.svn.wordpress.org/trunk@26689
git-svn-id: http://core.svn.wordpress.org/trunk@26579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 21:03:11 +00:00
Lance Willett
b15de66997
Twenty Fourteen: fix two usability issues with touch events on mobile devices with the Featured Content slider:
...
* Try to avoid the slight delay when swiping from one slide to the next.
* Fix bug where second to last slide was animating like it was the last.
Fixes #26191 .
Built from https://develop.svn.wordpress.org/trunk@26665
git-svn-id: http://core.svn.wordpress.org/trunk@26555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 08:21:10 +00:00
Lance Willett
1b78eb0bb2
Twenty Fourteen: change sort order on Contributor template to put author with mosts posts at the top. Props iamtakashi, closes #26427 ; see #24863 .
...
Built from https://develop.svn.wordpress.org/trunk@26657
git-svn-id: http://core.svn.wordpress.org/trunk@26547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 03:16:10 +00:00
Lance Willett
84d9b4241b
Twenty Fourteen: ensure attachment image size is correct at 810 pixels. Props iamtakashi, fixes #26384 .
...
Built from https://develop.svn.wordpress.org/trunk@26598
git-svn-id: http://core.svn.wordpress.org/trunk@26488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 03:24:19 +00:00
Sergey Biryukov
54cc0d8b9e
Twenty Fourteen: Remove obsolete comment. props DrewAPicture. fixes #26380 .
...
Built from https://develop.svn.wordpress.org/trunk@26581
git-svn-id: http://core.svn.wordpress.org/trunk@26471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 19:20:09 +00:00
Lance Willett
5b54845df7
Twenty Fourteen: reposition the window on jump-to-anchor to account for header height. Props obenland, fixes #26213 .
...
Built from https://develop.svn.wordpress.org/trunk@26574
git-svn-id: http://core.svn.wordpress.org/trunk@26465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 18:35:10 +00:00
Lance Willett
addc2a8f38
Twenty Fourteen: fix stylesheet loading, broken in r26560.
...
Built from https://develop.svn.wordpress.org/trunk@26565
git-svn-id: http://core.svn.wordpress.org/trunk@26456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:41:09 +00:00
Lance Willett
ee67057ade
Twenty Fourteen: code cleanup, props kovshenin. See #25946 .
...
* Filtering `twentyfourteen_has_featured_posts()` false suggests the filter expects a boolean value, but we expect an array. Use an existing function instead.
* In both style.css and ie.css use Genericons, so let's not forget to declare the dependancy.
* Make sure Lato font is enqueued in `admin_print_scripts`.
Built from https://develop.svn.wordpress.org/trunk@26560
git-svn-id: http://core.svn.wordpress.org/trunk@26451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:28:10 +00:00
Lance Willett
e46662b6ae
Twenty Fourteen: update comment blocks to match inline docs standards. Props DrewAPicture, see #25837 .
...
Built from https://develop.svn.wordpress.org/trunk@26556
git-svn-id: http://core.svn.wordpress.org/trunk@26447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:06:11 +00:00
Lance Willett
7431d1b9ac
Twenty Fourteen: fix typos and a correct `@return` value, props morganestes. See #25946 .
...
Built from https://develop.svn.wordpress.org/trunk@26325
git-svn-id: http://core.svn.wordpress.org/trunk@26228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 11:20:10 +00:00
Lance Willett
9e201fadff
Twenty Fourteen: updates all PHP files to meet new brace style in WP coding standards. Props rickalee for initial patch, fixes #26093 .
...
Built from https://develop.svn.wordpress.org/trunk@26260
git-svn-id: http://core.svn.wordpress.org/trunk@26166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 23:11:10 +00:00
Lance Willett
881c608592
Twenty Fourteen: remove singular body class when a page is set to be the front page, and minor style tweaks. Props iamtakashi, see #25946 .
...
Built from https://develop.svn.wordpress.org/trunk@26249
git-svn-id: http://core.svn.wordpress.org/trunk@26155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 19:21:09 +00:00
Lance Willett
3c0f497fad
Twenty Fourteen: general cleanup for spacing, inline comments. Props obenland, see #25946 .
...
Built from https://develop.svn.wordpress.org/trunk@26227
git-svn-id: http://core.svn.wordpress.org/trunk@26134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 21:20:09 +00:00
Lance Willett
a52f3ebb7b
Twenty Fourteen: limit back compat to 3.6 and later versions. See #26055 , props obenland.
...
Built from https://develop.svn.wordpress.org/trunk@26225
git-svn-id: http://core.svn.wordpress.org/trunk@26132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 21:15:10 +00:00
Lance Willett
330948ced3
Twenty Fourteen: remove a font weight of `900 italic` which isn't needed. Props iamtakashi. See #25946 .
...
Built from https://develop.svn.wordpress.org/trunk@26218
git-svn-id: http://core.svn.wordpress.org/trunk@26126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 19:03:10 +00:00
Lance Willett
c3bd52a52f
Twenty Fourteen: remove `main-content` element where not necessary, props iamtakashi. See #25946 .
...
Built from https://develop.svn.wordpress.org/trunk@26217
git-svn-id: http://core.svn.wordpress.org/trunk@26125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 19:01:09 +00:00
Lance Willett
c8cfe17a02
Twenty Fourteen: simplify and prefix post thumbnail sizes, props obenland. See #25946 .
...
Built from https://develop.svn.wordpress.org/trunk@26152
git-svn-id: http://core.svn.wordpress.org/trunk@26063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 04:50:11 +00:00
Lance Willett
85dcc4aea8
Twenty Fourteen: remove unused class name, props obenland. See #25946 .
...
Built from https://develop.svn.wordpress.org/trunk@26151
git-svn-id: http://core.svn.wordpress.org/trunk@26062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 04:46: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
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
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