Skip to content
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.

Commit

Permalink
This fixes the following two errors: Notice: automatic_feed_links is …
Browse files Browse the repository at this point in the history
…deprecated since version 3.0! Use add_theme_support( 'automatic-feed-links' ) instead. Notice: Use of undefined constant core_mods - assumed 'core_mods'
  • Loading branch information
amereservant committed Sep 9, 2011
1 parent 8aa6329 commit 1f663b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
require_once($locale_file);

// Add RSS links to <head> section
automatic_feed_links();
add_theme_support('automatic-feed-links');

// Load jQuery
if ( !function_exists(core_mods) ) {
if ( !function_exists('core_mods') ) {
function core_mods() {
if ( !is_admin() ) {
wp_deregister_script('jquery');
Expand Down

1 comment on commit 1f663b2

@Nikita-S-Doroshenko
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Please sign in to comment.