WordPress.org

Make WordPress Core

Ticket #20155: 20155.diff

File 20155.diff, 833 bytes (added by JustinSainton, 4 years ago)

Removes i18n for 'and'

  • wp-includes/link-template.php

     
    11171117                        if ( ! is_array( $excluded_categories ) ) { 
    11181118                                // back-compat, $excluded_categories used to be IDs separated by " and " 
    11191119                                if ( strpos( $excluded_categories, ' and ' ) !== false ) { 
    1120                                         _deprecated_argument( __FUNCTION__, '3.3', sprintf( __( 'Use commas instead of %s to separate excluded categories.' ), "'and'" ) ); 
     1120                                        _deprecated_argument( __FUNCTION__, '3.3', __( "Use commas instead of 'and' to separate excluded categories." ) ); 
    11211121                                        $excluded_categories = explode( ' and ', $excluded_categories ); 
    11221122                                } else { 
    11231123                                        $excluded_categories = explode( ',', $excluded_categories );