Make WordPress Core

Changeset 6347


Ignore:
Timestamp:
11/28/2007 08:52:55 PM (14 years ago)
Author:
westi
Message:

Correct support for mt_allow_comments to cover all possible values. Fixes #5366 props redsweater/josephscott

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xmlrpc.php

    r6339 r6347  
    10111011                switch((int) $content_struct["mt_allow_comments"]) {
    10121012                    case 0:
     1013                    case 2:
    10131014                        $comment_status = "closed";
    10141015                        break;
     
    12261227                switch((int) $content_struct["mt_allow_comments"]) {
    12271228                    case 0:
     1229                    case 2:
    12281230                        $comment_status = "closed";
    12291231                        break;
Note: See TracChangeset for help on using the changeset viewer.