In our blog post, showing a coding below each comment (same as below)
function demo($mimes) {
if ( function_exists( 'current_user_can' ) )
$unfiltered = $user ? user_can( $user, 'unfiltered_html' ) : current_user_can( 'unfiltered_html' );
if ( !empty( $unfiltered ) ) {
$mimes['swf'] = 'application/x-shockwave-flash';
}
retu $mimes;
}
add_filter('upload_mimes','demo');
Please help to remove it, here is the screenshot of this error.
WordPress ...
ما را در سایت WordPress دنبال می کنید
برچسب : نویسنده : استخدام کار wpss بازدید : 304 تاريخ : شنبه 16 مرداد 1395 ساعت: 13:31