Skip to:
Content

bbPress.org


Ignore:
Timestamp:
01/08/2026 01:45:19 AM (3 months ago)
Author:
johnjamesjacoby
Message:

Tools: PHPCS improvements from recent commits.

In trunk, for 2.7.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/common/functions.php

    r7391 r7396  
    155155 * @since 2.7.0 bbPress (r7388)
    156156 *
    157  * @param bool   $us     Optional. Default false. If using.
     157 * @param bool   $using     Optional. Default false. If using.
    158158 * @param string $post_type Optional. Default empty string. The post type to check.
    159159 *
    160160 * @return bool
    161161 */
    162 function bbp_filter_use_block_editor_for_post_type( $use = false, $post_type = '' ) {
     162function bbp_filter_use_block_editor_for_post_type( $using = false, $post_type = '' ) {
    163163
    164164    // Get bbPress post types
     
    170170
    171171    // Filter & return
    172     return (bool) apply_filters( 'bbp_filter_use_block_editor_for_post_type', $retval, $is_post_type, $use, $post_type );
     172    return (bool) apply_filters( 'bbp_filter_use_block_editor_for_post_type', $retval, $is_post_type, $using, $post_type );
    173173}
    174174
Note: See TracChangeset for help on using the changeset viewer.