Make WordPress Core

Changeset 31442


Ignore:
Timestamp:
02/13/2015 04:21:47 AM (10 years ago)
Author:
SergeyBiryukov
Message:

_list_meta_row() should always return a string.

props ipm-frommen.
fixes #31310.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/template.php

    r31440 r31442  
    583583
    584584    if ( is_protected_meta( $entry['meta_key'], 'post' ) )
    585         return;
     585        return '';
    586586
    587587    if ( !$update_nonce )
     
    598598            // This is a serialized array/object so we should NOT display it.
    599599            --$count;
    600             return;
     600            return '';
    601601        }
    602602    }
Note: See TracChangeset for help on using the changeset viewer.