Skip to content

Commit

Permalink
fix: load optional modules after settings (#3165)
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiulodro authored Jun 6, 2024
1 parent fae4bd1 commit 69cc5ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions includes/class-newspack.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,6 @@ private function includes() {
include_once NEWSPACK_ABSPATH . 'includes/revisions-control/class-revisions-control.php';
include_once NEWSPACK_ABSPATH . 'includes/authors/class-authors-custom-fields.php';

include_once NEWSPACK_ABSPATH . 'includes/optional-modules/class-rss.php';
include_once NEWSPACK_ABSPATH . 'includes/optional-modules/class-media-partners.php';

include_once NEWSPACK_ABSPATH . 'includes/starter_content/class-starter-content-provider.php';
include_once NEWSPACK_ABSPATH . 'includes/starter_content/class-starter-content-generated.php';
include_once NEWSPACK_ABSPATH . 'includes/starter_content/class-starter-content-wordpress.php';
Expand Down Expand Up @@ -167,6 +164,9 @@ private function includes() {
include_once NEWSPACK_ABSPATH . 'includes/polyfills/class-amp-polyfills.php';
include_once NEWSPACK_ABSPATH . 'includes/class-performance.php';

include_once NEWSPACK_ABSPATH . 'includes/optional-modules/class-rss.php';
include_once NEWSPACK_ABSPATH . 'includes/optional-modules/class-media-partners.php';

if ( Donations::is_platform_nrh() ) {
include_once NEWSPACK_ABSPATH . 'includes/class-nrh.php';
}
Expand Down

0 comments on commit 69cc5ac

Please sign in to comment.