Skip to:
Content

BuddyPress.org

Changeset 13772


Ignore:
Timestamp:
03/16/2024 07:35:00 AM (2 years ago)
Author:
imath
Message:

Improve inline documentation fixing some typos

Props shailu25

Fixes #9123
Closes https://github.com/buddypress/buddypress/pull/255

Location:
trunk/src
Files:
4 edited

Legend:

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

    r13771 r13772  
    15621562 * @since 5.0.0
    15631563 * @since 8.0.0 The `bp_block_category_post_types` filter has been deprecated.
    1564  * @since 12.0.0 This category is left for third party plugin but not used anymmore.
     1564 * @since 12.0.0 This category is left for third party plugin but not used anymore.
    15651565 *
    15661566 * @todo deprecate.
  • trunk/src/bp-core/admin/bp-core-admin-rewrites.php

    r13678 r13772  
    101101                }
    102102
    103                 // Make sure the WP rewrites will be regenarated at next page load.
     103                // Make sure the WP rewrites will be regenerated at next page load.
    104104                if ( $reset_rewrites ) {
    105105                        bp_delete_rewrite_rules();
     
    300300                                                                                <h4 class="health-check-accordion-heading">
    301301                                                                                        <button aria-expanded="false" class="health-check-accordion-trigger" aria-controls="<?php echo esc_attr( sprintf( 'health-check-accordion-block-member-%s-secondary-nav', $members_navigation_slug ) ); ?>" type="button">
    302                                                                                                 <?php /* translators: %s is the BP Component name the secondery views belong to. */ ?>
     302                                                                                                <?php /* translators: %s is the BP Component name the secondary views belong to. */ ?>
    303303                                                                                                <span class="title"><?php echo esc_html( sprintf( __( 'Single Member %s secondary screens slugs', 'buddypress' ), _bp_strip_spans_from_title( $members_component_navigations['name'] ) ) ); ?></span>
    304304                                                                                                <span class="icon"></span>
  • trunk/src/bp-core/admin/bp-core-admin-types.php

    r13108 r13772  
    9797        }
    9898
    99         // Get defaulte values for metadata.
     99        // Get default values for metadata.
    100100        $metadata = bp_core_admin_get_type_default_meta_values( $type_taxonomy );
    101101
     
    178178        $type_taxonomy = sanitize_key( $args['taxonomy'] );
    179179
    180         // Get defaulte values for metadata.
     180        // Get default values for metadata.
    181181        $metadata  = bp_core_admin_get_type_default_meta_values( $type_taxonomy );
    182182
     
    208208        do_action( 'bp_type_updated', $type_term_id, $type_taxonomy );
    209209
    210         // Finally informs about the successfull update.
     210        // Finally informs about the successful update.
    211211        return true;
    212212}
     
    297297        do_action( 'bp_type_deleted', $type_term_id, $type_taxonomy );
    298298
    299         // Finally informs about the successfull delete.
     299        // Finally informs about the successful delete.
    300300        return true;
    301301}
  • trunk/src/bp-notifications/classes/class-bp-notifications-notification.php

    r13499 r13772  
    222222         * @global wpdb $wpdb WordPress database object.
    223223         *
    224          * @see wpdb::insert() for further description of paramater formats.
     224         * @see wpdb::insert() for further description of parameter formats.
    225225         *
    226226         * @param array $data {
     
    250250         * @global wpdb $wpdb WordPress database object.
    251251         *
    252          * @see wpdb::update() for further description of paramater formats.
     252         * @see wpdb::update() for further description of parameter formats.
    253253         *
    254254         * @param array $data         Array of notification data to update, passed to
     
    274274         * @global wpdb $wpdb WordPress database object.
    275275         *
    276          * @see wpdb::delete() for further description of paramater formats.
     276         * @see wpdb::delete() for further description of parameter formats.
    277277         *
    278278         * @param array $where        Array of WHERE clauses to filter by, passed to
Note: See TracChangeset for help on using the changeset viewer.