Make WordPress Core


Ignore:
Timestamp:
02/07/2012 06:06:12 PM (12 years ago)
Author:
nacin
Message:

Allow localized commas to be used as tag separators. see #7897.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/ajax-actions.php

    r19822 r19853  
    6767    $s = stripslashes( $_GET['q'] );
    6868
     69    $comma = _x( ',', 'tag delimiter' );
     70    if ( ',' !== $comma )
     71        $s = str_replace( $comma, ',', $s );
    6972    if ( false !== strpos( $s, ',' ) ) {
    7073        $s = explode( ',', $s );
Note: See TracChangeset for help on using the changeset viewer.