Wordpress/src/wp-admin/includes
Dion Hulse 28ab6b9578 Media: Allow `media_sideload_image()` to work when the upload directory is a PHP Stream. Using copy() instead of rename() allows the function to work across different stream sources.
Props mattheu.
Fixes #29257


git-svn-id: https://develop.svn.wordpress.org/trunk@35579 602fd350-edb4-49c9-b593-d223f7449a82
2015-11-09 00:44:01 +00:00
..
admin-filters.php Docs: wp-admin/includes/admin-filters.php is part of the Administration subpackage, update the summary. 2015-10-14 22:34:55 +00:00
admin.php Docs: Add a version and standardize the file header summary for wp-admin/includes/admin.php. 2015-10-14 22:31:55 +00:00
ajax-actions.php Themes: Add a Favorites tab to the Add Themes screen. 2015-11-04 21:48:43 +00:00
bookmark.php Docs: Fix third-person singular verbs for summaries in wp-admin/includes/bookmarks.php. 2015-10-14 23:24:46 +00:00
class-ftp-pure.php Updates: FTP/PemFTP Library: Remove the usage of deprecated regular expression functions (ereg replaced by PCRE). 2015-09-18 08:19:18 +00:00
class-ftp-sockets.php Updates: FTP/PemFTP Library: Remove the usage of deprecated regular expression functions (ereg replaced by PCRE). 2015-09-18 08:19:18 +00:00
class-ftp.php Updates: FTP: Add a missing PCRE modifer in [34281]. 2015-09-18 08:22:17 +00:00
class-pclzip.php Deprecate php4 style constructors 2015-06-28 15:26:41 +00:00
class-walker-category-checklist.php Docs: Clarify the file header summary for wp-admin/includes/class-walker-category-checklist.php, introduced in [34241]. 2015-09-22 14:32:20 +00:00
class-walker-nav-menu-checklist.php Docs: `Walker_Nav_Menu_Checklist` and `Walker_Nav_Menu_Edit` are part of the Navigation Menu API, but intended for use in the scope of administration. 2015-10-15 17:25:11 +00:00
class-walker-nav-menu-edit.php 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. 2015-10-24 17:45:11 +00:00
class-wp-comments-list-table.php Docs: Document use of the `$comment_status` global in the DocBlock for `WP_Comments_List_Table::handle_row_actions()`. 2015-11-02 21:32:14 +00:00
class-wp-filesystem-base.php Add `@access` docs to `class-wp-filesystem-*` files. 2015-09-10 01:20:58 +00:00
class-wp-filesystem-direct.php Add `@access` docs to `class-wp-filesystem-*` files. 2015-09-10 01:20:58 +00:00
class-wp-filesystem-ftpext.php Filesystem: in `WP_Filesystem_FTPext::parselisting()`, check for the existence of `$b['islink']` before using it. 2015-10-31 20:16:32 +00:00
class-wp-filesystem-ftpsockets.php Docs: Add a summary, version, and parameter and return descriptions to the DocBlock for `WP_Filesystem_ftpsockets::get_contents()`. 2015-09-24 14:21:50 +00:00
class-wp-filesystem-ssh2.php Docs: Use 3-digit, x.x.x-style semantic versioning in the DocBlocks for `post_form_autocomplete_off()` and `WP_Filesystem_SSH2::sftp_path()`. 2015-10-31 13:15:01 +00:00
class-wp-importer.php Docs: Add missing descriptions for the `$wpdb` global in DocBlocks all the places. 2015-10-14 23:43:10 +00:00
class-wp-internal-pointers.php Docs: Clarify the file header summary for wp-admin/includes/class-wp-internal-pointers.php, introduced in [34241]. 2015-09-22 14:34:55 +00:00
class-wp-links-list-table.php Docs: Add missing file headers to the list table classes and adjust class DocBlocks accordingly. 2015-10-17 15:12:48 +00:00
class-wp-list-table.php List Tables: to ensure that `get_primary_column_name()` can match columns that were added via the `"manage_{$screen->id}_columns"` filer, call `get_column_headers()` instead of `$this->get_columns()`. 2015-11-07 15:26:05 +00:00
class-wp-media-list-table.php Docs: Add missing file headers to the list table classes and adjust class DocBlocks accordingly. 2015-10-17 15:12:48 +00:00
class-wp-ms-sites-list-table.php Docs: Add missing file headers to the list table classes and adjust class DocBlocks accordingly. 2015-10-17 15:12:48 +00:00
class-wp-ms-themes-list-table.php Docs: Add missing file headers to the list table classes and adjust class DocBlocks accordingly. 2015-10-17 15:12:48 +00:00
class-wp-ms-users-list-table.php Docs: Add missing file headers to the list table classes and adjust class DocBlocks accordingly. 2015-10-17 15:12:48 +00:00
class-wp-plugin-install-list-table.php Docs: Add missing file headers to the list table classes and adjust class DocBlocks accordingly. 2015-10-17 15:12:48 +00:00
class-wp-plugins-list-table.php Replace a second instance of `<code>` in translatable string left in [35440]. 2015-10-30 01:55:49 +00:00
class-wp-post-comments-list-table.php Docs: Add missing file headers to the list table classes and adjust class DocBlocks accordingly. 2015-10-17 15:12:48 +00:00
class-wp-posts-list-table.php List Tables: Define the global `$mode` variable for Quick Edit savings. 2015-11-04 21:28:55 +00:00
class-wp-press-this.php Press This: Make the regular expressions for matching images easier to read by not requiring escaping. 2015-10-01 05:15:05 +00:00
class-wp-screen.php View mode is only a screen option for posts lists. 2015-10-30 21:02:35 +00:00
class-wp-site-icon.php Site Icon: Get site icon ID only when needed. 2015-10-20 18:22:41 +00:00
class-wp-terms-list-table.php Docs: Add missing file headers to the list table classes and adjust class DocBlocks accordingly. 2015-10-17 15:12:48 +00:00
class-wp-theme-install-list-table.php Accessibility: add missing `alt` attributes to a gaggle of `<img>`s. 2015-11-07 16:11:38 +00:00
class-wp-themes-list-table.php Docs: Add missing file headers to the list table classes and adjust class DocBlocks accordingly. 2015-10-17 15:12:48 +00:00
class-wp-upgrader-skins.php Bump H4 headings to H2 in the Updates screen for better accessibility. 2015-10-16 15:44:49 +00:00
class-wp-upgrader.php Remove `<code>` tags from translatable strings in `wp-admin/includes/class-wp-upgrader.php`. 2015-11-06 00:40:09 +00:00
class-wp-users-list-table.php Docs: Add missing file headers to the list table classes and adjust class DocBlocks accordingly. 2015-10-17 15:12:48 +00:00
comment.php Docs: Add a version to the file header for wp-admin/includes/comment.php. 2015-10-18 14:33:31 +00:00
continents-cities.php Docs: Add a proper file header to wp-admin/includes/continents-cities.php. 2015-10-22 19:42:23 +00:00
credits.php Move ad hoc functions from `wp-admin/credits.php` to `wp-admin/includes/credits.php`, which is only included by the former. 2015-09-11 04:54:20 +00:00
dashboard.php Don't use `<a>` in translatable strings in `wp-admin/includes/dashboard.php'. 2015-10-30 01:32:17 +00:00
deprecated.php Docs: Add missing method summaries for the deprecated `WP_User_Search` class, including `prepare_query()`, `query()`, `prepare_vars_for_template_usage()`, `do_paging()`, and `get_results()`. 2015-10-05 02:34:47 +00:00
edit-tag-messages.php Don't redirect to the Term list table after submitting the form on the Edit Term page. 2015-09-15 15:58:04 +00:00
export.php Docs: Add missing descriptions for the `$wpdb` global in DocBlocks all the places. 2015-10-14 23:43:10 +00:00
file.php Media: Allow `media_sideload_image()` to work when the upload directory is a PHP Stream. Using copy() instead of rename() allows the function to work across different stream sources. 2015-11-09 00:44:01 +00:00
image-edit.php Accessibility: add missing `alt` attributes to a gaggle of `<img>`s. 2015-11-07 16:11:38 +00:00
image.php Media: Avoid a PHP warning in `wp_generate_attachment_metadata()` if `$metadata` is not an array. 2015-11-06 09:24:36 +00:00
import.php `callback` is not a valid type in PHP, PSR-5, or phpDocumentor. `callable` should be used instead. 2015-09-25 23:57:46 +00:00
list-table.php List Tables: in `_WP_List_Table_Compat::get_column_info()`, also return `$primary`, which is expected since [33016]. 2015-10-07 03:11:52 +00:00
media.php Media: Improve form fields labels association in the Edit Media screen. 2015-11-03 16:01:11 +00:00
menu.php Admin Menu: after [34861], prevent adjacent separators. 2015-10-28 18:05:05 +00:00
meta-boxes.php Taxonomy: `get_terms_to_edit()` can also return `false` or `WP_Error`. Vars using it should be set to empty string when errors are returned to avoid producing fatal errors when used in string operations. 2015-10-13 16:39:47 +00:00
misc.php Docs: Use 3-digit, x.x.x-style semantic versioning in the DocBlocks for `post_form_autocomplete_off()` and `WP_Filesystem_SSH2::sftp_path()`. 2015-10-31 13:15:01 +00:00
ms-admin-filters.php Docs: Add a `@subpackage` tag to the file header for wp-admin/includes/ms-admin-filters.php. 2015-10-26 18:05:52 +00:00
ms-deprecated.php Docs: Standardize the file header for wp-admin/includes/ms-deprecated.php. 2015-10-27 20:07:45 +00:00
ms.php Filesystem: Following the introduction of the `KB|MB|GB|TB_IN_BYTES` constants in [35286], use them in various places in core. 2015-10-21 14:02:59 +00:00
nav-menu.php Menus: After [35450], use correct IDs in `$initial_meta_boxes`. 2015-11-04 10:55:01 +00:00
network.php Remove `<code>` tags from translatable strings in `wp-admin/includes/network.php`. 2015-11-06 00:59:01 +00:00
noop.php Create a new file, `wp-admin/includes/noop.php`, which loads all of the noop functions for `load-script|styles.php` and is only loaded by those files. DRYs in the process. 2015-09-11 05:03:55 +00:00
options.php Options: Hide the week starts on setting for installs that have the default setting already. 2015-10-21 17:38:44 +00:00
plugin-install.php Accessibility: add missing `alt` attributes to a gaggle of `<img>`s. 2015-11-07 16:11:38 +00:00
plugin.php Docs: Fix two notations for the `$_wp_real_parent_file` global, which is an array. 2015-11-03 20:12:02 +00:00
post.php Accessibility: add missing `alt` attributes to a gaggle of `<img>`s. 2015-11-07 16:11:38 +00:00
revision.php Docs: Add a version to the file header for wp-admin/includes/revision.php. 2015-10-24 18:28:10 +00:00
schema.php MS: Allow "Network Admin Email" to be a non-user during network setup. 2015-11-08 03:15:07 +00:00
screen.php Move `WP_Screen` to its own file. 2015-09-15 04:07:14 +00:00
taxonomy.php Docs: There are quite alot of typos in core inline comments. 2015-09-30 04:12:16 +00:00
template-functions.php Docs: Correct `$post` parameter description for `display_post_states` filter. 2015-11-01 14:05:42 +00:00
template.php `wp-admin/includes/template.php` is now a loader for 3 files made via `svn cp`: 2015-09-16 15:34:17 +00:00
theme-install.php Add doc blocks to functions that are missing them. 2015-05-31 03:17:50 +00:00
theme.php Customize: Return user to referring URL when leaving Customizer in absence of `return` query param. 2015-11-01 06:39:50 +00:00
translation-install.php Use `wp_installing()` instead of `WP_INSTALLING` constant. 2015-10-05 15:05:26 +00:00
update-core.php List Tables: revert the majority of [34467]. This was almost universally abhorred (the JS that disabled the bulk dropdowns). 2015-10-20 04:28:05 +00:00
update.php Revert [34778], continue using `_site_option()` for the current network. 2015-10-07 17:11:01 +00:00
upgrade.php Upgrades: Add support for `FULLTEXT` indexes to `dbDelta()`. 2015-11-01 23:09:49 +00:00
user.php Remove a one-time variable from `edit_user()` added in [35189]. 2015-10-15 05:45:50 +00:00
widgets.php Accessibility: bump headings one level up on the Appearance > Widgets screen for a better headings hierarchy. 2015-10-10 16:33:33 +00:00