Subscribe to RSS feed आरएसएस फ़ीड की सदस्यता लें or या follow me मुझे का पालन करें on Twitter? पर चहचहाना?
Yesterday, I shared a single-line MySQL command to कल, मैं एक रेखा से साझा कमान MySQL delete all post revisions सब के बाद संशोधन को हटाना from a WordPress database. से एक WordPress डेटाबेस. While this might help to delete past revisions, it would be easier if we could disable post revisions completely. हालांकि यह पिछले संशोधन को नष्ट मदद कर सकता है, अगर हम पूरी तरह निष्क्रिय करने के बाद संशोधन हो सकता है आसान हो जाएगा.
Turning off post revisions, the WordPress “feature”, is as easy as adding the line below to your wp-config.php file (found in the same folder as wp-content and wp-admin folders). के रूप में के रूप में अपने WP-config.php फाइल को नीचे पंक्ति जोड़ने आसान (WP के रूप में एक ही फ़ोल्डर में छुट्टी के बाद संशोधन टर्निंग, WordPress "सुविधा" है, पाया सामग्री और WP-व्यवस्थापक फ़ोल्डर्स). Do not forget to backup your MySQL database before adding the code (although technically, this isn'ta DB command, it is better to be safe than….) सुरक्षित आपके MySQL डाटाबेस बैकअप के लिए मत भूलना नहीं कोड जोड़ने (हालांकि तकनीकी तौर पर, इस isn'ta DB आदेश से पहले, यह बेहतर है होने से ....)
define('WP_POST_REVISIONS', false); परिभाषित ( 'WP_POST_REVISIONS, झूठे);
Related reading संबंधित पठन
- Delete post revisions in WordPress हटाएँ WordPress में पोस्ट संशोधन
- Turn off Diggbar from viewing preferences Diggbar बंद वरीयताओं को देखने से करें
- How to disable hibernation in Windows Vista Windows Vista में निष्क्रिय सीतनिद्रा में कैसे
- Disable balloon popup warnings in Windows XP अक्षम गुब्बारा Windows XP में पॉपअप चेतावनी