mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Trim tailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11450 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -84,8 +84,8 @@ default:
|
||||
}
|
||||
|
||||
wp_enqueue_script( 'codepress' );
|
||||
add_action( 'admin_print_footer_scripts', 'codepress_footer_js' );
|
||||
|
||||
add_action( 'admin_print_footer_scripts', 'codepress_footer_js' );
|
||||
|
||||
// List of allowable extensions
|
||||
$editable_extensions = array('php', 'txt', 'text', 'js', 'css', 'html', 'htm', 'xml', 'inc', 'include');
|
||||
$editable_extensions = (array) apply_filters('editable_extensions', $editable_extensions);
|
||||
@@ -101,9 +101,9 @@ default:
|
||||
wp_die(sprintf('<p>%s</p>', __('Files of this type are not editable.')));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
require_once('admin-header.php');
|
||||
|
||||
|
||||
update_recently_edited(WP_PLUGIN_DIR . '/' . $file);
|
||||
|
||||
$content = file_get_contents( $real_file );
|
||||
|
||||
Reference in New Issue
Block a user