Skip to content

Commit 311f9cf

Browse files
authored
Merge pull request #113 from bronsonoquinn/patch-1
PHP8.2 Compatability
2 parents 49f4a04 + a9e4341 commit 311f9cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CPTP/Util.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ private static function is_rewrite_supported_by( $post_type ) {
5757
*
5858
* @param bool $support support CPTP.
5959
*/
60-
$support = apply_filters( "CPTP_is_rewrite_supported_by_${post_type}", $support );
61-
$support = apply_filters( "cptp_is_rewrite_supported_by_${post_type}", $support );
60+
$support = apply_filters( "CPTP_is_rewrite_supported_by_{$post_type}", $support );
61+
$support = apply_filters( "cptp_is_rewrite_supported_by_{$post_type}", $support );
6262

6363
/**
6464
* Filters support CPTP for custom post type.

0 commit comments

Comments
 (0)