Changeset 747657
- Timestamp:
- 07/29/2013 06:48:12 AM (12 years ago)
- Location:
- delete-custom-header/trunk
- Files:
-
- 2 edited
-
delete-custom-header.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
delete-custom-header/trunk/delete-custom-header.php
r713629 r747657 3 3 Plugin Name: Delete Custom Header 4 4 Description: Delete uploaded header images and remove them from the database. 5 Version: 1.2. 05 Version: 1.2.1 6 6 Author: Ben Yates 7 7 Author URI: http://bayates.host-ed.me/wordpress/ … … 10 10 if (!function_exists('delete_custom_header')) { 11 11 function delete_custom_header() { 12 if ($_GET['page'] != 'custom-header')13 return;14 12 if (!current_user_can('edit_theme_options')) 15 13 return; … … 35 33 } 36 34 } 37 add_action(' admin_init', 'delete_custom_header');35 add_action('load-appearance_page_custom-header', 'delete_custom_header'); 38 36 } 39 37 -
delete-custom-header/trunk/readme.txt
r714011 r747657 4 4 Tags: headers 5 5 Requires at least: 3.0.1 6 Tested up to: 3.5. 16 Tested up to: 3.5.2 7 7 Stable tag: trunk 8 8 License: GPLv2 or later
Note: See TracChangeset
for help on using the changeset viewer.