[wp-trac] [WordPress Trac] #41099: update_option return value ambiguous
WordPress Trac
noreply at wordpress.org
Mon Apr 15 16:37:15 UTC 2019
#41099: update_option return value ambiguous
--------------------------------+------------------------------
Reporter: cloughit | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Options, Meta APIs | Version: 4.8
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------------+------------------------------
Comment (by travisnorthcutt):
As a point of reference, when @cloughit refers to line 308, I believe they
are referencing the return false at this line:
https://github.com/WordPress/WordPress/blob/b3a9479bd30bee60e1486f2e23e4772d4957af7c
/wp-includes/option.php#L308
{{{#!php
if ( $value === $old_value || maybe_serialize( $value ) ===
maybe_serialize( $old_value ) ) {
return false;
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41099#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list