Make WordPress Core


Ignore:
Timestamp:
07/20/2016 04:56:21 PM (10 years ago)
Author:
DrewAPicture
Message:

Docs: Fix formatting, tense, verb conjugation, and other syntax for wp-includes/* elements introduced or changed in 4.6.

Part 1/2.

See #37318.

File:
1 edited

Legend:

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

    r37750 r38121  
    518518
    519519        /**
    520          * Register a function to be autoloaded.
     520         * Registers a function to be autoloaded.
    521521         *
    522522         * @since 4.6.0
    523523         *
    524524         * @param callable $autoload_function The function to register.
    525          * @param boolean $throw Should the function throw an exception if the function isn't callable?
    526          * @param boolean $prepend Should we prepend the function to the stack?
     525         * @param bool     $throw             Optional. Whether the function should throw an exception
     526         *                                    if the function isn't callable. Default true.
     527         * @param bool     $prepend           Whether the function should be prepended to the stack.
     528         *                                    Default false.
    527529         */
    528530        function spl_autoload_register( $autoload_function, $throw = true, $prepend = false ) {
    … …  
    547549
    548550        /**
    549          * Unregister an autoloader function.
     551         * Unregisters an autoloader function.
    550552         *
    551553         * @since 4.6.0
    552554         *
    553555         * @param callable $function The function to unregister.
    554          * @return boolean True if the function was unregistered, false if it could not be.
     556         * @return bool True if the function was unregistered, false if it could not be.
    555557         */
    556558        function spl_autoload_unregister( $function ) {
    … …  
    567569
    568570        /**
    569          * Get the registered autoloader functions.
     571         * Retrieves the registered autoloader functions.
    570572         *
    571573         * @since 4.6.0
Note: See TracChangeset for help on using the changeset viewer.