if ( isset($content_struct['mt_allow_pings']) ) {
            if ( !is_numeric($content_struct['mt_allow_pings']) ) {
                switch ( $content_struct['mt_allow_pings'] ) {
                    case 'closed':
                        $ping_status = 'closed';