Make WordPress Core

Changeset 37506


Ignore:
Timestamp:
05/22/2016 06:31:56 PM (9 years ago)
Author:
DrewAPicture
Message:

Docs: Standardize filter docs in wp-includes/taxonomy.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/taxonomy.php

    r37431 r37506  
    3030
    3131        /**
    32          * Filter the post formats rewrite base.
     32         * Filters the post formats rewrite base.
    3333         *
    3434         * @since 3.1.0
     
    358358
    359359    /**
    360      * Filter the arguments for registering a taxonomy.
     360     * Filters the arguments for registering a taxonomy.
    361361     *
    362362     * @since 4.4.0
     
    622622
    623623    /**
    624      * Filter the labels of a specific taxonomy.
     624     * Filters the labels of a specific taxonomy.
    625625     *
    626626     * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug.
     
    850850
    851851    /**
    852      * Filter a term.
     852     * Filters a term.
    853853     *
    854854     * @since 2.3.0
     
    861861
    862862    /**
    863      * Filter a taxonomy.
     863     * Filters a taxonomy.
    864864     *
    865865     * The dynamic portion of the filter name, `$taxonomy`, refers
     
    12321232
    12331233    /**
    1234      * Filter the terms query default arguments.
     1234     * Filters the terms query default arguments.
    12351235     *
    12361236     * Use 'get_terms_args' to filter the passed arguments.
     
    12751275
    12761276    /**
    1277      * Filter the terms query arguments.
     1277     * Filters the terms query arguments.
    12781278     *
    12791279     * @since 3.1.0
     
    13341334
    13351335    /**
    1336      * Filter the ORDERBY clause of the terms query.
     1336     * Filters the ORDERBY clause of the terms query.
    13371337     *
    13381338     * @since 2.8.0
     
    14091409
    14101410    /**
    1411      * Filter the terms to exclude from the terms query.
     1411     * Filters the terms to exclude from the terms query.
    14121412     *
    14131413     * @since 2.3.0
     
    15641564
    15651565    /**
    1566      * Filter the fields to select in the terms query.
     1566     * Filters the fields to select in the terms query.
    15671567     *
    15681568     * Field lists modified using this filter will only modify the term fields returned
     
    15881588
    15891589    /**
    1590      * Filter the terms query SQL clauses.
     1590     * Filters the terms query SQL clauses.
    15911591     *
    15921592     * @since 3.1.0
     
    16271627
    16281628        /**
    1629          * Filter the given taxonomy's terms cache.
     1629         * Filters the given taxonomy's terms cache.
    16301630         *
    16311631         * @since 2.3.0
     
    20482048
    20492049        /**
    2050          * Filter a term field to edit before it is sanitized.
     2050         * Filters a term field to edit before it is sanitized.
    20512051         *
    20522052         * The dynamic portion of the filter name, `$field`, refers to the term field.
     
    20612061
    20622062        /**
    2063          * Filter the taxonomy field to edit before it is sanitized.
     2063         * Filters the taxonomy field to edit before it is sanitized.
    20642064         *
    20652065         * The dynamic portions of the filter name, `$taxonomy` and `$field`, refer
     
    20802080
    20812081        /**
    2082          * Filter a term field value before it is sanitized.
     2082         * Filters a term field value before it is sanitized.
    20832083         *
    20842084         * The dynamic portion of the filter name, `$field`, refers to the term field.
     
    20922092
    20932093        /**
    2094          * Filter a taxonomy field before it is sanitized.
     2094         * Filters a taxonomy field before it is sanitized.
    20952095         *
    20962096         * The dynamic portions of the filter name, `$taxonomy` and `$field`, refer
     
    21062106        if ( 'slug' == $field ) {
    21072107            /**
    2108              * Filter the category nicename before it is sanitized.
     2108             * Filters the category nicename before it is sanitized.
    21092109             *
    21102110             * Use the pre_{$taxonomy}_{$field} hook instead.
     
    21202120
    21212121        /**
    2122          * Filter the term field for use in RSS.
     2122         * Filters the term field for use in RSS.
    21232123         *
    21242124         * The dynamic portion of the filter name, `$field`, refers to the term field.
     
    21322132
    21332133        /**
    2134          * Filter the taxonomy field for use in RSS.
     2134         * Filters the taxonomy field for use in RSS.
    21352135         *
    21362136         * The dynamic portions of the hook name, `$taxonomy`, and `$field`, refer
     
    21462146
    21472147        /**
    2148          * Filter the term field sanitized for display.
     2148         * Filters the term field sanitized for display.
    21492149         *
    21502150         * The dynamic portion of the filter name, `$field`, refers to the term field name.
     
    21602160
    21612161        /**
    2162          * Filter the taxonomy field sanitized for display.
     2162         * Filters the taxonomy field sanitized for display.
    21632163         *
    21642164         * The dynamic portions of the filter name, `$taxonomy`, and `$field`, refer
     
    26582658
    26592659    /**
    2660      * Filter the terms for a given object or objects.
     2660     * Filters the terms for a given object or objects.
    26612661     *
    26622662     * @since 4.2.0
     
    26712671
    26722672    /**
    2673      * Filter the terms for a given object or objects.
     2673     * Filters the terms for a given object or objects.
    26742674     *
    26752675     * The `$taxonomies` parameter passed to this filter is formatted as a SQL fragment. The
     
    27372737    }
    27382738    /**
    2739      * Filter a term before it is sanitized and inserted into the database.
     2739     * Filters a term before it is sanitized and inserted into the database.
    27402740     *
    27412741     * @since 3.0.0
     
    29162916
    29172917    /**
    2918      * Filter the term ID after a new term is created.
     2918     * Filters the term ID after a new term is created.
    29192919     *
    29202920     * @since 2.3.0
     
    32403240
    32413241    /**
    3242      * Filter whether the proposed unique term slug is bad.
     3242     * Filters whether the proposed unique term slug is bad.
    32433243     *
    32443244     * @since 4.3.0
     
    32703270
    32713271    /**
    3272      * Filter the unique term slug.
     3272     * Filters the unique term slug.
    32733273     *
    32743274     * @since 4.3.0
     
    33903390
    33913391    /**
    3392      * Filter the term parent.
     3392     * Filters the term parent.
    33933393     *
    33943394     * Hook to this filter to see if it will cause a hierarchy loop.
     
    45644564
    45654565        /**
    4566          * Filter the tag link.
     4566         * Filters the tag link.
    45674567         *
    45684568         * @since 2.3.0
     
    45764576
    45774577        /**
    4578          * Filter the category link.
     4578         * Filters the category link.
    45794579         *
    45804580         * @since 1.5.0
     
    45884588
    45894589    /**
    4590      * Filter the term link.
     4590     * Filters the term link.
    45914591     *
    45924592     * @since 2.5.0
     
    48294829
    48304830    /**
    4831      * Filter a given object's ancestors.
     4831     * Filters a given object's ancestors.
    48324832     *
    48334833     * @since 3.1.0
Note: See TracChangeset for help on using the changeset viewer.