Changeset 47550 for trunk/src/wp-includes/widgets/class-wp-widget-links.php
- Timestamp:
- 04/05/2020 03:00:44 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets/class-wp-widget-links.php
r47122 r47550 106 106 107 107 $instance['orderby'] = 'name'; 108 if ( in_array( $new_instance['orderby'], array( 'name', 'rating', 'id', 'rand' ) ) ) {108 if ( in_array( $new_instance['orderby'], array( 'name', 'rating', 'id', 'rand' ), true ) ) { 109 109 $instance['orderby'] = $new_instance['orderby']; 110 110 }
Note: See TracChangeset
for help on using the changeset viewer.