WordPress/wp-includes
Gary Pendergast 48e83418ed When wp_json_encode() calls json_encode(), the latter will generate warnings if the string contains non-UTF-8 characters. No-one likes warnings, so we need to do something about that.
The good news is, the point of `wp_json_encode()` is to handle those non-UTF-8 characters. It'll totally just fix them up, no problem.

Anyway, we can just ignore those warnings.

Fixes #33524.


Built from https://develop.svn.wordpress.org/trunk@33747


git-svn-id: http://core.svn.wordpress.org/trunk@33715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-26 03:26:21 +00:00
..
certificates
css
fonts
ID3
images
js Media: 2015-08-25 12:13:23 +00:00
pomo
SimplePie SimplePie: Fix use of DOMElement as array. 2013-09-11 04:02:10 +00:00
Text
theme-compat
admin-bar.php
atomlib.php
author-template.php
bookmark-template.php
bookmark.php
cache.php Docs: Standardize @deprecated tag formatting in the DocBlock for WP_Object_Cache:reset(). 2015-08-20 22:39:24 +00:00
canonical.php
capabilities.php Capabilities: Fall back to the edit_posts capability for orphaned comments. 2015-08-13 22:31:24 +00:00
category-template.php In Walker_CategoryDropdown::start_el(), cast values to strings before deciding whether to append 'selected' attribute. 2015-08-21 01:11:26 +00:00
category.php
class-feed.php
class-http.php
class-IXR.php
class-json.php
class-oembed.php Add oEmbed support for ReverbNation. 2015-08-26 00:29:21 +00:00
class-phpass.php
class-phpmailer.php
class-pop3.php
class-simplepie.php
class-smtp.php
class-snoopy.php
class-wp-admin-bar.php
class-wp-ajax-response.php
class-wp-customize-control.php foreach is a statement, not a function. 2015-08-25 20:28:22 +00:00
class-wp-customize-manager.php
class-wp-customize-nav-menus.php Customizer: Use existing decoupled strings in Menu Locations section. See [31941] and [31951]. 2015-08-25 21:53:20 +00:00
class-wp-customize-panel.php Customizer: Switch buttons to match the focus order with the visual order. 2015-07-29 22:10:24 +00:00
class-wp-customize-section.php
class-wp-customize-setting.php Customizer: Ensure that all existing menus are shown in the Custom Menu widget's dropdown. 2015-07-29 16:03:24 +00:00
class-wp-customize-widgets.php Customizer: Use hash_equals() for widgets. 2015-08-04 04:51:50 +00:00
class-wp-editor.php In _WP_Editors::editor_settings(), $first_run is unused. 2015-08-21 18:30:24 +00:00
class-wp-embed.php foreach is a statement, not a function. 2015-08-25 20:28:22 +00:00
class-wp-error.php
class-wp-http-ixr-client.php
class-wp-image-editor-gd.php
class-wp-image-editor-imagick.php
class-wp-image-editor.php foreach is a statement, not a function. 2015-08-25 20:28:22 +00:00
class-wp-theme.php
class-wp-walker.php foreach is a statement, not a function. 2015-08-25 20:28:22 +00:00
class-wp-widget-factory.php Widgets: move classes into their own files, widgets.php loads the new files, so this is 100% BC if someone is loading widgets.php directly. New files created using svn cp. 2015-08-26 02:40:23 +00:00
class-wp-widget.php Widgets: move classes into their own files, widgets.php loads the new files, so this is 100% BC if someone is loading widgets.php directly. New files created using svn cp. 2015-08-26 02:40:23 +00:00
class-wp-xmlrpc-server.php foreach is a statement, not a function. 2015-08-25 20:28:22 +00:00
class-wp.php foreach is a statement, not a function. 2015-08-25 20:28:22 +00:00
class.wp-dependencies.php foreach is a statement, not a function. 2015-08-25 20:28:22 +00:00
class.wp-scripts.php
class.wp-styles.php
comment-template.php
comment.php foreach is a statement, not a function. 2015-08-25 20:28:22 +00:00
compat.php
cron.php
date.php
default-constants.php After [33698], wrap the time constants in a DocBlock template. 2015-08-25 21:21:21 +00:00
default-filters.php Term splitting routine should be run in a separate process, triggered via wp-cron. 2015-08-14 03:59:26 +00:00
default-widgets.php Customizer: Ensure that all existing menus are shown in the Custom Menu widget's dropdown. 2015-07-29 16:03:24 +00:00
deprecated.php Docs: Standardize @deprecated tag formatting and add missing DocBlock summaries to deprecated functions in wp-includes/deprecated.php. 2015-08-20 22:11:26 +00:00
feed-atom-comments.php
feed-atom.php
feed-rdf.php
feed-rss2-comments.php
feed-rss2.php
feed-rss.php
feed.php Site icon: Rearrange function parameters to avoid frequently passing empty values. 2015-08-10 20:15:26 +00:00
formatting.php foreach is a statement, not a function. 2015-08-25 20:28:22 +00:00
functions.php When wp_json_encode() calls json_encode(), the latter will generate warnings if the string contains non-UTF-8 characters. No-one likes warnings, so we need to do something about that. 2015-08-26 03:26:21 +00:00
functions.wp-scripts.php
functions.wp-styles.php
general-template.php Site Icon: Improvements to Site Icon API. 2015-08-11 16:25:27 +00:00
http.php
kses.php Allow these CSS properties in KSES: min-height', 'max-height', 'min-width', 'max-width' 2015-08-25 21:46:20 +00:00
l10n.php foreach is a statement, not a function. 2015-08-25 20:28:22 +00:00
link-template.php In get_home_url(), import the $pagenow global to avoid having to check if it exists before comparing against it. 2015-08-25 21:03:20 +00:00
load.php Pinking shears. 2015-08-17 21:39:25 +00:00
locale.php
media-template.php Media: 2015-08-25 12:13:23 +00:00
media.php Ensure that attachment_url_to_postid() matches cross-scheme when front-end and back-end schemes are different. 2015-08-22 16:39:25 +00:00
meta.php Docs: Correct the phpDoc type to a boolean for the $single parameter in the get_{$meta_type}_metadata hook docs. 2015-08-20 19:36:25 +00:00
ms-blogs.php
ms-default-constants.php
ms-default-filters.php
ms-deprecated.php Docs: Standardize @deprecated tag formatting and add missing summaries to deprecated functions in wp-includes/ms-deprecated.php. 2015-08-20 22:36:25 +00:00
ms-files.php
ms-functions.php
ms-load.php
ms-settings.php
nav-menu-template.php Customizer: Restore default fallback_cb arg for wp_nav_menu() calls in customizer preview. 2015-08-04 21:57:25 +00:00
nav-menu.php foreach is a statement, not a function. 2015-08-25 20:28:22 +00:00
option.php Pass option name to option and transient filters with dynamic names. 2015-08-25 21:42:20 +00:00
pluggable-deprecated.php Docs: Standardize @deprecated tag formatting for deprecated functions in wp-includes/pluggable-deprecated.php. 2015-08-20 22:15:25 +00:00
pluggable.php Add 'wp_verify_nonce_failed' action that fires when nonce verification fails. 2015-08-26 00:06:21 +00:00
plugin.php foreach is a statement, not a function. 2015-08-25 20:28:22 +00:00
post-formats.php foreach is a statement, not a function. 2015-08-25 20:28:22 +00:00
post-template.php In wp_get_attachment_link(), accept an id or WP_Post as the first parameter. 2015-08-20 20:32:26 +00:00
post-thumbnail-template.php
post.php foreach is a statement, not a function. 2015-08-25 20:28:22 +00:00
query.php foreach is a statement, not a function. 2015-08-25 20:28:22 +00:00
registration-functions.php
registration.php
revision.php foreach is a statement, not a function. 2015-08-25 20:28:22 +00:00
rewrite.php
rss-functions.php
rss.php foreach is a statement, not a function. 2015-08-25 20:28:22 +00:00
script-loader.php Editor: word count: Remove indentation from the translator comment. 2015-07-30 17:08:24 +00:00
session.php
shortcodes.php foreach is a statement, not a function. 2015-08-25 20:28:22 +00:00
taxonomy.php Term Splitting: Switch to a faster cron unschedule process to benefit sites with thousands of affected jobs. Fix the cron hook name in the failsafe rescheduler. 2015-08-25 04:32:21 +00:00
template-loader.php
template.php
theme.php Clarify doc entry for _wp_customize_include() 2015-08-21 17:45:25 +00:00
update.php
user.php Docs: Clarify the return description for wp_create_user() to illustrate that a WP_Error object will be returned on failure. 2015-08-24 22:23:24 +00:00
vars.php
version.php When wp_json_encode() calls json_encode(), the latter will generate warnings if the string contains non-UTF-8 characters. No-one likes warnings, so we need to do something about that. 2015-08-26 03:26:21 +00:00
widget-functions.php Widgets: move classes into their own files, widgets.php loads the new files, so this is 100% BC if someone is loading widgets.php directly. New files created using svn cp. 2015-08-26 02:40:23 +00:00
widgets.php Widgets: move classes into their own files, widgets.php loads the new files, so this is 100% BC if someone is loading widgets.php directly. New files created using svn cp. 2015-08-26 02:40:23 +00:00
wlwmanifest.xml
wp-db.php foreach is a statement, not a function. 2015-08-25 20:28:22 +00:00
wp-diff.php