I just noticed a big bug when I updated and none of my pages worked.
- My slug is: test-emergency-broadcast-system
- The slug in the DB is test-emergency-broadcast-system
- Your code removes the
-(line 144 of Page.php) from$slug - My
$slugno longer has-like it is supposed to so it will never find it in the DB
See screenshot using xdebug (and phpstorm) http://goo.gl/NFGPXn