Update action.php

remove include wp-core.php