Ticket #45192: 45192.diff
File 45192.diff, 729 bytes (added by , 6 years ago) |
---|
-
branches/5.0/src/wp-admin/includes/template.php
1096 1096 if ( WP_DEBUG && ! $screen->is_block_editor() && ! isset( $_GET['meta-box-loader'] ) ) { 1097 1097 if ( is_array( $box['callback'] ) ) { 1098 1098 $reflection = new ReflectionMethod( $box['callback'][0], $box['callback'][1] ); 1099 } elseif ( false !== strpos( $box['callback'], '::' ) ) { 1100 $reflection = new ReflectionMethod( $box['callback'] ); 1099 1101 } else { 1100 1102 $reflection = new ReflectionFunction( $box['callback'] ); 1101 1103 }