remove intermediate value in cmd_dump()
move non-wp-related code out of after_wp_load()