Make WordPress Core


Ignore:
Timestamp:
10/30/2015 09:15:42 AM (10 years ago)
Author:
SergeyBiryukov
Message:

Don't use <a> in translatable string in wp-includes/ms-load.php.

Add translator commment.

Props ramiy.
Fixes #34506.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/ms-load.php

    r35170 r35453  
    9494
    9595    if ( '2' == $blog->deleted ) {
    96         if ( file_exists( WP_CONTENT_DIR . '/blog-inactive.php' ) )
     96        if ( file_exists( WP_CONTENT_DIR . '/blog-inactive.php' ) ) {
    9797            return WP_CONTENT_DIR . '/blog-inactive.php';
    98         else
    99             wp_die( sprintf( __( 'This site has not been activated yet. If you are having problems activating your site, please contact <a href="mailto:%1$s">%1$s</a>.' ), str_replace( '@', ' AT ', get_site_option( 'admin_email', 'support@' . get_current_site()->domain ) ) ) );
     98        } else {
     99            $admin_email = str_replace( '@', ' AT ', get_site_option( 'admin_email', 'support@' . get_current_site()->domain ) );
     100            wp_die(
     101                /* translators: %s: admin email link */
     102                sprintf( __( 'This site has not been activated yet. If you are having problems activating your site, please contact %s.' ),
     103                    sprintf( '<a href="mailto:%s">%s</a>', $admin_email )
     104                )
     105            );
     106        }
    100107    }
    101108
Note: See TracChangeset for help on using the changeset viewer.