diff --git a/wp-permastructure.php b/wp-permastructure.php index 30e891e..3c401c3 100644 --- a/wp-permastructure.php +++ b/wp-permastructure.php @@ -241,7 +241,7 @@ public function add_permastructs( $rules ) { * * @return string The parsed permalink */ - public function parse_permalinks( $post_link, WP_Post $post, $leavename, $sample = false ) { + public function parse_permalinks( $post_link, $post, $leavename, $sample = false ) { // Make a stupid request and we'll do nothing. if ( !post_type_exists( $post->post_type ) )