Changeset 22119
- Timestamp:
- 10/04/2012 09:59:36 PM (12 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-image-editor-gd.php
r22094 r22119 33 33 * @return boolean 34 34 */ 35 public staticfunction test() {35 public function test() { 36 36 if ( ! extension_loaded('gd') || ! function_exists('gd_info') ) 37 37 return false; … … 100 100 * @return boolean 101 101 */ 102 public staticfunction supports_mime_type( $mime_type ) {102 public function supports_mime_type( $mime_type ) { 103 103 $allowed_mime_types = array( 'image/gif', 'image/png', 'image/jpeg' ); 104 104 -
trunk/wp-includes/class-wp-image-editor-imagick.php
r22098 r22119 34 34 * @return boolean 35 35 */ 36 public staticfunction test() {36 public function test() { 37 37 if ( ! extension_loaded( 'imagick' ) ) 38 38 return false; … … 144 144 * @return boolean 145 145 */ 146 public staticfunction supports_mime_type( $mime_type ) {146 public function supports_mime_type( $mime_type ) { 147 147 if ( ! $mime_type ) 148 148 return false; -
trunk/wp-includes/class-wp-image-editor.php
r22094 r22119 77 77 } 78 78 79 abstract public staticfunction test(); // returns bool79 abstract public function test(); // returns bool 80 80 abstract protected function load(); // returns bool|WP_Error 81 abstract public staticfunction supports_mime_type( $mime_type ); // returns bool81 abstract public function supports_mime_type( $mime_type ); // returns bool 82 82 abstract public function resize( $max_w, $max_h, $crop = false ); 83 83 abstract public function multi_resize( $sizes );
Note: See TracChangeset
for help on using the changeset viewer.