Skip to content

Commit

Permalink
PHP 8.2: fix deprecated ${var} in strings #220
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbingwide committed Sep 15, 2023
1 parent a149e0f commit fb508d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shortcodes/oik-navi.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php // (C) Copyright Bobbing Wide 2014-2019
<?php // (C) Copyright Bobbing Wide 2014-2019, 2023

/**
* Return the next unique shortcode ID
Expand Down Expand Up @@ -416,7 +416,7 @@ function bw_navi_fetch_field_content( $field, $atts ) {
$field_type = bw_query_field_type( $field );
add_filter( "bw_navi_filter_textarea", "bw_navi_filter_textarea", 10, 3 );
add_filter( "bw_navi_filter_sctextarea", "bw_navi_filter_textarea", 10, 3 );
$content_array = apply_filters( "bw_navi_filter_${field_type}", $values, $field, $field_type );
$content_array = apply_filters( "bw_navi_filter_{$field_type}", $values, $field, $field_type );
return( $content_array );
}

Expand Down

0 comments on commit fb508d4

Please sign in to comment.