Skip to content

Commit a661557

Browse files
Docs: Correct @access entry for ::load() in WP_Image_Editor, WP_Image_Editor_GD, and WP_Image_Editor_Imagick.
Props upadalavipul. Fixes #41423. git-svn-id: https://develop.svn.wordpress.org/trunk@41125 602fd350-edb4-49c9-b593-d223f7449a82
1 parent cf84ec6 commit a661557

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/wp-includes/class-wp-image-editor-gd.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public static function supports_mime_type( $mime_type ) {
8484
* Loads image from $this->file into new GD Resource.
8585
*
8686
* @since 3.5.0
87-
* @access protected
87+
* @access public
8888
*
8989
* @return bool|WP_Error True if loaded successfully; WP_Error on failure.
9090
*/

src/wp-includes/class-wp-image-editor-imagick.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public static function supports_mime_type( $mime_type ) {
126126
* Loads image from $this->file into new Imagick Object.
127127
*
128128
* @since 3.5.0
129-
* @access protected
129+
* @access public
130130
*
131131
* @return true|WP_Error True if loaded; WP_Error on failure.
132132
*/

src/wp-includes/class-wp-image-editor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public static function supports_mime_type( $mime_type ) {
6666
* Loads image from $this->file into editor.
6767
*
6868
* @since 3.5.0
69-
* @access protected
69+
* @access public
7070
* @abstract
7171
*
7272
* @return bool|WP_Error True if loaded; WP_Error on failure.

0 commit comments

Comments
 (0)