Dominik Schilling (ocean90)
60f6db0c06
Embeds: Provide a site icon via srcset
for HiDPI screens.
...
Fixes #34433 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35409 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-27 20:59:37 +00:00
Dominik Schilling (ocean90)
88cdbb6a49
Embeds: Replace hardcoded error messages with get_status_header_desc( $http_code )
.
...
Fixes #34275 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35408 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-27 20:43:00 +00:00
Drew Jaynes
1353016c4f
Docs: Standardize the file header for wp-admin/includes/ms-deprecated.php.
...
See #33701 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35407 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-27 20:07:45 +00:00
Gary Pendergast
9387dff5af
Embeds: Add a CDATA and HTML comment wrapper around the JavaScript included in the embed HTML. This ensures that user agents which naively strip unwanted tags, without also stripping the content within those tages (for example, Slack), don't show the embed as a mess of JavaScript.
...
Props peterwilsoncc.
Fixes #34429 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35406 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-26 23:54:04 +00:00
Sergey Biryukov
c608146996
After [35402], don't unnecessary run wp_get_attachment_metadata()
, wp_get_attachment_image_srcset()
, and wp_get_attachment_image_sizes()
in wp_img_add_srcset_and_sizes()
.
...
See #34379 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35405 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-26 18:41:31 +00:00
Sergey Biryukov
aeca8fcfd8
After [35402], don't unnecessary run wp_get_attachment_image_srcset()
and wp_get_attachment_image_sizes()
in wp_get_attachment_image()
if srcset
is passed as an argument.
...
See #34379 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35404 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-26 18:40:01 +00:00
Drew Jaynes
c1db6a9a56
Docs: Add a @subpackage
tag to the file header for wp-admin/includes/ms-admin-filters.php.
...
See #33701 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35403 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-26 18:05:52 +00:00
Sergey Biryukov
9b29cf2574
Remove assignments from conditions in wp_get_attachment_image()
and wp_img_add_srcset_and_sizes()
.
...
See #34379 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35402 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-26 16:28:27 +00:00
Sergey Biryukov
558984a8ab
Docs: After [34453], correct inline comments in wp_get_attachment_image_sizes()
.
...
Props jaspermdegroot.
Fixes #34453 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35401 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-26 16:16:52 +00:00
Sergey Biryukov
0dd41231fa
Docs: After [35399], correct $class
parameter type and description for post_class
filter.
...
See #34452 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35400 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-26 15:11:53 +00:00
Sergey Biryukov
d8ddd686d5
In get_post_class()
, ensure that we always coerce the class list passed to the function to an array, even when it's empty.
...
This is consistent with `get_body_class()`, see [18176].
See #34452 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35399 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-26 15:08:47 +00:00
Sergey Biryukov
8a105470b4
Docs: Correct $class
parameter type and description for body_class
filter.
...
Props JPry.
Fixes #34452 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35398 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-26 15:02:53 +00:00
Sergey Biryukov
ee4e4b8ff2
Embeds: Rename TinyMCE wpoembed
plugin to wpembed
.
...
Props swissspidy.
Fixes #34272 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35397 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-26 14:49:25 +00:00
Andrea Fercia
fa29612530
Customizer: Remove the no more used add-menu-item-loading
spinner.
...
Also makes more room for longer translations.
Props dipali.dhole27@gmail.com .
Fixes #34342 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35396 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-26 13:58:53 +00:00
Gary Pendergast
6d8ecd2fd6
Embeds: Move the embed iframe script to the footer, as it isn't being run until DOMContentLoaded
is fired.
...
Props brainstormforce, pratikchaskar.
Fixes #344444 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35395 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-26 05:49:51 +00:00
Gary Pendergast
887e88d7d0
Docs: Fix a typo in the print_embed_scripts()
function header.
...
Props brainstormforce.
Fixes #34445 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35394 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-26 05:18:48 +00:00
Drew Jaynes
95be0b747f
Docs: Add missing DocBlocks for the $type
and $sidebar_id
properties, and summaries for the to_json()
and render_content()
methods in WP_Widget_Area_Customize_Control
.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35393 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-25 19:57:46 +00:00
Sergey Biryukov
ab7d3bd104
Post 4.4-beta1 version bump.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@35392 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-25 15:18:03 +00:00
Andrea Fercia
07041ae87c
Customizer: remove the title
attribute from the Preview html element while loading.
...
Props mehulkaklotar.
Fixes #33250 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35391 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-25 15:13:32 +00:00
Scott Taylor
1836e14bf2
Fix the @author
doc param encoding in Text/Diff/Engine/string
so the file is recognized as UTF-8, not ISO-8859-1.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@35390 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-24 22:44:36 +00:00
Scott Taylor
b4c270030f
Customize: move WP_Customize_Control
subclasses to wp-includes/customize
, they load in the exact same place.
...
See #34432 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35389 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-24 18:56:07 +00:00
Dominik Schilling (ocean90)
707cc2ae9e
Use correct placeholders for translator comments added in [35303].
...
See #31078 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35388 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-24 18:49:11 +00:00
Drew Jaynes
62b00c70cc
Docs: Add a version to the file header for wp-admin/includes/revision.php.
...
See #33701 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35387 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-24 18:28:10 +00:00
Scott Taylor
c43245e29d
Customize: move WP_Customize_Panel
subclass to wp-includes/customize
, it loads in the exact same place.
...
See #34432 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35386 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-24 18:24:21 +00:00
Scott Taylor
625514655e
Customize: move WP_Customize_Section
subclasses to wp-includes/customize
, they load in the exact same place.
...
See #34432 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35385 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-24 18:20:25 +00:00
Sergey Biryukov
9f0076436b
Editor: After [33927], make sure user_can_richedit()
returns true for Microsoft Edge.
...
Props usermrpapa.
Fixes #34431 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35384 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-24 18:12:10 +00:00
Scott Taylor
8541ba7907
Customize: move WP_Customize_Setting
subclasses to wp-includes/customize
, they load in the exact same place.
...
See #34432 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35383 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-24 18:10:17 +00:00
Scott Taylor
a18feed6bd
Nav Menus: show custom post type Archive item at the top of the View All
tab for the post type on the legacy Nav Menu screen.
...
Props aaroncampbell, DrewAPicture, seanchayes, hlashbrooke, paulwilde, ericlewis, raulillana
See #16075 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35382 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-24 17:45:11 +00:00
Sergey Biryukov
a97bf5b2ca
Docs: Change variable name in WP_Customize_Widgets::filter_customize_dynamic_setting_args()
DocBlock to match the actual variable.
...
Props mismith227, swissspidy.
Fixes #34426 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35381 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-24 14:41:19 +00:00
Sergey Biryukov
9da02a9155
Remove unused variable in _WP_Editors::editor()
.
...
Props Athsear.
Fixes #34427 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35380 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-24 14:31:05 +00:00
Sergey Biryukov
a001771ec4
Site Icon: Introduce get_site_icon_url
filter for the icon URL.
...
Remove `oembed_site_icon_url` filter added in [34903].
Props swissspidy.
Fixes #34411 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35379 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-23 21:16:30 +00:00
Andrew Ozz
2c1f21190d
Responsive Images: fix typo in r35358.
...
Props aduth.
See #34341 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35378 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-23 17:37:35 +00:00
Sergey Biryukov
fd19ba9cde
After [34891] and [35376], add new labels to changelog entries.
...
Props afercia.
Fixes #32147 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35377 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-23 16:53:29 +00:00
Sergey Biryukov
c7cc7c44fe
After [34891], rename new post type and taxonomy label keys to match the default strings.
...
See #32147 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35376 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-23 16:47:57 +00:00
Drew Jaynes
46ae6f1892
Docs: Syntax fixes for deprecating WP_Http::parse_url()
.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35375 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-23 15:42:51 +00:00
Sergey Biryukov
d842c03e02
Docs: Correct the type and description of $post
parameter passed to the attachment_fields_to_save
filter.
...
Props swissspidy.
Fixes #34404 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35374 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-23 13:00:11 +00:00
Sergey Biryukov
bcb1e8eda2
Docs: Use consistent naming and capitalization of menu names in add_submenu_page()
wrappers.
...
Props atomicjack, Mckilem.
Fixes #34360 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35373 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-23 12:01:11 +00:00
Sergey Biryukov
f8fa5c0e53
In WP_Locale::init()
, replace space as a thousands separator with a non-breaking space.
...
Also replace `' ` and ` ` HTML entities with the actual character, since PHP < 5.4.0 does not allow multiple bytes to be used for decimal points or thousands separators.
Fixes #10373 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35372 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-23 11:50:37 +00:00
dd32
f935d4c26b
Updates: Add a generic failure case to the ajax update endpoint for when the WP_Error
value hasn't been found.
...
See #34403
git-svn-id: https://develop.svn.wordpress.org/trunk@35371 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-23 07:34:02 +00:00
Dion Hulse
8c33fe770e
Use wp_parse_url()
in esc_url()
to avoid parsing bugs in < PHP 5.4.7.
...
Props johnbillion for unit tests
See #34408
Fixes #34202
git-svn-id: https://develop.svn.wordpress.org/trunk@35370 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-23 05:56:25 +00:00
Dion Hulse
cacd015856
WP_HTTP: Promote the WP_HTTP::parse_url()
method to a more generic wp_parse_url()
function.
...
Fixes #34408
git-svn-id: https://develop.svn.wordpress.org/trunk@35369 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-23 05:53:05 +00:00
Dion Hulse
743fe671f1
Comments: Use a full URL rather than a relative one for links which can contain IPv6 addresses to avoid an issue where the URL was being eaten by escaping functions.
...
See #34407 , #34202
Fixes #34054
git-svn-id: https://develop.svn.wordpress.org/trunk@35368 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-23 05:13:27 +00:00
Dion Hulse
f70e623991
XMLRPC: Revert the changes to WP_XMLRPC_UnitTestCase
in [35366] as they weren't required.
...
See #34336
git-svn-id: https://develop.svn.wordpress.org/trunk@35367 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-23 04:49:08 +00:00
Dion Hulse
75ab50c70e
XMLRPC: Prevent authentication from occuring after a failed authentication attmept in any single XML-RPC call.
...
This hardens WordPress against a common vector which uses multiple user identifiers in a single `system.multicall` call. In the event that authentication fails, all following authentication attempts ''in that call'' will also fail.
Props dd32, johnbillion.
Fixes #34336
git-svn-id: https://develop.svn.wordpress.org/trunk@35366 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-23 04:45:10 +00:00
Dion Hulse
3a992e266f
Update to Random_Compat 1.0.9.
...
This update includes fixes for Windows support & libSodium support, and removes the `Throwable` Polyfill due to PHP7 incompatibilities.
Fixes #28633
git-svn-id: https://develop.svn.wordpress.org/trunk@35365 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-23 04:21:01 +00:00
Dion Hulse
b89670b0f6
Update variable naming after [35279].
...
See #29957 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35364 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-23 02:00:21 +00:00
Aaron Jorbin
21b29ebf5e
Bump grunt-contrib-jshint to 0.11.3
...
This bumps the included jshint to 2.8.0 from 2.6.0
See #34177
git-svn-id: https://develop.svn.wordpress.org/trunk@35363 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-23 01:09:03 +00:00
Scott Taylor
a77a05447c
4.4-beta1
...
git-svn-id: https://develop.svn.wordpress.org/trunk@35362 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-22 21:44:57 +00:00
Scott Taylor
c6354d6bfd
Plugins: after [35151], set default $restrict_network_*
values to prevent notices.
...
Props johnjamesjacoby.
Fixes #20104 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35361 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-22 19:55:30 +00:00
Scott Taylor
9aba8ef2aa
Options: remove old 'gzipcompression' and 'advanced_edit' options.
...
Props chriscct7, solarissmoke.
Fixes #12996 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35360 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-22 19:48:38 +00:00