Skip to content
Snippets Groups Projects
Commit cee984d8 authored by ale's avatar ale
Browse files

Add missing includes for wpsc

parent 5048099e
No related branches found
No related tags found
No related merge requests found
Pipeline #60403 passed
......@@ -550,6 +550,9 @@ function do_copy_custom_css($args){
}
function do_print_wpsc_htaccess($args) {
require_once(NOBLOGS_ROOT . '/wp-admin/includes/file.php');
require_once(NOBLOGS_ROOT . '/wp-admin/includes/misc.php');
$data = wpsc_get_htaccess_info();
print($data['rules']);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment