หัวข้อ: *** ช่วยหน่อยครับ ปิด Upgrade Wordpress ทำยังไง?? เริ่มหัวข้อโดย: imkingdom ที่ 12 กันยายน 2013, 01:10:41 ต้องการปิด Upgrade Wordpress เพราะ theme ที่ใช้รองรับแค่ V3.5 พอใช้ 3.6 ก็เกิด error ขึ้น มีบางส่วนขาดหายไป
แต่ระบบของ Wordpress ก็จะพยายามให้กด Upgrade ให้ได้ ไม่กดก็เข้า wp-admin ไม่ได้ ตามรูป ใครรู้วิธีปิด upgrade ช่วยหน่อยครับ Database Update Required WordPress has been updated! Before we send you on your way, we have to update your database to the newest version. (http://image.ohozaa.com/i/c69/30iH0E.png) ขอบคุณครับ หัวข้อ: Re: *** ช่วยหน่อยครับ ปิด Upgrade Wordpress ทำยังไง?? เริ่มหัวข้อโดย: pEEr@pong ที่ 12 กันยายน 2013, 01:23:28 เปิด --> theme/ชื่อธีม/function.php
คัดลอก --> อ้างถึง add_action('admin_menu','wphidenag'); function wphidenag() { remove_action( 'admin_notices', 'update_nag', 3 ); } วางไว้ก่อน ?> ล่างสุด หรือใช้ plugin http://wordpress.org/plugins/disable-wordpress-core-update ลองดูนะครับ :wanwan013: :wanwan013: หัวข้อ: Re: *** ช่วยหน่อยครับ ปิด Upgrade Wordpress ทำยังไง?? เริ่มหัวข้อโดย: imkingdom ที่ 12 กันยายน 2013, 08:44:45 ขอบคุณ คุณ pEEr@pong มากครับที่ช่วยเข้ามาตอบให้ แต่ว่าลองทำตามดูแล้วไม่หาย
เลยลองพยายามค้นดูในบอร์ดนอก มาจบที่วิธีนี้ครับ 1. Go to ftp where you have installed wordpress and find folder claled wp-include 2. find version.php file in wp-include folder 3. open version.php and find code $wp_db_version 4. check value assigned to $wp_db_version 5. goto your cpanel and open php my admin 6. goto the table called wp_options 7. find db_version and check value in that. 8. the value must be the same in version.php $wp_db_version and db_version. หัวข้อ: Re: *** ช่วยหน่อยครับ ปิด Upgrade Wordpress ทำยังไง?? เริ่มหัวข้อโดย: kl548380 ที่ 12 กันยายน 2013, 10:50:31 เปิด --> theme/ชื่อธีม/function.php คัดลอก --> อ้างถึง add_action('admin_menu','wphidenag'); function wphidenag() { remove_action( 'admin_notices', 'update_nag', 3 ); } วางไว้ก่อน ?> ล่างสุด หรือใช้ plugin [url]http://wordpress.org/plugins/disable-wordpress-core-update[/url] ลองดูนะครับ :wanwan013: :wanwan013: +1 ใช้งานได้ค่ะ |