diff --git a/src/wp-admin/includes/deprecated.php b/src/wp-admin/includes/deprecated.php index ab5ddafd17..e65fe5a79c 100644 --- a/src/wp-admin/includes/deprecated.php +++ b/src/wp-admin/includes/deprecated.php @@ -1491,3 +1491,26 @@ function post_form_autocomplete_off() { echo ' autocomplete="off"'; } } + +/** + * Display JavaScript on the page. + * + * @since 3.5.0 + * @deprecated 4.9.0 + */ +function options_permalink_add_js() { + ?> + + - -set_help_sidebar( '
' . __('Support Forums') . '
' ); -add_filter('admin_head', 'options_permalink_add_js'); - $home_path = get_home_path(); $iis7_permalinks = iis7_supports_permalinks(); $permalink_structure = get_option( 'permalink_structure' );