Docs: Improve DocBlock syntax and add a missing `@return` notation for `WP_Image_Editor_Imagick::strip_meta()`, introduced in [36700].
See: #33642, #30402, #28634. See #35986. git-svn-id: https://develop.svn.wordpress.org/trunk@36847 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1dfbf0fb1b
commit
04d3748efa
|
@ -654,10 +654,12 @@ class WP_Image_Editor_Imagick extends WP_Image_Editor {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Strip all image meta except color profiles from an image.
|
* Strips all image meta except color profiles from an image.
|
||||||
*
|
*
|
||||||
* @access protected
|
|
||||||
* @since 4.5.0
|
* @since 4.5.0
|
||||||
|
* @access protected
|
||||||
|
*
|
||||||
|
* @return true|WP_Error True if stripping metadata was successful. WP_Error object on error.
|
||||||
*/
|
*/
|
||||||
protected function strip_meta() {
|
protected function strip_meta() {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue