Make WordPress Core


Ignore:
Timestamp:
02/19/2018 02:12:41 AM (7 years ago)
Author:
peterwilsoncc
Message:

General: Further improve error messages following [42648].

Props kristastevens, melchoyce.
Fixes #38332 for trunk.

File:
1 edited

Legend:

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

    r42710 r42719  
    674674 * Determines whether the publish date of the current post in the loop is different
    675675 * from the publish date of the previous post in the loop.
    676  * 
     676 *
    677677 * For more information on this and similar theme functions, check out
    678  * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 
     678 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
    679679 * Conditional Tags} article in the Theme Developer Handbook.
    680  * 
     680 *
    681681 * @since 0.71
    682682 *
     
    13941394 *
    13951395 * Checks for the 'siteurl' option for whether WordPress is installed.
    1396  * 
     1396 *
    13971397 * For more information on this and similar theme functions, check out
    1398  * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 
     1398 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
    13991399 * Conditional Tags} article in the Theme Developer Handbook.
    14001400 *
     
    27282728        );
    27292729    } else {
    2730         $html = __( 'The link you followed no longer exists.' );
     2730        $html = __( 'The link you followed has expired.' );
    27312731        if ( wp_get_referer() ) {
    27322732            $html .= '</p><p>';
     
    27392739    }
    27402740
    2741     wp_die( $html, __( 'An error has occurred.' ), 403 );
     2741    wp_die( $html, __( 'Something went wrong.' ), 403 );
    27422742}
    27432743
Note: See TracChangeset for help on using the changeset viewer.