Changeset 43830
- Timestamp:
- 10/26/2018 08:10:18 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0/src/wp-admin/includes/template.php
r43779 r43830 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'] );
Note: See TracChangeset
for help on using the changeset viewer.