Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/17/2015 11:36:05 PM (10 years ago)
Author:
djpaul
Message:

Rename component admin files to avoid confusion with non-admin files sharing the same name.

This rename de-duplicates the file names and make the context they're loaded in clearer.
This is a change for developer convenience. e.g. some IDEs will offer a shortcut to opening the files by name, but is very confusing when two identically-named files are listed in the results with, usually, no quick way of disambiguating them.

Fixes #6051

File:
1 edited

Legend:

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

    r9455 r9503  
    117117     */
    118118    private function includes() {
    119         require( $this->admin_dir . 'bp-core-actions.php'    );
    120         require( $this->admin_dir . 'bp-core-settings.php'   );
    121         require( $this->admin_dir . 'bp-core-functions.php'  );
    122         require( $this->admin_dir . 'bp-core-components.php' );
    123         require( $this->admin_dir . 'bp-core-slugs.php'      );
    124         require( $this->admin_dir . 'bp-core-tools.php'      );
     119        require( $this->admin_dir . 'bp-core-admin-actions.php'    );
     120        require( $this->admin_dir . 'bp-core-admin-settings.php'   );
     121        require( $this->admin_dir . 'bp-core-admin-functions.php'  );
     122        require( $this->admin_dir . 'bp-core-admin-components.php' );
     123        require( $this->admin_dir . 'bp-core-admin-slugs.php'      );
     124        require( $this->admin_dir . 'bp-core-admin-tools.php'      );
    125125    }
    126126
Note: See TracChangeset for help on using the changeset viewer.