[wp-trac] [WordPress Trac] #53217: Remove some columns from the wp_posts table (replace them with meta values)

WordPress Trac noreply at wordpress.org
Mon May 17 09:18:09 UTC 2021


#53217: Remove some columns from the wp_posts table (replace them with meta values)
-------------------------------+------------------------------
 Reporter:  alvarofranz        |       Owner:  (none)
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:
 Keywords:                     |     Focuses:
-------------------------------+------------------------------
Changes (by alvarofranz):

 * type:  defect (bug) => enhancement


Comment:

 @SergeyBiryukov, thanks for your attention and feedback. Really appreciate
 it.

 Will leave here the following three things that I'm going to look into as
 soon as I can. Also I am new to the Make WP community and am not
 familiarized with how things work here. If someone has more considerations
 or solid reasons for this being a good idea or a stupid idea, I would
 thank them being shared.

 1. List the core files that should be updated. Recognize the involved
 functions/methods and think how the change would be done in an optimal
 way.

 2. Backwards compatibility. Do plugins use those fields directly with
 plain SQL queries? If they use the builtin WP querying tools, is it
 possible to emulate the behavior so that plugins won't even notice the
 change?

 3. Performance. Once the changes have been executed in a local install,
 see how they affect performance.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53217#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list