Changeset 48197 for trunk/src/wp-includes/deprecated.php
- Timestamp:
- 06/28/2020 11:47:45 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/deprecated.php
r48175 r48197 1243 1243 * @see get_term_children() 1244 1244 * 1245 * @param int $id Category ID to retrieve children. 1246 * @param string $before Optional. Prepend before category term ID. 1247 * @param string $after Optional, default is empty string. Append after category term ID. 1248 * @param array $visited Optional. Category Term IDs that have already been added. 1245 * @param int $id Category ID to retrieve children. 1246 * @param string $before Optional. Prepend before category term ID. Default '/'. 1247 * @param string $after Optional. Append after category term ID. Default empty string. 1248 * @param array $visited Optional. Category Term IDs that have already been added. 1249 * Default empty array. 1249 1250 * @return string 1250 1251 */ … … 1835 1836 * @see wp_get_attachment_link() 1836 1837 * 1837 * @param int $idOptional. Post ID.1838 * @param bool $fullsize Optional, default is false. Whether to use full size image.1838 * @param int $id Optional. Post ID. 1839 * @param bool $fullsize Optional. Whether to use full size image. Default false. 1839 1840 * @param array $max_dims Optional. Max image dimensions. 1840 * @param bool $permalink Optional , default is false. Whether to include permalink to image.1841 * @param bool $permalink Optional. Whether to include permalink to image. Default false. 1841 1842 * @return string 1842 1843 */ … … 1865 1866 * @see wp_get_attachment_image_src() 1866 1867 * 1867 * @param int $idOptional. Post ID.1868 * @param bool $fullsize Optional , default to false. Whether to have full image.1868 * @param int $id Optional. Post ID. 1869 * @param bool $fullsize Optional. Whether to have full image. Default false. 1869 1870 * @return array Icon URL and full path to file, respectively. 1870 1871 */ … … 1906 1907 * @see wp_get_attachment_image() 1907 1908 * 1908 * @param int $idOptional. Post ID.1909 * @param bool $fullsize Optional, default to false. Whether to have full size image.1909 * @param int $id Optional. Post ID. 1910 * @param bool $fullsize Optional. Whether to have full size image. Default false. 1910 1911 * @param array $max_dims Optional. Dimensions of image. 1911 1912 * @return string|false HTML content. … … 1962 1963 * @see wp_get_attachment_image() 1963 1964 * 1964 * @param int $idOptional. Post ID.1965 * @param bool $fullsize Optional, default to false. Whether to have full size image.1965 * @param int $id Optional. Post ID. 1966 * @param bool $fullsize Optional. Whether to have full size image. Default false. 1966 1967 * @param array $max_dims Optional. Dimensions of image. 1967 1968 * @return string|false … … 2387 2388 * @see add_theme_support() 2388 2389 * 2389 * @param bool $add Optional , default is true. Add or remove links. Defaults totrue.2390 * @param bool $add Optional. Add or remove links. Default true. 2390 2391 */ 2391 2392 function automatic_feed_links( $add = true ) { … … 2406 2407 * 2407 2408 * @param string $field User meta field. 2408 * @param false|int $user Optional. User ID to retrieve the field for. Default false (current user).2409 * @param false|int $user Optional. User ID to retrieve the field for. Default false (current user). 2409 2410 * @return string The author's field from the current author's DB object. 2410 2411 */ … … 2624 2625 * @deprecated 3.3.0 2625 2626 * 2626 * @param object|array $user The User Object or Array2627 * @param string $context Optional, default is 'display'. How to sanitize user fields.2628 * @return object|array The now sanitized User Object or Array (will be the same type as $user)2627 * @param object|array $user The user object or array. 2628 * @param string $context Optional. How to sanitize user fields. Default 'display'. 2629 * @return object|array The now sanitized user object or array (will be the same type as $user). 2629 2630 */ 2630 2631 function sanitize_user_object($user, $context = 'display') { … … 2661 2662 * @deprecated 3.3.0 2662 2663 * 2663 * @param string $title Optional. Link title format. 2664 * @param bool $in_same_cat Optional. Whether link should be in a same category. 2665 * @param string $excluded_categories Optional. Excluded categories IDs. 2666 * @param bool $start Optional, default is true. Whether to display link to first or last post. 2664 * @param string $title Optional. Link title format. Default '%title'. 2665 * @param bool $in_same_cat Optional. Whether link should be in a same category. 2666 * Default false. 2667 * @param string $excluded_categories Optional. Excluded categories IDs. Default empty. 2668 * @param bool $start Optional. Whether to display link to first or last post. 2669 * Default true. 2667 2670 * @return string 2668 2671 */ … … 3216 3219 * @see wp_get_image_editor() 3217 3220 * 3218 * @param string $file Image file path.3219 * @param int $max_wMaximum width to resize to.3220 * @param int $max_hMaximum height to resize to.3221 * @param bool $crop Optional. Whether to crop image or resize.3222 * @param string $suffix Optional. File suffix.3223 * @param string $dest_path Optional. New image file path.3224 * @param int $jpeg_quality Optional, default is 90. Image quality percentage.3221 * @param string $file Image file path. 3222 * @param int $max_w Maximum width to resize to. 3223 * @param int $max_h Maximum height to resize to. 3224 * @param bool $crop Optional. Whether to crop image or resize. Default false. 3225 * @param string $suffix Optional. File suffix. Default null. 3226 * @param string $dest_path Optional. New image file path. Default null. 3227 * @param int $jpeg_quality Optional. Image quality percentage. Default 90. 3225 3228 * @return mixed WP_Error on failure. String with new destination path. 3226 3229 */
Note: See TracChangeset
for help on using the changeset viewer.