diff --git a/wp-includes/category-functions.php b/wp-includes/category-functions.php index 325264b3ca..905aa928c1 100644 --- a/wp-includes/category-functions.php +++ b/wp-includes/category-functions.php @@ -39,7 +39,13 @@ function get_categories( $args = '' ) { // Back compat if ( isset($args['type']) && 'link' == $args['type'] ) { - _deprecated_argument( __FUNCTION__, '3.0', '' ); + /* translators: 1: "type => link", 2: "taxonomy => link_category" alternative */ + _deprecated_argument( __FUNCTION__, '3.0', + sprintf( __( '%1$s is deprecated. Use %2$s instead.' ), + 'type => link', + 'taxonomy => link_category' + ) + ); $taxonomy = $args['taxonomy'] = 'link_category'; } diff --git a/wp-includes/category-template.php b/wp-includes/category-template.php index 471def6c17..387e84e9aa 100644 --- a/wp-includes/category-template.php +++ b/wp-includes/category-template.php @@ -373,7 +373,13 @@ function wp_dropdown_categories( $args = '' ) { // Back compat. if ( isset( $args['type'] ) && 'link' == $args['type'] ) { - _deprecated_argument( __FUNCTION__, '3.0', '' ); + /* translators: 1: "type => link", 2: "taxonomy => link_category" alternative */ + _deprecated_argument( __FUNCTION__, '3.0', + sprintf( __( '%1$s is deprecated. Use %2$s instead.' ), + 'type => link', + 'taxonomy => link_category' + ) + ); $args['taxonomy'] = 'link_category'; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 51e836d29a..19a6558d96 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-35263'; +$wp_version = '4.4-alpha-35264'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.