Ticket #31373: 31373-empty-fix.diff
File 31373-empty-fix.diff, 580 bytes (added by , 10 years ago) |
---|
-
src/wp-admin/includes/class-wp-press-this.php
640 640 $key = $this->_limit_string( wp_unslash( $key ) ); 641 641 642 642 // Sanity check. $key is usually things like 'title', 'description', 'keywords', etc. 643 if ( empty($key ) || strlen( $key ) > 100 ) {643 if ( ( empty( $key ) && 0 != $key ) || strlen( $key ) > 100 ) { 644 644 continue; 645 645 } 646 646