WordPress.org

Make WordPress Core

Changeset 37507


Ignore:
Timestamp:
05/22/2016 06:33:13 PM (3 years ago)
Author:
DrewAPicture
Message:

Docs: Standardize filter docs in wp-includes/option.php to use third-person singular verbs per the inline documentation standards for PHP.

See #36913.

File:
1 edited

Legend:

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

    r37367 r37507  
    3636
    3737    /**
    38      * Filter the value of an existing option before it is retrieved.
     38     * Filters the value of an existing option before it is retrieved.
    3939     *
    4040     * The dynamic portion of the hook name, `$option`, refers to the option name.
     
    6262        if ( isset( $notoptions[ $option ] ) ) {
    6363            /**
    64              * Filter the default value for an option.
     64             * Filters the default value for an option.
    6565             *
    6666             * The dynamic portion of the hook name, `$option`, refers to the option name.
     
    122122
    123123    /**
    124      * Filter the value of an existing option.
     124     * Filters the value of an existing option.
    125125     *
    126126     * The dynamic portion of the hook name, `$option`, refers to the option name.
     
    267267
    268268    /**
    269      * Filter a specific option before its value is (maybe) serialized and updated.
     269     * Filters a specific option before its value is (maybe) serialized and updated.
    270270     *
    271271     * The dynamic portion of the hook name, `$option`, refers to the option name.
     
    281281
    282282    /**
    283      * Filter an option before its value is (maybe) serialized and updated.
     283     * Filters an option before its value is (maybe) serialized and updated.
    284284     *
    285285     * @since 3.9.0
     
    610610
    611611    /**
    612      * Filter the value of an existing transient.
     612     * Filters the value of an existing transient.
    613613     *
    614614     * The dynamic portion of the hook name, `$transient`, refers to the transient name.
     
    652652
    653653    /**
    654      * Filter an existing transient's value.
     654     * Filters an existing transient's value.
    655655     *
    656656     * The dynamic portion of the hook name, `$transient`, refers to the transient name.
     
    685685
    686686    /**
    687      * Filter a specific transient before its value is set.
     687     * Filters a specific transient before its value is set.
    688688     *
    689689     * The dynamic portion of the hook name, `$transient`, refers to the transient name.
     
    700700
    701701    /**
    702      * Filter the expiration for a transient before its value is set.
     702     * Filters the expiration for a transient before its value is set.
    703703     *
    704704     * The dynamic portion of the hook name, `$transient`, refers to the transient name.
     
    10931093
    10941094    /**
    1095      * Filter an existing network option before it is retrieved.
     1095     * Filters an existing network option before it is retrieved.
    10961096     *
    10971097     * The dynamic portion of the hook name, `$option`, refers to the option name.
     
    11201120
    11211121        /**
    1122          * Filter a specific default network option.
     1122         * Filters a specific default network option.
    11231123         *
    11241124         * The dynamic portion of the hook name, `$option`, refers to the option name.
     
    11641164
    11651165    /**
    1166      * Filter the value of an existing network option.
     1166     * Filters the value of an existing network option.
    11671167     *
    11681168     * The dynamic portion of the hook name, `$option`, refers to the option name.
     
    12121212
    12131213    /**
    1214      * Filter the value of a specific network option before it is added.
     1214     * Filters the value of a specific network option before it is added.
    12151215     *
    12161216     * The dynamic portion of the hook name, `$option`, refers to the option name.
     
    14061406
    14071407    /**
    1408      * Filter a specific network option before its value is updated.
     1408     * Filters a specific network option before its value is updated.
    14091409     *
    14101410     * The dynamic portion of the hook name, `$option`, refers to the option name.
     
    15431543
    15441544    /**
    1545      * Filter the value of an existing site transient.
     1545     * Filters the value of an existing site transient.
    15461546     *
    15471547     * The dynamic portion of the hook name, `$transient`, refers to the transient name.
     
    15841584
    15851585    /**
    1586      * Filter the value of an existing site transient.
     1586     * Filters the value of an existing site transient.
    15871587     *
    15881588     * The dynamic portion of the hook name, `$transient`, refers to the transient name.
     
    16161616
    16171617    /**
    1618      * Filter the value of a specific site transient before it is set.
     1618     * Filters the value of a specific site transient before it is set.
    16191619     *
    16201620     * The dynamic portion of the hook name, `$transient`, refers to the transient name.
     
    16311631
    16321632    /**
    1633      * Filter the expiration for a site transient before its value is set.
     1633     * Filters the expiration for a site transient before its value is set.
    16341634     *
    16351635     * The dynamic portion of the hook name, `$transient`, refers to the transient name.
Note: See TracChangeset for help on using the changeset viewer.