Changeset 35264
- Timestamp:
- 10/18/2015 03:34:55 PM (10 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
-
category-functions.php (modified) (1 diff)
-
category-template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/category-functions.php
r34997 r35264 40 40 // Back compat 41 41 if ( isset($args['type']) && 'link' == $args['type'] ) { 42 _deprecated_argument( __FUNCTION__, '3.0', '' ); 42 /* translators: 1: "type => link", 2: "taxonomy => link_category" alternative */ 43 _deprecated_argument( __FUNCTION__, '3.0', 44 sprintf( __( '%1$s is deprecated. Use %2$s instead.' ), 45 '<code>type => link</code>', 46 '<code>taxonomy => link_category</code>' 47 ) 48 ); 43 49 $taxonomy = $args['taxonomy'] = 'link_category'; 44 50 } -
trunk/src/wp-includes/category-template.php
r35140 r35264 374 374 // Back compat. 375 375 if ( isset( $args['type'] ) && 'link' == $args['type'] ) { 376 _deprecated_argument( __FUNCTION__, '3.0', '' ); 376 /* translators: 1: "type => link", 2: "taxonomy => link_category" alternative */ 377 _deprecated_argument( __FUNCTION__, '3.0', 378 sprintf( __( '%1$s is deprecated. Use %2$s instead.' ), 379 '<code>type => link</code>', 380 '<code>taxonomy => link_category</code>' 381 ) 382 ); 377 383 $args['taxonomy'] = 'link_category'; 378 384 }
Note: See TracChangeset
for help on using the changeset viewer.