Update replace-post-permalink.php