Make WordPress Core


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

Use get_option instead of get_settings. Just 'cause.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/moderation.php

    r4005 r4144  
    4848            case 'approve':
    4949                wp_set_comment_status($key, 'approve');
    50                 if ( get_settings('comments_notify') == true ) {
     50                if ( get_option('comments_notify') == true ) {
    5151                    wp_notify_postauthor($key);
    5252                }
     
    126126    foreach($comments as $comment) {
    127127    ++$i;
    128     $comment_date = mysql2date(get_settings("date_format") . " @ " . get_settings("time_format"), $comment->comment_date);
     128    $comment_date = mysql2date(get_option("date_format") . " @ " . get_option("time_format"), $comment->comment_date);
    129129    $post_title = $wpdb->get_var("SELECT post_title FROM $wpdb->posts WHERE ID='$comment->comment_post_ID'");
    130130    if ($i % 2) $class = 'js-unapproved alternate';
Note: See TracChangeset for help on using the changeset viewer.