Make WordPress Core


Ignore:
Timestamp:
08/30/2006 09:46:31 PM (20 years ago)
Author:
ryan
Message:

Use get_option instead of get_settings. Just 'cause.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post.php

    r4133 r4144  
    561561                        $comment_status = 'closed';
    562562                else
    563                         $comment_status = get_settings('default_comment_status');
     563                        $comment_status = get_option('default_comment_status');
    564564        }
    565565        if ( empty($ping_status) )
    566                 $ping_status = get_settings('default_ping_status');
     566                $ping_status = get_option('default_ping_status');
    567567        if ( empty($post_pingback) )
    568568                $post_pingback = get_option('default_pingback_flag');
     
    12001200                        $comment_status = 'closed';
    12011201                else
    1202                         $comment_status = get_settings('default_comment_status');
     1202                        $comment_status = get_option('default_comment_status');
    12031203        }
    12041204        if ( empty($ping_status) )
    1205                 $ping_status = get_settings('default_ping_status');
     1205                $ping_status = get_option('default_ping_status');
    12061206        if ( empty($post_pingback) )
    12071207                $post_pingback = get_option('default_pingback_flag');
Note: See TracChangeset for help on using the changeset viewer.