Rename permalink to slug for changes to Core