diff --git a/wp-includes/version.php b/wp-includes/version.php index 05e7adcf6a..52c6339ce8 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-35991'; +$wp_version = '4.5-alpha-35992'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-includes/widgets.php b/wp-includes/widgets.php index 9589d18b36..848249170a 100644 --- a/wp-includes/widgets.php +++ b/wp-includes/widgets.php @@ -1068,11 +1068,14 @@ function the_widget( $widget, $instance = array(), $args = array() ) { } /** - * Private + * Retrieves the widget ID base value. * - * @return string + * @since 2.8.0 + * + * @param string $id Widget ID. + * @return string Widget ID base. */ -function _get_widget_id_base($id) { +function _get_widget_id_base( $id ) { return preg_replace( '/-[0-9]+$/', '', $id ); }