mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-22 11:03:43 +03:00
parent
c7e329ec32
commit
dc8ef43ebd
8
plugins/wporg-5ftf/includes/miscellaneous.php
Normal file
8
plugins/wporg-5ftf/includes/miscellaneous.php
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace WordPressDotOrg\FiveForTheFuture\Miscellaneous;
|
||||||
|
|
||||||
|
add_action( 'after_setup_theme', function() {
|
||||||
|
// These alternate versions don't exist for this subsite, so the links would just lead to 404 errors.
|
||||||
|
remove_action( 'wp_head', 'WordPressdotorg\Theme\hreflang_link_attributes' );
|
||||||
|
} );
|
|
@ -30,6 +30,7 @@ function load() {
|
||||||
require_once get_includes_path() . 'pledge-form.php';
|
require_once get_includes_path() . 'pledge-form.php';
|
||||||
require_once get_includes_path() . 'xprofile.php';
|
require_once get_includes_path() . 'xprofile.php';
|
||||||
require_once get_includes_path() . 'pledge-log.php';
|
require_once get_includes_path() . 'pledge-log.php';
|
||||||
|
require_once get_includes_path() . 'miscellaneous.php';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue