Changeset 45611 for trunk/src/wp-includes/class-wp-image-editor-imagick.php
- Timestamp:
- 07/09/2019 05:44:42 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-image-editor-imagick.php
r45538 r45611 114 114 115 115 try { 116 // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged 116 117 return ( (bool) @Imagick::queryFormats( $imagick_extension ) ); 117 118 } catch ( Exception $e ) { … … 655 656 $stat = stat( dirname( $filename ) ); 656 657 $perms = $stat['mode'] & 0000666; //same permissions as parent folder, strip off the executable bits 657 @chmod( $filename, $perms );658 chmod( $filename, $perms ); 658 659 659 660 /** This filter is documented in wp-includes/class-wp-image-editor-gd.php */
Note: See TracChangeset
for help on using the changeset viewer.