remove more partials stuff
This commit is contained in:
parent
d94905eaa6
commit
365d85de7b
@ -378,17 +378,6 @@ class ComicPressAdmin {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function handle_update_override_partial($info) {
|
|
||||||
switch ($info['action']) {
|
|
||||||
case __('Update partial', 'comicpress'):
|
|
||||||
$this->comicpress->comicpress_options['override_partials'][$info['partial']] = stripslashes($info['code']);
|
|
||||||
break;
|
|
||||||
case __('Delete override partial', 'comicpress'):
|
|
||||||
unset($this->comicpress->comicpress_options['override_partials'][$info['partial']]);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function handle_update_zoom_slider($info) {
|
function handle_update_zoom_slider($info) {
|
||||||
$this->is_ajax = true;
|
$this->is_ajax = true;
|
||||||
|
|
||||||
|
2
phpunit.xml
Normal file
2
phpunit.xml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<phpunit colors="true" bootstrap="test/bootstrap.php" />
|
5
test/bootstrap.php
Normal file
5
test/bootstrap.php
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
set_include_path(realpath(dirname(__FILE__) . '/../classes') . PATH_SEPARATOR . get_include_path());
|
||||||
|
|
||||||
|
?>
|
Loading…
Reference in New Issue
Block a user