Disable / turn off post revisions in WordPress / निष्क्रिय WordPress में बंद के बाद संशोधन

ADVERTISEMENT विज्ञापन
To get our software and web/tips via email, sign up for हमारे सॉफ़्टवेयर और वेब ईमेल द्वारा / सुझाव हो, साइन अप करने के लिए daily email newsletter दैनिक ईमेल न्यूज़लेटर . .
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 आदेश से पहले, यह बेहतर है होने से ....)

ADVERTISEMENT विज्ञापन

define('WP_POST_REVISIONS', false); परिभाषित ( 'WP_POST_REVISIONS, झूठे);

To get our latest articles, हमारे नवीनतम लेख हो, click here to sign up यहाँ क्लिक करें साइन अप करने के लिए for our free email newsletter or subscribe to हमारे निःशुल्क ईमेल न्यूज़लेटर के लिए या सदस्यता लेने के लिए RSS feed आरएसएस फ़ीड

§ Leave a Reply § एक उत्तर दें छोड़ दो