Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (6 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve inline comments per the documentation standards.

Includes minor code layout fixes for better readability.

See #48303.

File:
1 edited

Legend:

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

    r46208 r47122  
    77 */
    88
    9 // If gettext isn't available
     9// If gettext isn't available.
    1010if ( ! function_exists( '_' ) ) {
    1111    function _( $string ) {
     
    327327endif;
    328328
    329 // random_int was introduced in PHP 7.0
     329// random_int() was introduced in PHP 7.0.
    330330if ( ! function_exists( 'random_int' ) ) {
    331331    require ABSPATH . WPINC . '/random_compat/random.php';
    332332}
    333 // sodium_crypto_box was introduced in PHP 7.2
     333// sodium_crypto_box() was introduced in PHP 7.2.
    334334if ( ! function_exists( 'sodium_crypto_box' ) ) {
    335335    require ABSPATH . WPINC . '/sodium_compat/autoload.php';
Note: See TracChangeset for help on using the changeset viewer.