From 8c55e79befd2690e7c921fd0f71f505c21c1fdaa Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 24 Jul 2017 14:11:44 +0000 Subject: [PATCH] Docs: Correct `@access` entry for `::load()` in `WP_Image_Editor`, `WP_Image_Editor_GD`, and `WP_Image_Editor_Imagick`. Props upadalavipul. Fixes #41423. Built from https://develop.svn.wordpress.org/trunk@41125 git-svn-id: http://core.svn.wordpress.org/trunk@40965 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-image-editor-gd.php | 2 +- wp-includes/class-wp-image-editor-imagick.php | 2 +- wp-includes/class-wp-image-editor.php | 2 +- wp-includes/version.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-includes/class-wp-image-editor-gd.php b/wp-includes/class-wp-image-editor-gd.php index 5f32172dba..5208b33f1c 100644 --- a/wp-includes/class-wp-image-editor-gd.php +++ b/wp-includes/class-wp-image-editor-gd.php @@ -84,7 +84,7 @@ class WP_Image_Editor_GD extends WP_Image_Editor { * Loads image from $this->file into new GD Resource. * * @since 3.5.0 - * @access protected + * @access public * * @return bool|WP_Error True if loaded successfully; WP_Error on failure. */ diff --git a/wp-includes/class-wp-image-editor-imagick.php b/wp-includes/class-wp-image-editor-imagick.php index f327d882d1..534b232319 100644 --- a/wp-includes/class-wp-image-editor-imagick.php +++ b/wp-includes/class-wp-image-editor-imagick.php @@ -126,7 +126,7 @@ class WP_Image_Editor_Imagick extends WP_Image_Editor { * Loads image from $this->file into new Imagick Object. * * @since 3.5.0 - * @access protected + * @access public * * @return true|WP_Error True if loaded; WP_Error on failure. */ diff --git a/wp-includes/class-wp-image-editor.php b/wp-includes/class-wp-image-editor.php index cc991eb8a9..ddf3cb30bd 100644 --- a/wp-includes/class-wp-image-editor.php +++ b/wp-includes/class-wp-image-editor.php @@ -66,7 +66,7 @@ abstract class WP_Image_Editor { * Loads image from $this->file into editor. * * @since 3.5.0 - * @access protected + * @access public * @abstract * * @return bool|WP_Error True if loaded; WP_Error on failure. diff --git a/wp-includes/version.php b/wp-includes/version.php index 46c411572a..b7feb8f5b9 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-alpha-41124'; +$wp_version = '4.9-alpha-41125'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.