mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-30 23:30:05 +00:00
Improve some docs for @param. Remove an unneeded $wpdb global import.
See #30799. git-svn-id: https://develop.svn.wordpress.org/trunk@30979 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -194,6 +194,7 @@ abstract class WP_Image_Editor {
|
||||
*
|
||||
* @param int $width
|
||||
* @param int $height
|
||||
* @return true
|
||||
*/
|
||||
protected function update_size( $width = null, $height = null ) {
|
||||
$this->size = array(
|
||||
@@ -388,7 +389,7 @@ abstract class WP_Image_Editor {
|
||||
* @since 3.5.0
|
||||
* @access public
|
||||
*
|
||||
* @return string suffix
|
||||
* @return false|string suffix
|
||||
*/
|
||||
public function get_suffix() {
|
||||
if ( ! $this->get_size() )
|
||||
|
||||
Reference in New Issue
Block a user