Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/01/2024 07:41:30 PM (10 months ago)
Author:
espellcaste
Message:

WPCS: Part II: miscellaneous fixes for some of the files of the core component.

Follow-up to 13883.

See #9164 and #7228

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-options.php

    r13870 r13886  
    726726 * @since 1.7.0
    727727 *
    728  * @param string $default Optional. Fallback value if not found in the database.
    729  *                        Default: 'legacy'.
     728 * @param string $package_id Optional. Fallback value if not found in the database.
     729 *                           Default: 'legacy'.
    730730 * @return string ID of the theme package.
    731731 */
    732 function bp_get_theme_package_id( $default = 'legacy' ) {
     732function bp_get_theme_package_id( $package_id = 'legacy' ) {
    733733
    734734    /**
     
    737737     * @since 1.7.0
    738738     *
    739      * @param string $value The current theme package ID.
    740      */
    741     return apply_filters( 'bp_get_theme_package_id', bp_get_option( '_bp_theme_package_id', $default ) );
    742 }
     739     * @param string $package_id The current theme package ID.
     740     */
     741    return apply_filters( 'bp_get_theme_package_id', bp_get_option( '_bp_theme_package_id', $package_id ) );
     742}
Note: See TracChangeset for help on using the changeset viewer.