Skip to:
Content

BuddyPress.org

Changeset 10091


Ignore:
Timestamp:
09/03/2015 02:35:20 PM (9 years ago)
Author:
boonebgorges
Message:

Correct typo and clean up formatting in bp_attachments_get_template_part() inline comments.

File:
1 edited

Legend:

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

    r10039 r10091  
    394394    $attachment_template_part = 'assets/_attachments/' . $slug;
    395395
    396     // Load the attachment template in WP Administratin screens
     396    // Load the attachment template in WP Administration screens.
    397397    if ( is_admin() && ( ! defined( 'DOING_AJAX' ) || ! DOING_AJAX ) ) {
    398398        $attachment_admin_template_part = buddypress()->themes_dir . '/bp-legacy/buddypress/' . $attachment_template_part . '.php';
    399399
    400         // Check the template part exists
     400        // Check whether the template part exists.
    401401        if ( ! file_exists( $attachment_admin_template_part ) ) {
    402402            return false;
    403403        }
    404404
    405         // load the template part
     405        // Load the template part.
    406406        require( $attachment_admin_template_part );
    407407
Note: See TracChangeset for help on using the changeset viewer.