WordPress/wp-admin
Sergey Biryukov 57da3e7813 Coding Standards: Remove unnecessary unset() calls in WP_Importer methods.
Variables created within the scope of a function are discarded automatically when PHP leaves the scope of the function, i.e. on `return`, so doing a call to `unset()` straight before a `return` statement is redundant.

Props jrf, ravipatel, rachelbaker, mukesh27.
Fixes #52996.
Built from https://develop.svn.wordpress.org/trunk@50692


git-svn-id: http://core.svn.wordpress.org/trunk@50301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-08 11:12:08 +00:00
..
css Accessibility: Administration: Update various background colors for increased contrast. 2021-04-07 16:38:09 +00:00
images Help/About: WordPress 5.7 About Page. 2021-02-23 18:41:05 +00:00
includes Coding Standards: Remove unnecessary unset() calls in WP_Importer methods. 2021-04-08 11:12:08 +00:00
js Build/Test Tools: Update some dependencies. 2021-04-06 14:31:21 +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 Coding Standards: Add a space before / character in some self-closing HTML tags. 2021-03-20 18:30:08 +00:00
user
about.php Help/About: Run image comparison script after all assets have loaded. 2021-03-15 19:51:09 +00:00
admin-ajax.php Login and Registration: Improve the UX of the Reset Password screen. 2021-02-02 18:13:04 +00:00
admin-footer.php Coding Standards: Use strict comparison for JS fragment in some admin files. 2021-03-18 14:13:08 +00:00
admin-functions.php
admin-header.php Block Editor: Remove the .is-dark-theme body class from the admin header. 2021-02-02 13:05:02 +00:00
admin-post.php
admin.php
async-upload.php Docs: Add examples of possible names for various hooks whose name contains a dynamic portion. 2021-03-07 12:32:09 +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
credits.php Help/About: Use absolute URLs for inline images on About pages. 2021-03-11 21:38:08 +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
edit-form-blocks.php Editor: Update the default writing prompt to match the block editor. 2021-04-02 16:08:04 +00:00
edit-form-comment.php
edit-link-form.php Posts, Post Types: Update the styling of the legacy Links editing screen. 2021-02-16 18:50:03 +00:00
edit-tag-form.php Coding Standards: Add a space before / character in some self-closing HTML tags. 2021-03-20 18:30:08 +00:00
edit-tags.php Docs: Add examples of possible names for various hooks whose name contains a dynamic portion. 2021-03-07 12:32:09 +00:00
edit.php Posts, Post Types: Remove / from non-self-closing "clear" div tags. 2021-03-25 19:33:04 +00:00
erase-personal-data.php I18N: Remove extra spaces from translatable strings in Privacy help tabs. 2021-02-21 16:04:11 +00:00
export-personal-data.php I18N: Remove extra spaces from translatable strings in Privacy help tabs. 2021-02-21 16:04:11 +00:00
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: Use absolute URLs for inline images on About pages. 2021-03-11 21:38:08 +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 Coding Standards: Move some translator comments to the correct place. 2021-03-21 13:13:03 +00:00
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
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 Docs: Add examples of possible names for various hooks whose name contains a dynamic portion. 2021-03-07 12:32:09 +00:00
media.php
menu-header.php
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
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
options-head.php
options-media.php
options-permalink.php Permalinks: Don't show "You should update your .htaccess file now" message when saving permalink settings on Multisite. 2020-08-02 12:57:08 +00:00
options-privacy.php Coding Standards: Removing unnecessary parentheses from require_once in wp-admin/options-privacy.php. 2021-04-01 15:36:08 +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 Coding Standards: Add missing semicolon to some endif keywords. 2021-03-21 13:05:04 +00:00
plugin-editor.php Administration: Remove italic text to improve readability. 2021-01-27 21:03:57 +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 Block Editor: Use a unique name for the nonce of the custom fields toggle form. 2021-02-08 21:39:16 +00:00
press-this.php
privacy-policy-guide.php Privacy: Redesign the Privacy settings pages. 2021-02-02 20:14:03 +00:00
privacy.php Help/About: Use absolute URLs for inline images on About pages. 2021-03-11 21:38: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 Security, Site Health: Make migrating a site to HTTPS a one-click interaction. 2021-02-02 00:10:01 +00:00
term.php
theme-editor.php Administration: Remove italic text to improve readability. 2021-01-27 21:03:57 +00:00
theme-install.php Docs: Add examples of possible names for various hooks whose name contains a dynamic portion. 2021-03-07 12:32:09 +00:00
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 Privacy: Redesign the Privacy settings pages. 2021-02-02 20:14:03 +00:00
update-core.php Coding Standards: Add a space before / character in some self-closing HTML tags. 2021-03-20 18:30:08 +00:00
update.php
upgrade-functions.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
upgrade.php Coding Standards: Move some translator comments to the correct place. 2021-03-21 13:13:03 +00:00
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 Users: Give the Password Reset table row its own wrapper class. 2021-02-23 14:35:03 +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 Posts, Post Types: Remove / from non-self-closing "clear" div tags. 2021-03-25 19:33:04 +00:00
widgets.php