Changeset 18478
- Timestamp:
- 07/28/2011 05:30:18 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/link-template.php
r18477 r18478 1120 1120 if ( ! is_array( $excluded_categories ) ) { 1121 1121 // back-compat, $excluded_categories used to be IDs separated by " and " 1122 if ( strpos( $excluded_categories, ' and ' ) !== false ) 1122 if ( strpos( $excluded_categories, ' and ' ) !== false ) { 1123 _deprecated_argument( __FUNCTION__, '3.3', sprintf( __( 'Use commas instead of %s to separate excluded categories.' ), "'and'" ) ); 1123 1124 $excluded_categories = explode( ' and ', $excluded_categories ); 1124 else1125 } else { 1125 1126 $excluded_categories = explode( ',', $excluded_categories ); 1127 } 1126 1128 } 1127 1129
Note: See TracChangeset
for help on using the changeset viewer.