Sometimes I do a bunch of changes to a bunch of pages, without approving them. Then I need to login as a regular user to test something, and I realize I have a dozen pages that aren't visible because they're not approved. Instead of going to each of these pages and approve them all manually, I wrote this script a while back.




