WordPress/wp-admin
Gary Pendergast 7e93e28784 Export: Create an export-specific filter for post titles.
Since WordPress 2.5 and 2.6, `post_content` and `post_excerpt` have both had export-specific filters: `the_content_export`, and `the_excerpt_export`, respectively. `post_title`, however, has used `the_title_rss`, which behaves differently in two important ways:

- It strips HTML tags from the string.
- It HTML-encodes the title string.

These behaviours are not ideal for exports, since it changes the post title, resulting in data loss in export files, and incorrect post duplicate matching on import. This changes replaces the usage of `the_title_rss` with a new filter, `the_title_export`. The new filter is intended to be used in the same as `the_content_export` and `the_excerpt_export`.

Props jmdodd, audrasjb.
Fixes #52250.


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


git-svn-id: http://core.svn.wordpress.org/trunk@49712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-25 00:09:59 +00:00
..
css Build/Test Tools: Update CSS files after grunt precommit:css. 2021-01-20 19:07:00 +00:00
images About: Optimize freedoms sprite and add 2 column layout. 2020-11-02 19:46:14 +00:00
includes Export: Create an export-specific filter for post titles. 2021-01-25 00:09:59 +00:00
js External Libraries: First pass at fixing jQuery deprecations in WordPress core and bundled themes. 2021-01-22 12:32:03 +00:00
maint Database: Check the correct value for displaying the "Successfully repaired table" or "Failed to repair" messages on Database Repair screen. 2020-12-04 15:50:12 +00:00
network I18N: Add context for the Public string in site attributes list on Edit Site screen. 2021-01-15 17:39:12 +00:00
user
about.php Help/About: Use CDN URLs for About page images. 2020-12-08 17:02:06 +00:00
admin-ajax.php Site Health, REST API: Move async tests to REST API endpoints. 2020-10-15 02:00:08 +00:00
admin-footer.php
admin-functions.php
admin-header.php Coding standards: Modify escaping functions to avoid potential false positives. 2020-10-29 18:03:11 +00:00
admin-post.php
admin.php
async-upload.php General: Replace older-style PHP type conversion functions with type casts. 2020-10-08 21:15:13 +00:00
authorize-application.php App Passwords: Extract Basic Auth check into a reusable filterable function. 2021-01-24 02:57:59 +00:00
comment.php Docs: Update the URL for PHP date formats table in translator comments. 2020-09-18 10:37:08 +00:00
credits.php Help/About: WordPress 5.6 About Page. 2020-11-17 21:34:04 +00:00
custom-background.php
custom-header.php
customize.php
edit-comments.php Quick/Bulk Edit: By the power vested in me, I hereby declare the top bulk actions and the bottom bulk actions joined forever in MatrimonyScript. 2021-01-07 16:23:07 +00:00
edit-form-advanced.php Docs: Update the URL for PHP date formats table in translator comments. 2020-09-18 10:37:08 +00:00
edit-form-blocks.php Editor: Hide Screen Options tab from block editor 2020-09-24 03:00:08 +00:00
edit-form-comment.php Docs: Update the URL for PHP date formats table in translator comments. 2020-09-18 10:37:08 +00:00
edit-link-form.php
edit-tag-form.php Docs: Fix and upgrade various object docblock notations. 2020-10-17 16:05:09 +00:00
edit-tags.php Coding Standards: Split long printf() calls for search results for better readability. 2020-10-23 17:19:14 +00:00
edit.php Coding Standards: Split long printf() calls for search results for better readability. 2020-10-23 17:19:14 +00:00
erase-personal-data.php Privacy: Improve clarity of privacy error strings. 2020-10-04 03:23:09 +00:00
export-personal-data.php
export.php External Libraries: First pass at fixing jQuery deprecations in WordPress core and bundled themes. 2021-01-22 12:32:03 +00:00
freedoms.php Help/About: WordPress 5.6 About Page. 2020-11-17 21:34:04 +00:00
import.php
index.php Help/About: Add Site Health Status dashboard widget to the Help → Content tab. 2020-11-10 19:05:10 +00:00
install-helper.php
install.php
link-add.php
link-manager.php Coding Standards: Split long printf() calls for search results for better readability. 2020-10-23 17:19:14 +00:00
link-parse-opml.php
link.php Coding Standards: Replace alias PHP functions with the canonical names. 2020-10-18 17:27:06 +00:00
load-scripts.php
load-styles.php
media-new.php Coding standards: Modify escaping functions to avoid potential false positives. 2020-10-29 18:03:11 +00:00
media-upload.php General: Replace older-style PHP type conversion functions with type casts. 2020-10-08 21:15:13 +00:00
media.php
menu-header.php Coding Standards: Replace alias PHP functions with the canonical names. 2020-10-18 17:27:06 +00:00
menu.php Docs: Update the reference to Appearance → Theme Editor admin menu item in the inline documentation. 2020-12-18 15:46:04 +00:00
moderation.php
ms-admin.php
ms-delete-site.php Docs: Various docblock improvements related to user and site signup functionality. 2020-09-30 21:54:07 +00:00
ms-edit.php
ms-options.php
ms-sites.php
ms-themes.php
ms-upgrade-network.php
ms-users.php
my-sites.php
nav-menus.php Administration: Better targeting for required form field highlighting. 2020-10-23 15:05:09 +00:00
network.php
options-discussion.php
options-general.php Docs: Update the URL for PHP date formats table in translator comments. 2020-09-18 10:37:08 +00:00
options-head.php
options-media.php
options-permalink.php
options-privacy.php Privacy: Improve clarity of privacy error strings. 2020-10-04 03:23:09 +00:00
options-reading.php Help/About: Clarify that discouraging search engines does not prevent them from crawling the site. 2020-10-23 18:07:13 +00:00
options-writing.php Docs: Second pass at replacing Codex URLs with a corresponding HelpHub or DevHub article. 2020-12-29 20:14:11 +00:00
options.php
plugin-editor.php Accessibility: Administration: Remove <strong> tags from labels on plugin/theme editor screens. 2021-01-13 14:08:10 +00:00
plugin-install.php
plugins.php Plugins: Check if _error_nonce is set before attempting to verify it. 2020-11-23 13:36:07 +00:00
post-new.php
post.php Posts, Post Types: Switch to restoring posts to draft status by default when they are untrashed. 2020-10-11 13:39:07 +00:00
press-this.php
privacy-policy-guide.php Privacy: Improve clarity of privacy error strings. 2020-10-04 03:23:09 +00:00
privacy.php Accessibility: Help/About: Use more descriptive link text for the Privacy Policy link on the Privacy screen. 2021-01-07 16:09:08 +00:00
profile.php
revision.php Text Changes: Unify various "Back to..." vs. "Return to..." vs. "Go to..." strings. 2020-11-09 10:53:10 +00:00
setup-config.php Docs: Upgrade more parameters in docblocks to used typed array notation. 2020-11-24 21:27:05 +00:00
site-health-info.php
site-health.php Site Health: Validate the test result data format in JS before using it. 2020-11-08 09:52:10 +00:00
term.php
theme-editor.php Accessibility: Administration: Remove <strong> tags from labels on plugin/theme editor screens. 2021-01-13 14:08:10 +00:00
theme-install.php
themes.php Customize: Update button label reference in themes help text to reflect the label introduced in [41626]. 2021-01-17 17:01:08 +00:00
tools.php
update-core.php Upgrade/Install: Display version number on the "Re-install now" button on WordPress Updates screen. 2021-01-19 16:48:07 +00:00
update.php
upgrade-functions.php
upgrade.php
upload.php Coding Standards: Split long printf() calls for search results for better readability. 2020-10-23 17:19:14 +00:00
user-edit.php App Passwords: Extract Basic Auth check into a reusable filterable function. 2021-01-24 02:57:59 +00:00
user-new.php Coding Standards: Remove unused $current_role variable from Add New User form. 2020-10-24 12:49:05 +00:00
users.php Quick/Bulk Edit: By the power vested in me, I hereby declare the top bulk actions and the bottom bulk actions joined forever in MatrimonyScript. 2021-01-07 16:23:07 +00:00
widgets.php Accessibility: Widgets: Add a "Cancel" link when editing a widget in accessibility mode. 2020-10-09 15:53:08 +00:00