وردپرس

Options page displays incorrect GTM time


On the options page, the callout that says “Current GMT time is: xx-x-xxx @ xx:xx” displays the local time of the WP install, not GTM. I believe the issue is on line 4 of options.php:

$now=current_time( 'timestamp');

This should be changed to the following to return GTM time:

$now=current_time( 'timestamp', true );

پایان/ مرجع وب و فناوری

مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد

منبع: انجمن وردپرس

دکمه بازگشت به بالا