Skip to:
Content

bbPress.org

Ticket #3407: 3407_3.patch

File 3407_3.patch, 1.8 KB (added by dilip2615, 8 months ago)

Fixed typos in DocBlocks (@retrun → @return), improved capitalization for "ID", and grammar for rewrite rule description in src/includes/core/functions.php.

  • src/includes/core/functions.php

     
    1515 * Return the bbPress version
    1616 *
    1717 * @since 2.0.0 bbPress (r3468)
    18  * @retrun string The bbPress version
     18 * @return string The bbPress version
    1919 */
    2020function bbp_get_version() {
    2121        return bbpress()->version;
     
    3636 * Return the bbPress asset version
    3737 *
    3838 * @since 2.6.7 bbPress (r7188)
    39  * @retrun string The bbPress asset version
     39 * @return string The bbPress asset version
    4040 */
    4141function bbp_get_asset_version() {
    4242        return bbp_doing_script_debug()
     
    5757 * Return the bbPress database version
    5858 *
    5959 * @since 2.0.0 bbPress (r3468)
    60  * @retrun string The bbPress version
     60 * @return string The bbPress version
    6161 */
    6262function bbp_get_db_version() {
    6363        return bbpress()->db_version;
     
    7878 * Return the bbPress database version directly from the database
    7979 *
    8080 * @since 2.0.0 bbPress (r3468)
    81  * @retrun string The current bbPress version
     81 * @return string The current bbPress version
    8282 */
    8383function bbp_get_db_version_raw() {
    8484        return get_option( '_bbp_db_version', '' );
     
    339339/** Rewrite Extras ************************************************************/
    340340
    341341/**
    342  * Get the id used for paginated requests
     342 * Get the ID used for paginated requests
    343343 *
    344344 * @since 2.4.0 bbPress (r4926)
    345345 *
     
    350350}
    351351
    352352/**
    353  * Delete a blogs rewrite rules, so that they are automatically rebuilt on
    354  * the subsequent page load.
     353 * Delete a blog's rewrite rules so that they are automatically rebuilt on
     354 * the subsequent page load.
    355355 *
    356356 * @since 2.2.0 bbPress (r4198)
    357357 */