Changeset 22510 for trunk/wp-includes/class-wp-image-editor-gd.php
- Timestamp:
- 11/09/2012 07:38:54 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-image-editor-gd.php
r22463 r22510 29 29 * 30 30 * @since 3.5.0 31 * @access p rotected31 * @access public 32 32 * 33 33 * @return boolean 34 34 */ 35 public function test() {35 public static function test( $args = null ) { 36 36 if ( ! extension_loaded('gd') || ! function_exists('gd_info') ) 37 37 return false; … … 100 100 * @return boolean 101 101 */ 102 public function supports_mime_type( $mime_type ) {102 public static function supports_mime_type( $mime_type ) { 103 103 $allowed_mime_types = array( 'image/gif', 'image/png', 'image/jpeg' ); 104 104
Note: See TracChangeset
for help on using the changeset viewer.