Skip to content

Commit

Permalink
Restore single param to original value
Browse files Browse the repository at this point in the history
  • Loading branch information
iansvo committed Dec 20, 2024
1 parent 6ac5013 commit a7ae6de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-meta-handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ public static function get_meta( $id, $key, $single_only = true, $callable = nul
);

if ( is_numeric( $id ) ) {
$meta = $pre_value ? $pre_value : call_user_func( $callable, $id, $parent_name, false );
$meta = $pre_value ? $pre_value : call_user_func( $callable, $id, $parent_name, true );
} else {
$meta = $pre_value ? $pre_value : call_user_func( $callable, $parent_name );
}
Expand Down

0 comments on commit a7ae6de

Please sign in to comment.