FILE - This Friday, March 21, 2014, file photo, shows a Wendy's restaurant in Providence, R.I. The fast food chain is winning kudos from the internet for its amusing beef with a Twitter troll on Monday, Jan. 2, 2017. (AP Photo/Michael Dwyer, File)

Just days after winning kudos on social media for its witty handling of an internet troll, the Wendy's Twitter account has been the subject of criticism for tweeting what some say is a racist meme.

Wendy's responded to a Twitter user's request for memes Wednesday by tweeting a picture of the cartoon character Pepe the Frog made up to look like the famous Wendy's mascot of a girl with red hair in pigtails. Pepe was initially an internet meme that had no racial overtones, but it has since been appropriated by white supremacists on social media.

Wendy's quickly deleted the post and tweeted that its "community manager was unaware of the recent evolution of the Pepe meme's meaning."

Wendy's was widely praised earlier this week for mocking a Twitter critic of the chain.