Changeset 49020 for trunk/src/wp-admin/includes/image.php
- Timestamp:
- 09/20/2020 03:53:52 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/image.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/image.php
r49017 r49020 967 967 968 968 /** 969 * Retrieve the path or urlof an attachment's attached file.969 * Retrieve the path or URL of an attachment's attached file. 970 970 * 971 971 * If the attached file is not present on the local filesystem (usually due to replication plugins), 972 * then the url of the file is returned if url fopenis supported.972 * then the URL of the file is returned if `allow_url_fopen` is supported. 973 973 * 974 974 * @since 3.4.0 … … 990 990 991 991 /** 992 * Filters the path to the currentimage.992 * Filters the path to an attachment's file when editing the image. 993 993 * 994 994 * The filter is evaluated for all image sizes except 'full'. … … 1005 1005 } elseif ( function_exists( 'fopen' ) && ini_get( 'allow_url_fopen' ) ) { 1006 1006 /** 1007 * Filters the image URL if not in the local filesystem.1008 * 1009 * The filter is only evaluated if fopenis enabled on the server.1007 * Filters the path to an attachment's URL when editing the image. 1008 * 1009 * The filter is only evaluated if the file isn't stored locally and `allow_url_fopen` is enabled on the server. 1010 1010 * 1011 1011 * @since 3.1.0
Note:
See TracChangeset
for help on using the changeset viewer.