Andrew Ozz
1b44ae6663
Responsive images: make the new functions and filters signatures more consistent.
...
Props joemcgill.
Fixes #34612 .
Built from https://develop.svn.wordpress.org/trunk@35569
git-svn-id: http://core.svn.wordpress.org/trunk@35533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-07 21:36:27 +00:00
Scott Taylor
175064637f
Administration: when hiding the login modal and unbind the auth check, also unbind the heartbeat auth check.
...
Props nofearinc.
Fixes #28962 .
Built from https://develop.svn.wordpress.org/trunk@35568
git-svn-id: http://core.svn.wordpress.org/trunk@35532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-07 16:22:25 +00:00
Scott Taylor
e649fabb6a
Accessibility: add missing alt
attributes to a gaggle of <img>
s.
...
Props afercia.
Fixes #34583 .
Built from https://develop.svn.wordpress.org/trunk@35567
git-svn-id: http://core.svn.wordpress.org/trunk@35531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-07 16:12:27 +00:00
Scott Taylor
b17272831c
List Tables: fix row links CSS for RTL.
...
Props afercia.
Fixes #34150 .
Built from https://develop.svn.wordpress.org/trunk@35566
git-svn-id: http://core.svn.wordpress.org/trunk@35530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-07 16:05:25 +00:00
Scott Taylor
7a24b60c2a
List Tables: to ensure that get_primary_column_name()
can match columns that were added via the "manage_{$screen->id}_columns"
filer, call get_column_headers()
instead of $this->get_columns()
.
...
List Table classes and `WP_Screen` are already tangled together. The parent list table constructor adds a filter that is called by a function that references the instance globally, even though we have access to it via composition directly in the class that is adding the filter. So the fact that functions here have to be called that reference a screen instance we already have access to is what one might call... less than elegant.
#OOP
Props SergeyBiryukov.
Fixes #34508 .
Built from https://develop.svn.wordpress.org/trunk@35565
git-svn-id: http://core.svn.wordpress.org/trunk@35529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-07 15:27:25 +00:00
Dominik Schilling
a3d58b3fbe
Build Tools: Update the preserveComments
option for uglify:jqueryui
.
...
Uglify2 doesn't support the value "some" anymore. Replace it with the `/^!/` regex which produces the same output as before.
See https://build.trac.wordpress.org/changeset/35502 and https://build.trac.wordpress.org/changeset/35528 .
Fixes #34177 .
Built from https://develop.svn.wordpress.org/trunk@35564
git-svn-id: http://core.svn.wordpress.org/trunk@35528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-07 12:37:26 +00:00
Dominik Schilling
adc233f617
Build Tools: Update autoprefixer
to 0.6.1.
...
Release Post: https://github.com/postcss/autoprefixer/releases/tag/6.1.0
Includes changes to CSS files after `grunt precommit` because of the new transition support and a new parser for gradients (see [34637]).
See #34177 .
Built from https://develop.svn.wordpress.org/trunk@35563
git-svn-id: http://core.svn.wordpress.org/trunk@35527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-07 11:57:31 +00:00
Dominik Schilling
4c5347fe1a
Build Tools: Update grunt-postcss
to 0.7.1.
...
Change: https://github.com/nDmitry/grunt-postcss/commit/6e18c7d5
See #34177 .
Built from https://develop.svn.wordpress.org/trunk@35562
git-svn-id: http://core.svn.wordpress.org/trunk@35526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-07 11:43:34 +00:00
Andrew Ozz
72a1124c45
Responsive images: omit full size images from srcset attributes when the original file is an intermediate sized GIF so we don't accidentally add animation to an otherwise flat image. Update the tests to cover this case.
...
Props joemcgill, H-Shredder, SergeyBiryukov.
Fixes #34528 .
Built from https://develop.svn.wordpress.org/trunk@35561
git-svn-id: http://core.svn.wordpress.org/trunk@35525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-07 02:10:25 +00:00
Andrew Ozz
be44f0a3f7
Responsive images: add test for invalid size name. Remove invalid size from other tests.
...
Props jaspermdegroot.
See #33641 .
Built from https://develop.svn.wordpress.org/trunk@35560
git-svn-id: http://core.svn.wordpress.org/trunk@35524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-07 01:33:27 +00:00
Sergey Biryukov
788ea5ba5a
Reset Password: Improve wording for a string used in password reset email.
...
Props obrienlabs.
Fixes #34605 .
Built from https://develop.svn.wordpress.org/trunk@35559
git-svn-id: http://core.svn.wordpress.org/trunk@35523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-06 22:36:25 +00:00
Drew Jaynes
efdc838019
Docs: Add a missing version to the file header for wp-admin/users.php.
...
See #33701 .
Built from https://develop.svn.wordpress.org/trunk@35558
git-svn-id: http://core.svn.wordpress.org/trunk@35522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-06 21:54:33 +00:00
Sergey Biryukov
9dd3f6fb16
Remove <code>
tags from translatable strings in wp-admin/setup-config.php
.
...
Add translator comments.
Props ramiy.
Fixes #34579 .
Built from https://develop.svn.wordpress.org/trunk@35557
git-svn-id: http://core.svn.wordpress.org/trunk@35521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-06 17:22:26 +00:00
Sergey Biryukov
2583c1e4ec
Replace 7 * DAY_IN_SECONDS
with WEEK_IN_SECONDS
in get_weekstartend()
.
...
Props MikeHansenMe.
Fixes #34603 .
Built from https://develop.svn.wordpress.org/trunk@35556
git-svn-id: http://core.svn.wordpress.org/trunk@35520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-06 16:37:27 +00:00
Sergey Biryukov
5f16d19be7
Use the MONTH_IN_SECONDS
constant added in [33698] for the month representation in human_time_diff()
logic.
...
Props tyxla.
Fixes #34602 .
Built from https://develop.svn.wordpress.org/trunk@35555
git-svn-id: http://core.svn.wordpress.org/trunk@35519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-06 16:34:26 +00:00
Sergey Biryukov
7ad65267b6
Media: Avoid a PHP warning in wp_generate_attachment_metadata()
if $metadata
is not an array.
...
This was previously fixed in [25968], but accidentally reverted in [32545].
Props skithund.
Fixes #34599 .
Built from https://develop.svn.wordpress.org/trunk@35554
git-svn-id: http://core.svn.wordpress.org/trunk@35518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-06 09:25:26 +00:00
Weston Ruter
b9d9c6d3c9
Customize: Fix typo in WP_Customize_Manager::_cmp_priority()
which caused unstable sorting for same-priority constructs in PHP.
...
The issue, however, does not manifest in the UI because the UI is now built via JS and the `wp.customize.utils.prioritySort()` algorithm did not have the same typo.
Props bordoni, westonruter.
Fixes #34594 .
Built from https://develop.svn.wordpress.org/trunk@35553
git-svn-id: http://core.svn.wordpress.org/trunk@35517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-06 06:58:25 +00:00
Sergey Biryukov
cbe0cad509
Remove <code>
tags from translatable strings in wp-admin/includes/network.php
.
...
Add translator comments.
Props ramiy.
Fixes #34598 .
Built from https://develop.svn.wordpress.org/trunk@35552
git-svn-id: http://core.svn.wordpress.org/trunk@35516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-06 00:59:25 +00:00
Sergey Biryukov
d6e25c0aae
Remove <code>
tags from translatable strings in wp-admin/includes/class-wp-upgrader.php
.
...
Add translator comments.
Props ramiy.
Fixes #34580 .
Built from https://develop.svn.wordpress.org/trunk@35551
git-svn-id: http://core.svn.wordpress.org/trunk@35515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-06 00:41:25 +00:00
Sergey Biryukov
8c2ed5330a
Remove <code>
tag from translatable string in wp-admin/options-media.php
.
...
Add translator comment.
Props ramiy.
Fixes #34581 .
Built from https://develop.svn.wordpress.org/trunk@35550
git-svn-id: http://core.svn.wordpress.org/trunk@35514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-06 00:28:25 +00:00
Sergey Biryukov
387d3bca32
Add translator comments for strings in wp-admin/edit-comments.php
.
...
Props ramiy for initial patch.
Fixes #34586 .
Built from https://develop.svn.wordpress.org/trunk@35549
git-svn-id: http://core.svn.wordpress.org/trunk@35513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-06 00:23:25 +00:00
Sergey Biryukov
77b0fad640
Remove <code>
tags from translatable strings in wp-includes/class-wp-user.php
.
...
Add translator comments.
Props ramiy.
Fixes #34576 .
Built from https://develop.svn.wordpress.org/trunk@35548
git-svn-id: http://core.svn.wordpress.org/trunk@35512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-06 00:06:25 +00:00
Sergey Biryukov
a0fa0d3328
Remove <code>
tags from translatable strings in wp-load.php
.
...
Add translator comments.
Props ramiy.
Fixes #34574 .
Built from https://develop.svn.wordpress.org/trunk@35547
git-svn-id: http://core.svn.wordpress.org/trunk@35511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-05 23:59:26 +00:00
Sergey Biryukov
b5b3b0b913
Remove <code>
tag from translatable string in trackback_url()
.
...
Add translator commment.
Props ramiy.
Fixes #34573 .
Built from https://develop.svn.wordpress.org/trunk@35546
git-svn-id: http://core.svn.wordpress.org/trunk@35510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-05 23:39:25 +00:00
Sergey Biryukov
09b9fae4db
Remove <code>
tag from translatable string in the_author()
.
...
Add translator commment.
Props ramiy.
See #34573 .
Built from https://develop.svn.wordpress.org/trunk@35545
git-svn-id: http://core.svn.wordpress.org/trunk@35509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-05 23:38:27 +00:00
Sergey Biryukov
123765d9c8
I18N: Add a translator comment for the string introduced in [24758] and made translatable in [29840].
...
Props swissspidy.
See #34249 .
Built from https://develop.svn.wordpress.org/trunk@35544
git-svn-id: http://core.svn.wordpress.org/trunk@35508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-05 21:18:25 +00:00
Sergey Biryukov
a7e305b06f
Use correct placeholders in translator comments added in [35542].
...
See #34249 .
Built from https://develop.svn.wordpress.org/trunk@35543
git-svn-id: http://core.svn.wordpress.org/trunk@35507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-05 21:05:25 +00:00
Drew Jaynes
48f4b7cfc3
I18N: Add translator comments to three _doing_it_wrong()
messages added for 4.3 and 4.4.
...
Also adds a full-stop to an invalid taxonomy message introduced in [34745] and later modified in [35428] for `wp_insert_post()`.
Props pavelevap.
Fixes #34249 .
Built from https://develop.svn.wordpress.org/trunk@35542
git-svn-id: http://core.svn.wordpress.org/trunk@35506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-05 20:56:32 +00:00
Aaron Jorbin
627844ca34
Bump grunt-contrib-cssmin to 0.14.0
...
This updates the underlying version of cssmin
Fixes #34177
Built from https://develop.svn.wordpress.org/trunk@35541
git-svn-id: http://core.svn.wordpress.org/trunk@35505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-05 17:58:28 +00:00
Aaron Jorbin
63026a897c
Bump grunt-contrib-copy to 0.8.2
...
updates an underlying dependency and fixes an issue with multiple copies
see #34177
Built from https://develop.svn.wordpress.org/trunk@35540
git-svn-id: http://core.svn.wordpress.org/trunk@35504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-05 17:56:30 +00:00
Aaron Jorbin
25d8f212b7
Bump grunt-sass to 1.1.0
...
This bumps the underlying version of node-sass to 3.4.0 and libsass to 3.3.0. It causes no difference in the current sass output.
Props netweb.
See #34177 .
Built from https://develop.svn.wordpress.org/trunk@35539
git-svn-id: http://core.svn.wordpress.org/trunk@35503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-05 17:53:43 +00:00
Aaron Jorbin
d60ca2f758
Bump grunt-contrib-uglify to 0.10.0
...
This includes an update to the underlying version of uglify which causes all of the JS to be modified.
See #34177
Built from https://develop.svn.wordpress.org/trunk@35538
git-svn-id: http://core.svn.wordpress.org/trunk@35502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-05 17:47:30 +00:00
Boone Gorges
91a5e4c502
Make get_term()
behave more consistently in the context of shared terms.
...
When `WP_Term` was introduced in [34997], the `$taxonomy` parameter for
`get_term()` was made optional. This meant that, when the optional param was
omitted, `get_term()` had no way of determining which term was intended when
the term_id was shared between multiple taxonomies. As a (somewhat sneaky) way
of fixing things, `get_term()` split any shared terms it found. But this could
cause problems with developer expectations: it's not clear why requesting a
term should result in a database update, much less a potential change in the
ID of a term.
In place of this technique, this changeset introduces a number of changes that
make the handling of shared terms a bit less insane:
* When a taxonomy is provided to `get_term()`, and a cached term is found matching the term_id, make sure the taxonomy also matches before returning it.
* When a taxonomy is not provided, ensure that the term is not shared before adding it to the cache.
* When a term is shared between taxonomies and no taxonomy is provided, return a `WP_Error` rather than splitting the term.
* When a term is shared between taxonomies, only one of which is valid, return the term from that taxonomy.
Props boonebgorges, dlh.
Fixes #34533 .
Built from https://develop.svn.wordpress.org/trunk@35537
git-svn-id: http://core.svn.wordpress.org/trunk@35501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-05 16:45:25 +00:00
Sergey Biryukov
3caaa702bf
Comments: Use _n()
in get_comments_number_text()
when setting the default string for multiple comments.
...
Fixes #34593 .
Built from https://develop.svn.wordpress.org/trunk@35536
git-svn-id: http://core.svn.wordpress.org/trunk@35500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-05 15:36:28 +00:00
Weston Ruter
1a55cbe59d
Customize: Hide "Change" button in themes section if there are fewer than two available themes.
...
Props danielbachhuber, westonruter.
Fixes #34549 .
Built from https://develop.svn.wordpress.org/trunk@35535
git-svn-id: http://core.svn.wordpress.org/trunk@35499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-05 01:26:25 +00:00
Weston Ruter
e0ac4e4d05
Customize: Correct phpdoc @return
type for WP_Customize_Manager::add_dynamic_settings()
.
...
Fixes regression in [32032], where `WP_Customize_Setting[]` should have been changed to `array` instead of `WP_Customize_Setting`.
See #31888 .
Built from https://develop.svn.wordpress.org/trunk@35534
git-svn-id: http://core.svn.wordpress.org/trunk@35498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-05 00:43:24 +00:00
Gary Pendergast
84c8243514
Themes: Remove an errant comma from theme.js
.
...
Added in [35527].
See #34206 .
Built from https://develop.svn.wordpress.org/trunk@35533
git-svn-id: http://core.svn.wordpress.org/trunk@35497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-04 23:49:26 +00:00
Gary Pendergast
27df997eed
Media Library: After [35499], increase the specificity of our selectors so that they don't cause problems for the wp-admin
Media Library page.
...
Props aaronrutley.
Fixes #32005 .
Built from https://develop.svn.wordpress.org/trunk@35532
git-svn-id: http://core.svn.wordpress.org/trunk@35496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-04 23:43:26 +00:00
Dominik Schilling
2c54b0358e
After [35518] define $_POST['post_view']
in test_dont_process_terms_if_taxonomy_does_not_allow_show_on_quick_edit()
.
...
See #34577 .
Built from https://develop.svn.wordpress.org/trunk@35531
git-svn-id: http://core.svn.wordpress.org/trunk@35495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-04 23:06:24 +00:00
Scott Taylor
07bb2da0c9
Bump 4.4-beta3 (again, again)
...
Built from https://develop.svn.wordpress.org/trunk@35530
git-svn-id: http://core.svn.wordpress.org/trunk@35494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-04 22:03:24 +00:00
Scott Taylor
14aca69402
4.4-beta3 (again)
...
Built from https://develop.svn.wordpress.org/trunk@35529
git-svn-id: http://core.svn.wordpress.org/trunk@35493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-04 22:00:26 +00:00
Scott Taylor
2487cfb005
Bump 4.4-beta3
...
Built from https://develop.svn.wordpress.org/trunk@35528
git-svn-id: http://core.svn.wordpress.org/trunk@35492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-04 21:56:25 +00:00
Sergey Biryukov
a41e5d0270
Themes: Add a Favorites tab to the Add Themes screen.
...
You can now browse and install your wordpress.org theme favorites from the theme installer, just like with plugins.
Props swissspidy.
Fixes #34206 .
Built from https://develop.svn.wordpress.org/trunk@35527
git-svn-id: http://core.svn.wordpress.org/trunk@35491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-04 21:49:26 +00:00
Scott Taylor
d8b65d5582
Bump 4.4-beta3
...
Built from https://develop.svn.wordpress.org/trunk@35526
git-svn-id: http://core.svn.wordpress.org/trunk@35490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-04 21:47:26 +00:00
Scott Taylor
149f39d203
4.4-beta3
...
Built from https://develop.svn.wordpress.org/trunk@35525
git-svn-id: http://core.svn.wordpress.org/trunk@35489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-04 21:46:28 +00:00
Andrew Ozz
09c16cb4ac
Responsive images: do not generate srcset
for GIFs that are inserted at full size. Prevents breaking animated GIFs.
...
Props joemcgill.
Fixes #34528 .
Built from https://develop.svn.wordpress.org/trunk@35524
git-svn-id: http://core.svn.wordpress.org/trunk@35488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-04 21:44:25 +00:00
Andrea Fercia
3c0ed4295e
List tables: Improve the displaying of pagination links on small screens.
...
Pagination links can break in two lines on small screens. Implements a partial fix, new ideas and better solutions should be explored though.
See #33962 .
Built from https://develop.svn.wordpress.org/trunk@35523
git-svn-id: http://core.svn.wordpress.org/trunk@35487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-04 21:43:25 +00:00
Dominik Schilling
600b303668
Revert [35372] because of possible encoding issues, needs more investigation.
...
See #10373 .
Built from https://develop.svn.wordpress.org/trunk@35522
git-svn-id: http://core.svn.wordpress.org/trunk@35486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-04 21:39:26 +00:00
Aaron Jorbin
37ad21d444
Bump grunt-contrib-compress
...
Upsteam changelog: change to verbose output dependency updates Archiver 0.16
See #34177
Built from https://develop.svn.wordpress.org/trunk@35521
git-svn-id: http://core.svn.wordpress.org/trunk@35485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-04 21:36:30 +00:00
Aaron Jorbin
57a4f0841e
Bump grunt-postcss
...
See #34177
Built from https://develop.svn.wordpress.org/trunk@35520
git-svn-id: http://core.svn.wordpress.org/trunk@35484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-04 21:32:53 +00:00