Make WordPress Core

Changeset 29013


Ignore:
Timestamp:
07/07/2014 07:07:17 AM (10 years ago)
Author:
DrewAPicture
Message:

Fix inconsistent language in two function descriptions in wp-includes/functions.php.

Also adds correct coding standards to a code sample in _deprecated_argument().

Props TobiasBg.
Fixes #26185.

File:
1 edited

Legend:

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

    r29011 r29013  
    31593159
    31603160/**
    3161  * Mark a function as deprecated and informs when it has been used.
     3161 * Mark a function as deprecated and inform when it has been used.
    31623162 *
    31633163 * There is a hook deprecated_function_run that will be called that can be used
     
    32123212
    32133213/**
    3214  * Marks a file as deprecated and inform when it has been used.
     3214 * Mark a file as deprecated and inform when it has been used.
    32153215 *
    32163216 * There is a hook deprecated_file_included that will be called that can be used
     
    32753275 * For example:
    32763276 * <code>
    3277  * if ( !empty($deprecated) )
     3277 * if ( ! empty( $deprecated ) ) {
    32783278 *  _deprecated_argument( __FUNCTION__, '3.0' );
     3279 * }
    32793280 * </code>
    32803281 *
Note: See TracChangeset for help on using the changeset viewer.