WordPress.org

Make WordPress Core

Changeset 18658


Ignore:
Timestamp:
09/09/2011 05:53:41 PM (10 years ago)
Author:
nacin
Message:

Add phpdoc for default arg for get_option(). props amereservant, solarissmoke, fixes #17819.

File:
1 edited

Legend:

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

    r18647 r18658  
    325325 *
    326326 * @param string $option Name of option to retrieve. Expected to not be SQL-escaped.
     327 * @param mixed $default Optional. Default value to return if the option does not exist.
    327328 * @return mixed Value set for the option.
    328329 */
Note: See TracChangeset for help on using the changeset viewer.