diff --git a/index.php b/index.php index 5d7c4ad..2a9a36b 100644 --- a/index.php +++ b/index.php @@ -12,13 +12,13 @@ comicpress_display_post(); endwhile; } - Restore(); - UnProtect(); + Restore(); + UnProtect(); wp_reset_query(); ?> - diff --git a/test/fixtures/destroy-widgets.inc b/test/fixtures/destroy-widgets.inc deleted file mode 100644 index 228d5f6..0000000 --- a/test/fixtures/destroy-widgets.inc +++ /dev/null @@ -1,3 +0,0 @@ -option('sidebars_widgets', array()); diff --git a/test/selenium/TestWidgetInitIsCorrect.html b/test/selenium/TestWidgetInitIsCorrect.html deleted file mode 100644 index 35803f1..0000000 --- a/test/selenium/TestWidgetInitIsCorrect.html +++ /dev/null @@ -1,65 +0,0 @@ - - - -
- - -TestWidgetInitIsCorrect | ||
open | -/wp-admin/ | -- |
clickAndWait | -link=Post Fixtures | -- |
click | -link=themes/comicpress-2.8/test/fixtures/destroy-widgets.inc | -- |
click | -pf[is_ok] | -- |
clickAndWait | -//input[@value='Load Provided Data'] | -- |
assertTextPresent | -New data set loaded into WordPress. | -- |
clickAndWait | -site-visit-button | -- |
assertElementNotPresent | -//script[contains(text(), 'var image_root')] | -- |
open | -/wp-admin/ | -- |