Modification of stellar populations in post-core-collapse globular clusters