Skip to content

Commit

Permalink
Fix incorrect prefixed WPUM classes in block loader
Browse files Browse the repository at this point in the history
  • Loading branch information
polevaultweb committed Nov 18, 2023
1 parent 8a2456a commit 975a380
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scoper.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@ function (string $filePath, string $prefix, string $contents): string {
$contents = str_replace( $prefix . '\\\\register_block_type', '\\\\register_block_type', $contents );
$contents = str_replace( $prefix . '\\\\WPUM_Groups', '\\\\WPUM_Groups', $contents );
$contents = str_replace( $prefix . '\\\\WPUM_Frontend_Posting', '\\\\WPUM_Frontend_Posting', $contents );
$contents = str_replace( $prefix . '\\\\WPUM_Likes', '\\\\WPUM_Likes', $contents );
$contents = str_replace( $prefix . '\\\\WPUM_Social_Login', '\\\\WPUM_Social_Login', $contents );
$contents = str_replace( $prefix . '\\\\WPUM_Private_Content', '\\\\WPUM_Private_Content', $contents );
}

if ( false !== strrpos( $filePath, 'brain/cortex' ) ) {
Expand Down

0 comments on commit 975a380

Please sign in to comment.