How To Store Every Post Revisions on Each Auto-Save in WordPress with Limit on Versions Count Kā uzglabāt Katru Post Revisions par katru Auto-Izņemot WordPress ar Ierobežojums attiecībā uz versijas Count
AutoSave feature has been added into WordPress core since Automātiskā iezīme ir pievienota vērā WordPress kodols kopš version 2.1 versiju 2,1 to protect user from accidental lose of writing or draft when web browser crashes or tab been accidentally closed. lai aizsargātu lietotāju no nejaušas zaudēt rakstīšanas vai projektiem, ja interneta pārlūkprogrammā atteici vai cilnē ir nejauši slēgtas. AutoSave will auto save a copy of edited post or page every 60 seconds provided there is a change on the content in the editor. Automātiskā būs auto saglabātu kopiju edited pastu vai lapu ik pēc 60 sekundes, ja ir izmaiņas attiecībā uz saturu, editor.
However, there is only ever a maximum of one AutoSave version for any given post. Tomēr ir tikai maksimāli par vienu Automātiskā versija kādā konkrētā amatā. New AutoSaves created will overwrite old AutoSaves. New AutoSaves izveidojis tiks pārrakstīta veco AutoSaves. Beside, AutoSaves are stored as a special type of revision so that the auto saved with a more recent version of data does not overwrite actual published content, and is used to restore unsaved work only when necessary. Blakus, AutoSaves tiek glabātas kā īpaša veida pārskatīšanu, lai auto saglabāts ar vairāk pēdējā versija datos netiek pārrakstīta faktisko publicēts saturs, un to izmanto, lai atjaunotu nesaglabātās darbojas tikai tad, kad tas ir nepieciešams.
For webmaster who wants to take a post revision history tracking based on each and every AutoSave copy been made, there is an option that force WordPress to save each auto saved copy of post content also as a post revision, a feature introduced in Par webmaster, kas grib pieņemt post caurskatīšanas vēsturi uzskaites, pamatojoties uz katra Automātiskā kopiju veikts, pastāv iespēja, ka spēkā WordPress, lai saglabātu katru auto saglabāto kopiju post saturs arī kā post pārskatīšana, iezīme ieviesti WordPress 2.6 WordPress 2,6 . .
To save and store a post or page as a revision version whenever AutoSave is triggered, add in the following line of code to wp-config.php configuration file: Lai saglabātu un saglabāt pastu vai lapu kā pārskatīta versija kad Automātiskā ir pārsniegts, pievienot šādu līniju kodu wp-config.php konfigurācijas failu:
define('WP_POST_REVISIONS', int );
where int is an integer bigger than 0 (0 represents false which kur int ir skaitlis lielāks par 0 (0 ir nepatiess, kas disable post revisions storage disable post revisions glabāšana ). ). The integer number set will represent the limit of number of post revisions WordPress going to save and store per post or per page in database. Šis skaitlis skaits, kas pārstāv robežu skaitu pēc revisions WordPress gatavojas saglabāt un uzglabāt pa pastu vai pa lapu datu bāzi. Each AutoSave session will increase the revision count by 1 too. Katra Automātiskā sesija palielinās pārskatīšanu skaits līdz 1 too. If the number of revisions already exceed the limit, oldest revisions are automatically deleted. Ja vairākas pārskatīšanas jau pārsniedz limitu, vecākais labojumi automātiski tiek svītrots. Note that AutoSave will always have its own saved copy to reflect the most current changes. Ievērojiet, ka Automātiskā vienmēr ir sava saglabāto kopiju, kas atspoguļo pašu jaunāko izmaiņām.
IMPORTANT : The page is machine translated and provided "as is" without warranty. SVARĪGI: Šī lapa ir mašīna tulkoto un ar nosacījumu ", kas ir" bez garantijas. Machine translation may be difficult to understand. Machine translation var būt grūti saprast. Please refer to Lūdzu, skatiet original English article oriģināls angļu rakstu whenever possible. kad vien iespējams.
Related Articles Saistītie raksti
- Disable and Turn Off Post Revisions Tracking in WordPress 2.6 or Above Disable un Izslēgt Post Revisions sekošanas WordPress 2,6 vai virs
- How to Delete Existing WordPress Post Revisions Stored/Saved Kā izdzēst esošos WordPress Post Revisions Uzglabātajos / Saglabātās
- How to Change the Frequency or Interval WordPress Auto Saves An Editing Post or Page Kā nomainīt biežumu vai Interval WordPress Auto Ietaupa An Editing Post vai
- Paginating or Split WordPress Post or Page with NextPage in WordPress Not Working Paginating vai sadalīt WordPress Post vai ar Nextpage in WordPress Not Working
- Fix Firefox Does Not Save, Store or Remember Password On Some Sites Permanently for Always Auto-Complete Fix Firefox Neattiecas Save, veikalā vai Atcerēties paroli Daži Sites Pastāvīgi par Vienmēr Auto-Complete
- Retrieve and Get WordPress Post ID Outside the Loop as PHP Variable Nolasītu un Get WordPress Post ID Ārpus Cikls kā PHP Mainīgais
- Adding Extra More Fields to WordPress Write/Edit Post/Page Right Column Ievietošanas Ekstra Vairāk laukiem WordPress Write / Edit Post / Page Right Column
- Export Products from Amazon, eBay and Yahoo Store to Post Items into Google Base with Store Connector Export Produkti no Amazon "," eBay "un Yahoo Store Post Items Google Base ar Store Connector
- How to Disable Image and Video Captions Feature and Auto Adding of Shortcode in WordPress 2.6 Kā Disable Image un video parakstus Feature un Auto pievienojot Shortcode in WordPress 2,6
- VistaTcpPatch Windows Vista TCP Half Open Limit Auto Patcher GUI Version VistaTcpPatch Windows Vista TCP Half Open Limit Auto Patcher GUI Version









































