[wp-trac] [WordPress Trac] #20564: Framework for storing revisions of Post Meta

WordPress Trac noreply at wordpress.org
Sun Mar 31 00:54:57 UTC 2013


#20564: Framework for storing revisions of Post Meta
-------------------------------------------------+------------------
 Reporter:  alexkingorg                          |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  3.6
Component:  Revisions                            |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing needs-codex  |
-------------------------------------------------+------------------

Comment (by azaozz):

 Been seeing this lately in the postmeta table, post IDs 9212, 9213 and
 9214 are revisions and all meta is empty (no values):
 {{{
 4040    9214    _wp_format_video
 4039    9214    _wp_format_audio
 4038    9214    _wp_format_image
 4037    9214    _wp_format_quote_source
 4036    9214    _wp_format_quote
 4035    9214    _wp_format_url
 4032    9213    _wp_format_video
 4031    9213    _wp_format_audio
 4030    9213    _wp_format_image
 4029    9213    _wp_format_quote_source
 4028    9213    _wp_format_quote
 4027    9213    _wp_format_url
 4022    9212    _wp_format_video
 4021    9212    _wp_format_audio
 4020    9212    _wp_format_image
 4019    9212    _wp_format_quote_source
 4018    9212    _wp_format_quote
 4017    9212    _wp_format_url
 }}}

 Seems we are doing `isset()` and should be doing `! empty()` somewhere.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20564#comment:42>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list