Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:CMB2/CMB2 into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsternberg committed Feb 8, 2021
2 parents 8663598 + 1f69aaf commit 44dc746
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion includes/CMB2_Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -413,8 +413,9 @@ public static function maybe_hook( $val, $hook_name, $hook_function ) {
*/
protected function deprecated_param( $function, $version, $message = null ) {

$args = func_get_args();

if ( is_numeric( $message ) ) {
$args = func_get_args();

switch ( $message ) {

Expand Down

0 comments on commit 44dc746

Please sign in to comment.