Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #14558, comment 22


Ignore:
Timestamp:
09/05/2019 03:00:14 AM (5 years ago)
Author:
samjco
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14558, comment 22

    v1 v2  
    1 @pento But what if on viewing the rendered table (wp-admin/edit.php?post_type=myCPT), there is a function (before table renders) that checks to see if there was any modification to the post table, if true, the myCPT.JSON file gets overwritten, if false, the table renders from the last saved myCPT.JSON file. What do you think?
     1@pento But what if on viewing the rendered table (wp-admin/edit.php?post_type=myCPT), there is a function (before table renders) that checks to see if there was any modification to the post table, if true, the myCPT.JSON file gets overwritten, if false, the table renders from the last saved myCPT.JSON file.
     2
     3This way when a post is updated, it updates as normal using SQL. But the rendered table source is JSON (or even a flatten table and not json). What do you think?
     4
     5Having a flatten form of data might prove very helpful if the search is searching the flatten data.
     6