Making WordPress.org


Ignore:
Timestamp:
04/05/2019 10:44:43 AM (6 years ago)
Author:
vedjain
Message:

WC Blocks: Move shared files to \includes for logical file structure

Files for featured-image and grid-layout are not pure views and have a lot of php logic inside them. So it makes more sense for them to live inside includes folder instead of shared folder.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/blocks/blocks.php

    r8566 r8598  
    1212 */
    1313function load() {
    14     require_once PLUGIN_DIR . 'view/shared/grid-layout.php';
    15     require_once PLUGIN_DIR . 'view/shared/featured-image.php';
     14    require_once PLUGIN_DIR . 'includes/shared/grid-layout.php';
     15    require_once PLUGIN_DIR . 'includes/shared/featured-image.php';
    1616
    1717    require_once PLUGIN_DIR . 'includes/shared.php';
Note: See TracChangeset for help on using the changeset viewer.