Improve some docs for @param. Remove an unneeded $wpdb global import.

See #30799.

Built from https://develop.svn.wordpress.org/trunk@30979


git-svn-id: http://core.svn.wordpress.org/trunk@30965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor
2014-12-20 20:56:22 +00:00
parent 574fabf2bc
commit 42f5acd869
6 changed files with 8 additions and 6 deletions

View File

@@ -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() )