mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-14 01:24:27 +00:00
Docs: Fix a few more typos in DocBlocks.
Follow-up to [39493], [41726], [55823], [55824], [55827]. See #57840. git-svn-id: https://develop.svn.wordpress.org/trunk@55843 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -3804,14 +3804,13 @@ function get_taxonomies_for_attachments( $output = 'names' ) {
|
||||
* @since 5.6.0
|
||||
*
|
||||
* @param resource|GdImage|false $image A value to check the type for.
|
||||
* @return bool True if $image is either a GD image resource or GdImage instance,
|
||||
* @return bool True if `$image` is either a GD image resource or a GdImage instance,
|
||||
* false otherwise.
|
||||
*/
|
||||
function is_gd_image( $image ) {
|
||||
if ( $image instanceof GdImage
|
||||
|| is_resource( $image ) && 'gd' === get_resource_type( $image )
|
||||
) {
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -3819,7 +3818,7 @@ function is_gd_image( $image ) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates new GD image resource with transparency support.
|
||||
* Creates a new GD image resource with transparency support.
|
||||
*
|
||||
* @todo Deprecate if possible.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user