This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * @package WordPress | |
| * @subpackage WP-Skeleton | |
| */ | |
| // REMOVE SOME HEADER OUTPUT | |
| function Wps_remove_header_info() { | |
| remove_action('wp_head', 'rsd_link'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Plugin Name: (#67107) »kaiser« Restrict file upload via image dimensions | |
| */ | |
| function wpse67107_restrict_upload( $file ) | |
| { | |
| $file_data = getimagesize( $file ); | |
| // Abort when we can't get any info: | |
| if ( ! $file_data ) |