Changeset 35992 for trunk/src/wp-includes/widgets.php
- Timestamp:
- 12/17/2015 05:26:28 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets.php
r35991 r35992 1069 1069 1070 1070 /** 1071 * Private 1072 * 1073 * @return string 1074 */ 1075 function _get_widget_id_base($id) { 1071 * Retrieves the widget ID base value. 1072 * 1073 * @since 2.8.0 1074 * 1075 * @param string $id Widget ID. 1076 * @return string Widget ID base. 1077 */ 1078 function _get_widget_id_base( $id ) { 1076 1079 return preg_replace( '/-[0-9]+$/', '', $id ); 1077 1080 }
Note: See TracChangeset
for help on using the changeset viewer.