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
Drew Jaynes
68c5efb7f3
Docs: Add a proper file header to wp-admin/includes/continents-cities.php.
...
See #33701 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35359 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-22 19:42:23 +00:00
Andrew Ozz
5aa7a8ce78
Responsive Images: limit the size of images included in srcset
attributes. Introduce max_srcset_image_width
filter to adjust the limit.
...
Props joemcgill.
Fixes #34341 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35358 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-22 19:30:12 +00:00
Helen Hou-Sandi
7adf6e9125
List tables: Move the view mode switcher into screen options for posts.
...
Having a view mode switcher nestled within table navigation makes no sense, especially now that it's a sticky user option. While less convenient for frequent switching, there is no evidence as of yet that there is a large userbase of frequent view mode switchers.
Introduces a filter for `view_mode_post_types`, which by default is all hierarchical post types with edit UI on.
props Oxymoron.
fixes #22222 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35357 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-22 19:24:10 +00:00
Scott Taylor
a37f75eb87
oEmbed: add Reddit Comments as a provider
...
Docs: https://github.com/reddit/reddit/wiki/oEmbed
Props swissspidy.
Fixes #31752 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35356 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-22 18:16:12 +00:00
Scott Taylor
6a3b784104
Media: in wp_get_attachment_image_sizes()
, to streamline and for performance:
...
* Change the 3rd arg from `args` to `width`
* Change `wp_image_sizes_args` filter to `wp_get_attachment_image_sizes`
Updates unit tests.
Props joemcgill.
Fixes #34379 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35355 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-22 16:45:37 +00:00
Scott Taylor
a19a0e6e72
oEmbed: if SimpleXMLElement
does not exist, return an HTTP Error 501 Not implemented
response.
...
Props swissspidy.
Fixes #34274 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35354 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-22 16:37:31 +00:00
Scott Taylor
ff49cc7ebf
REST API: don't load wp-admin/includes/admin.php
on every request.
...
Props swissspidy.
Fixes #34395 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35353 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-22 16:28:40 +00:00
Sergey Biryukov
54c840dc04
Docs: Correct description for _wp_post_revision_fields()
arguments.
...
See #13382 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35352 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-22 12:16:48 +00:00
John Blackbourn
1691563872
Force the REST API URL to use https
for its scheme when the current request is served over HTTPS and the host name matches that of the REST API URL.
...
This allows sites to use an admin area over HTTPS with the front end over HTTP, and not end up with a cross-protocol problem when using the REST API URL in the admin area.
Fixes #34299
git-svn-id: https://develop.svn.wordpress.org/trunk@35351 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-22 00:07:36 +00:00
John Blackbourn
82cb793355
Initialise $_SERVER['SERVER_NAME']
during the test bootstrap to avoid individual tests having to do it.
...
Fixes #34394
git-svn-id: https://develop.svn.wordpress.org/trunk@35350 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-21 23:51:45 +00:00
John Blackbourn
2e1b898077
Revert [34352], pending investigation.
...
See #34299
git-svn-id: https://develop.svn.wordpress.org/trunk@35349 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-21 23:05:43 +00:00
John Blackbourn
5f8d0870a2
Remove the explicit Imagick extension test.
...
See #34087
git-svn-id: https://develop.svn.wordpress.org/trunk@35348 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-21 22:40:48 +00:00
John Blackbourn
2c3c286b84
Correctly use WP_TESTS_EMAIL
in email tests.
...
See #761 , #34000
git-svn-id: https://develop.svn.wordpress.org/trunk@35347 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-21 22:33:53 +00:00
John Blackbourn
20eb6402fd
Correct some more tests which were using example.org
instead of WP_TESTS_DOMAIN
.
...
See #33641 , #34000
git-svn-id: https://develop.svn.wordpress.org/trunk@35346 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-21 22:21:51 +00:00
John Blackbourn
63748f2d67
Provide a more helpful failure message when Imagick isn't installed. Skipping the tests isn't really an option because Imagick's presence affects several other tests too.
...
See #34087
git-svn-id: https://develop.svn.wordpress.org/trunk@35345 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-21 22:10:43 +00:00