How To Store Every Post Revisions on Each Auto-Save in WordPress with Limit on Versions Count Làm thế nào để Store Mỗi bản xem lại bài Mỗi ngày Auto-Save trong WordPress với giới hạn về Phiên Bản Count
AutoSave feature has been added into WordPress core since AutoSave tính năng đã được thêm vào WordPress lõi kể từ version 2.1 phiên bản 2,1 to protect user from accidental lose of writing or draft when web browser crashes or tab been accidentally closed. để bảo vệ người dùng khỏi tình cờ mất của dự thảo văn bản hoặc khi trang web treo trình duyệt hoặc tab bị vô tình đóng cửa. 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. AutoSave sẽ tự động lưu một bản sao của bài edited hoặc trang mỗi 60 giây cung cấp có sự thay đổi về nội dung trong trình biên tập.
However, there is only ever a maximum of one AutoSave version for any given post. Tuy nhiên, chỉ có bao giờ tối đa là phiên bản AutoSave một cho bất kỳ bài nào. New AutoSaves created will overwrite old AutoSaves. AutoSaves mới tạo ra sẽ ghi đè lên AutoSaves cũ. 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. Bên cạnh đó, AutoSaves được lưu trữ như là một kiểu đặc biệt sửa đổi để tự động lưu với một phiên bản gần đây của các dữ liệu không ghi đè lên nội dung thực tế được xuất bản, và được sử dụng để khôi phục lại chưa được lưu công việc chỉ khi cần thiết.
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 Đối với webmaster của những ai muốn tham gia một lịch sử sửa đổi bài theo dõi dựa trên mỗi và mọi AutoSave chép được thực hiện, có một tùy chọn mà lực lượng WordPress để tiết kiệm từng tự động lưu bản sao của nội dung đăng bài cũng như là một phiên bản đăng bài, một tính năng được giới thiệu trong 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: Để lưu và lưu trữ một bài hoặc trang như là một phiên bản sửa đổi bất cứ khi nào AutoSave được kích hoạt, thêm vào dòng mã sau đây để wp-config.php file cấu hình:
define('WP_POST_REVISIONS', int );
where int is an integer bigger than 0 (0 represents false which nơi int là một số nguyên lớn hơn 0 (0 đại diện cho sai mà disable post revisions storage vô hiệu hóa sửa đổi bài lưu trữ ). ). 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. Tập số nguyên sẽ đại diện cho giới hạn số lượng các phiên bản đăng WordPress sẽ lưu và lưu trữ cho mỗi bài hoặc mỗi trang trong cơ sở dữ liệu. Each AutoSave session will increase the revision count by 1 too. Mỗi phiên AutoSave sẽ tăng số phiên bản của 1 quá. If the number of revisions already exceed the limit, oldest revisions are automatically deleted. Nếu số phiên bản đã vượt quá giới hạn, lâu đời nhất sửa đổi sẽ được tự động xóa. Note that AutoSave will always have its own saved copy to reflect the most current changes. Lưu ý rằng AutoSave sẽ luôn luôn có bản sao lưu của riêng mình để phản ánh những thay đổi mới nhất.
IMPORTANT : The page is machine translated and provided "as is" without warranty. Quan trọng: Sửa là máy dịch và cung cấp "như là" không có bảo hành. Machine translation may be difficult to understand. Máy dịch thuật có thể khó hiểu. Please refer to Vui lòng tham khảo original English article bản gốc tiếng Anh bài viết whenever possible. bất cứ khi nào có thể.
Related Articles Bài viết liên quan
- Disable and Turn Off Post Revisions Tracking in WordPress 2.6 or Above Vô hiệu hoá và Turn Off Đăng Revisions Theo dõi trong WordPress 2,6 hoặc Trên
- How to Delete Existing WordPress Post Revisions Stored/Saved Làm thế nào để Xóa hiện WordPress Đăng Revisions Lưu trữ / Saved
- How to Change the Frequency or Interval WordPress Auto Saves An Editing Post or Page Làm thế nào để thay đổi các tần số hoặc Interval WordPress Auto Tiết kiệm An Post Chỉnh sửa hoặc Trang
- Paginating or Split WordPress Post or Page with NextPage in WordPress Not Working Paginating hoặc Split WordPress Đăng hoặc Trang với NextPage trong WordPress Không phải làm việc
- Fix Firefox Does Not Save, Store or Remember Password On Some Sites Permanently for Always Auto-Complete Fix Firefox Does Không Lưu, Store hoặc Ghi nhớ mật khẩu Trên một số trang web Vĩnh viễn cho Luôn Auto-Complete
- Retrieve and Get WordPress Post ID Outside the Loop as PHP Variable Lấy và Nhận WordPress Post ID Bên ngoài Loop như PHP Variable
- Adding Extra More Fields to WordPress Write/Edit Post/Page Right Column Thêm bổ sung thêm Fields để WordPress Viết / Sửa Post / Trang Ngay Cột
- Export Products from Amazon, eBay and Yahoo Store to Post Items into Google Base with Store Connector Xuất khẩu sản phẩm từ Amazon, eBay và Yahoo Lưu để Tìm bài thành với Google Base Store Connector
- How to Disable Image and Video Captions Feature and Auto Adding of Shortcode in WordPress 2.6 Làm thế nào để hình ảnh và video Captions Vô hiệu hoá tính năng và Auto Thêm của Shortcode trong WordPress 2,6
- VistaTcpPatch Windows Vista TCP Half Open Limit Auto Patcher GUI Version VistaTcpPatch Windows Vista TCP Half Open Limit Auto Patcher GUI Phiên bản









































