Changeset 60502
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/html-api/class-wp-html-processor.php
r59747 r60502 1761 1761 $this->insert_html_element( $this->state->current_token ); 1762 1762 1763 // All following conditions depend on "tentative" encoding confidence. 1764 if ( 'tentative' !== $this->state->encoding_confidence ) { 1765 return true; 1766 } 1767 1763 1768 /* 1764 1769 * > If the active speculative HTML parser is null, then: … … 1768 1773 */ 1769 1774 $charset = $this->get_attribute( 'charset' ); 1770 if ( is_string( $charset ) && 'tentative' === $this->state->encoding_confidence) {1775 if ( is_string( $charset ) ) { 1771 1776 $this->bail( 'Cannot yet process META tags with charset to determine encoding.' ); 1772 1777 } … … 1785 1790 is_string( $http_equiv ) && 1786 1791 is_string( $content ) && 1787 0 === strcasecmp( $http_equiv, 'Content-Type' ) && 1788 'tentative' === $this->state->encoding_confidence 1792 0 === strcasecmp( $http_equiv, 'Content-Type' ) 1789 1793 ) { 1790 1794 $this->bail( 'Cannot yet process META tags with http-equiv Content-Type to determine encoding.' );
Note: See TracChangeset
for help on using the changeset viewer.