Make WordPress Core

Ticket #35658: 35658.20.3.diff

File 35658.20.3.diff, 434 bytes (added by ocean90, 8 years ago)
  • src/wp-includes/meta.php

     
    10301030                'show_in_rest'      => false,
    10311031        );
    10321032
     1033        if ( ! is_array( $args ) ) {
     1034                $args = array();
     1035        }
     1036
    10331037        $passed_args = array_slice( func_get_args(), 2 );
    10341038
    10351039        // There used to be individual args for sanitize and auth callbacks