Making WordPress.org


Ignore:
Timestamp:
03/12/2018 07:07:49 PM (7 years ago)
Author:
iandunn
Message:

WordCamp SSL: Temporarily ignore WCSF domains to avoid cert script failure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/lets-encrypt-helper.php

    r6830 r6859  
    7272        // Back-compat domains.
    7373        if ( is_callable( 'wcorg_get_domain_redirects' ) ) {
    74             $domains = array_merge( $domains, array_keys( wcorg_get_domain_redirects() ) );
     74            $back_compat_domains = wcorg_get_domain_redirects();
     75
     76            /*
     77             * Temporary remove domains whose DNS hasn't been migrated to ORD, because it causes the LE
     78             * renewal script to abort early.
     79             *
     80             * @todo remove this once DNS is updated.
     81             */
     82            unset( $back_compat_domains['wordcampsf.org'] );
     83            unset( $back_compat_domains['wordcampsf.com'] );
     84
     85            $domains = array_merge( $domains, array_keys( $back_compat_domains ) );
    7586        }
    7687
Note: See TracChangeset for help on using the changeset viewer.