Making WordPress.org


Ignore:
Timestamp:
12/14/2021 01:26:20 AM (2 years ago)
Author:
dd32
Message:

Support: HelpHub: Attempt to replace the TOC plugin within the HelpHub site with the original WordPress.org-supported TOC plugin it was based on.

The HelpHub plugin was based on the Handbooks plugin, but customised and further plugin-ised, resulting in two different plugins on WordPress.org doing the same thing, in different ways.

This is an attempt to make it easier to sync the Handbook plugin changes to Support pages.

See #5979, #5963.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/support-helphub/support-helphub.php

    r8254 r11365  
    1616namespace WordPressdotorg\HelpHub;
    1717
    18 require_once( dirname( __FILE__ ) . '/inc/helphub-codex-languages/class-helphub-codex-languages.php' );
    19 require_once( dirname( __FILE__ ) . '/inc/helphub-contributors/helphub-contributors.php' );
    20 require_once( dirname( __FILE__ ) . '/inc/helphub-post-types/helphub-post-types.php' );
    21 require_once( dirname( __FILE__ ) . '/inc/helphub-read-time/helphub-read-time.php' );
    22 require_once( dirname( __FILE__ ) . '/inc/table-of-contents-lite/table-of-contents-lite.php' );
    23 require_once( dirname( __FILE__ ) . '/inc/helphub-front-page-blocks/helphub-front-page-blocks.php' );
    24 require_once( dirname( __FILE__ ) . '/inc/helphub-customroles/class-helphub-custom-roles.php' );
    25 require_once( dirname( __FILE__ ) . '/inc/helphub-manager/class-helphub-manager.php' );
     18define( 'PLUGIN', __FILE__ );
     19
     20require __DIR__ . '/inc/helphub-codex-languages/class-helphub-codex-languages.php';
     21require __DIR__ . '/inc/helphub-contributors/helphub-contributors.php';
     22require __DIR__ . '/inc/helphub-post-types/helphub-post-types.php';
     23require __DIR__ . '/inc/helphub-read-time/helphub-read-time.php';
     24require __DIR__ . '/inc/helphub-front-page-blocks/helphub-front-page-blocks.php';
     25require __DIR__ . '/inc/helphub-customroles/class-helphub-custom-roles.php';
     26require __DIR__ . '/inc/helphub-manager/class-helphub-manager.php';
     27require __DIR__ . '/inc/handbook-toc/index.php';
Note: See TracChangeset for help on using the changeset viewer.