WordPress.org

Making WordPress.org

Changeset 2078


Ignore:
Timestamp:
11/11/2015 11:15:27 PM (6 years ago)
Author:
ocean90
Message:

Translate, Custom Warnings: Allow links to Gravatar.com to be changed to a subdomain.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/translate.wordpress.org/includes/gp-plugins/wporg-warnings.php

    r1941 r2078  
    1010    var $allowed_domain_changes = array(
    1111        // Allow links to WordPress.org to be changed to a subdomain
    12         'wordpress.org' => '[^.]+\.wordpress\.org'
     12        'wordpress.org' => '[^.]+\.wordpress\.org',
     13        // Allow links to Gravatar.org to be changed to a subdomain
     14        'en.gravatar.com' => '[^.]+\.gravatar\.com'
    1315    );
    1416
     
    2325        preg_match_all( $urls_regex, $original, $original_urls );
    2426        $original_urls = array_unique( $original_urls[0] );
    25        
     27
    2628        preg_match_all( $urls_regex, $translation, $translation_urls );
    2729        $translation_urls = array_unique( $translation_urls[0] );
Note: See TracChangeset for help on using the changeset viewer.