Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #32308, comment 2


Ignore:
Timestamp:
05/08/2015 09:46:08 AM (9 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32308, comment 2

    initial v1  
    1 Looks like `strip_invalid_text_for_column()` returns a WP_Error object when `siteurl` and `home` options are sanitized: [source:tags/4.2.2/src/wp-includes/formatting.php#L3422].
     1Looks like `wpdb::strip_invalid_text_for_column()` returns a WP_Error object when `siteurl` and `home` options are sanitized: [source:tags/4.2.2/src/wp-includes/formatting.php#L3422].
    22
    33We need to check the returned value and handle accordingly.