Back in January 2016, this Meta.SE post announced an upcoming license change for use of code taken from SE sites, to take effect in March of that year. (That post was a followup to this one.) There was a lot of controversy around the issue. The post lacks a "status" tag and I could find nothing about license terms in the Help Center either on Stack Overflow or here on Meta.SE. (This might be embarrassing coming from a moderator, but I couldn't find the terms of service.)
What are the current license and attribution rules if I use code from SO or other sites? Is a comment in the code with the URL sufficient?
The first post I linked has 80k views and good search placement. Updating it if this change didn't actually happen would probably be a good idea.