Making WordPress.org


Ignore:
Timestamp:
10/31/2022 03:27:30 AM (20 months ago)
Author:
dd32
Message:

Theme Directory: Force-enable the SEO jetpack module, instead of directly including the Jetpack files.

See #6551.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/functions.php

    r12159 r12160  
    485485}
    486486
    487 if ( class_exists( 'Jetpack' ) ) {
    488 //  include_once WP_CONTENT_DIR . '/plugins/jetpack/modules/seo-tools/jetpack-seo.php';
    489 //  include_once WP_CONTENT_DIR . '/plugins/jetpack/modules/seo-tools/jetpack-seo-posts.php';
    490 //  include_once WP_CONTENT_DIR . '/plugins/jetpack/modules/seo-tools/jetpack-seo-titles.php';
    491 //  include_once WP_CONTENT_DIR . '/plugins/jetpack/modules/seo-tools/jetpack-seo-utils.php';
    492 
    493     if ( class_exists( 'Jetpack_SEO' ) ) {
    494         new Jetpack_SEO;
    495     }
    496 }
    497 
    498487/**
    499488 * Prints markup information in the head of a page.
Note: See TracChangeset for help on using the changeset viewer.