Ticket #6821: 6821.doc-fixes.diff
File 6821.doc-fixes.diff, 1.7 KB (added by , 8 years ago) |
---|
-
wp-includes/class-wp-image-editor.php
30 30 * 31 31 * @param string $path Path to File to Load 32 32 * @param array $required_methods Methods to require in implementation 33 * @return WP_Image_Editor|WP_Error |boolean33 * @return WP_Image_Editor|WP_Error 34 34 */ 35 35 public final static function get_instance( $path = null, $required_methods = null ) { 36 36 $implementation = apply_filters( 'wp_image_editor_class', self::choose_implementation( $required_methods ), $path ); … … 54 54 * @since 3.5.0 55 55 * @access private 56 56 * 57 * @param $required_methods Array String array of all methods required for implementation returned. 58 * 57 * @param array $required_methods String array of all methods required for implementation returned. 59 58 * @return string|bool Class name for the first editor that claims to support the request. False if no editor claims to support the request. 60 59 */ 61 60 private final static function choose_implementation( $required_methods = null ) { … … 103 102 * @access public 104 103 * @abstract 105 104 * 106 * @param $args array105 * @param array $args 107 106 * @return boolean 108 107 */ 109 108 public static function test( $args = null ) { … … 181 180 * @access protected 182 181 * 183 182 * @param string $filename 184 * @param type$mime_type183 * @param string $mime_type 185 184 * @return array { filename|null, extension, mime-type } 186 185 */ 187 186 protected function get_output_format( $filename = null, $mime_type = null ) { … … 359 358 360 359 return $extensions[0]; 361 360 } 362 } 363 No newline at end of file 361 }