Making WordPress.org


Ignore:
Timestamp:
07/29/2022 06:22:42 AM (2 years ago)
Author:
dd32
Message:

Support Forums: Replace dirname( __FILE__ ) with __DIR__.

File:
1 edited

Legend:

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

    r12000 r12001  
    2020
    2121// General includes.
    22 include( dirname( __FILE__ ) . '/inc/class-plugin.php' );
    23 include( dirname( __FILE__ ) . '/inc/class-users.php' );
    24 include( dirname( __FILE__ ) . '/inc/class-user-notes.php' );
    25 include( dirname( __FILE__ ) . '/inc/class-moderators.php' );
    26 include( dirname( __FILE__ ) . '/inc/class-hooks.php' );
    27 include( dirname( __FILE__ ) . '/inc/class-report-topic.php' );
    28 include( dirname( __FILE__ ) . '/inc/class-nsfw-handler.php' );
    29 include( dirname( __FILE__ ) . '/inc/class-stats.php' );
    30 include( dirname( __FILE__ ) . '/inc/class-emails.php' );
    31 include( dirname( __FILE__ ) . '/inc/class-audit-log.php' );
     22include( __DIR__ . '/inc/class-plugin.php' );
     23include( __DIR__ . '/inc/class-users.php' );
     24include( __DIR__ . '/inc/class-user-notes.php' );
     25include( __DIR__ . '/inc/class-moderators.php' );
     26include( __DIR__ . '/inc/class-hooks.php' );
     27include( __DIR__ . '/inc/class-report-topic.php' );
     28include( __DIR__ . '/inc/class-nsfw-handler.php' );
     29include( __DIR__ . '/inc/class-stats.php' );
     30include( __DIR__ . '/inc/class-emails.php' );
     31include( __DIR__ . '/inc/class-audit-log.php' );
    3232
    3333// Compat-only includes.
    34 include( dirname( __FILE__ ) . '/inc/class-dropin.php' );
    35 include( dirname( __FILE__ ) . '/inc/class-support-compat.php' );
    36 include( dirname( __FILE__ ) . '/inc/class-directory-compat.php' );
    37 include( dirname( __FILE__ ) . '/inc/class-theme-directory-compat.php' );
    38 include( dirname( __FILE__ ) . '/inc/class-plugin-directory-compat.php' );
    39 include( dirname( __FILE__ ) . '/inc/class-ratings-compat.php' );
    40 include( dirname( __FILE__ ) . '/inc/class-stickies-compat.php' );
    41 include( dirname( __FILE__ ) . '/inc/class-performance-optimizations.php' );
     34include( __DIR__ . '/inc/class-dropin.php' );
     35include( __DIR__ . '/inc/class-support-compat.php' );
     36include( __DIR__ . '/inc/class-directory-compat.php' );
     37include( __DIR__ . '/inc/class-theme-directory-compat.php' );
     38include( __DIR__ . '/inc/class-plugin-directory-compat.php' );
     39include( __DIR__ . '/inc/class-ratings-compat.php' );
     40include( __DIR__ . '/inc/class-stickies-compat.php' );
     41include( __DIR__ . '/inc/class-performance-optimizations.php' );
    4242
    4343// Instantiate the plugin on load.
Note: See TracChangeset for help on using the changeset viewer.