[wp-xmlrpc] mt_allow_comments = 2

Joseph Scott joseph at randomnetworks.com
Thu Nov 29 21:29:03 GMT 2007


Daniel noted that other systems support mt_allow_comments = 2, that  
allows existing comments to be shown, but no new ones added.   
WordPress doesn't have support for this feature, but some XML-RPC  
clients might be sending this value anyway.  In the past if a client  
sent a 2 it would be seen as an invalid value and the default blog  
setting for allow comments would be used, which is more often than  
not set to allow comments.  Now 2 will be treated the same way as  
zero, it will turn off comments on a post.

This is detailed in http://trac.wordpress.org/ticket/5366 and was  
committed to -trunk http://trac.wordpress.org/changeset/6347  
yesterday.  If you have a client that is impacted by this (i.e. you  
will send mt_allow_comments = 2 in some cases) then please test this  
out so that it works as expected in 2.4 when it is released in  
January 2008.

Thanks.

--
Joseph Scott
http://joseph.randomnetworks.com/




More information about the wp-xmlrpc mailing list