Changeset 50961 for trunk/src/wp-includes/class-wp-widget.php
- Timestamp:
- 05/24/2021 09:50:30 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-widget.php
r50953 r50961 165 165 } else { 166 166 $id_base = preg_replace( '/(wp_)?widget_/', '', strtolower( get_class( $this ) ) ); 167 $id_base = str_replace( '\\', '-', $id_base );168 167 } 169 168 … … 174 173 $widget_options, 175 174 array( 176 'classname' => $this->option_name,175 'classname' => str_replace( '\\', '_', $this->option_name ), 177 176 'customize_selective_refresh' => false, 178 177 )
Note: See TracChangeset
for help on using the changeset viewer.