Skip to:
Content

BuddyPress.org

Changeset 14225


Ignore:
Timestamp:
07/29/2026 03:35:54 PM (5 weeks ago)
Author:
dcavins
Message:

Avoid php8.4 deprecation notices (11.0 branch).

Resolve php8.4 deprecations notices about implicitly marking function parameters as nullable.

See #9337.

Props dealazer, emaralive.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/11.0/src/bp-groups/bp-groups-admin.php

    r13372 r14225  
    11441144 *
    11451145 * @since 2.6.0
     1146 * @since 11.6.1 Make nullable type parameter compatible with PHP 8.4.
    11461147 *
    11471148 * @param BP_Groups_Group|null $group The BP_Groups_Group object corresponding to the group being edited.
    11481149 */
    1149 function bp_groups_admin_edit_metabox_group_type( BP_Groups_Group $group = null ) {
     1150function bp_groups_admin_edit_metabox_group_type( $group = null ) {
    11501151
    11511152        // Bail if no group ID.
Note: See TracChangeset for help on using the changeset viewer.