refactor WP_MarkupCollection_Command