| 1 | | > a comparison against the current values in the database prior to running an update query |
| 2 | | |
| 3 | | Reviewing this again, I wonder if we can use a different approach for the fix. My concern with altering the `use_ssl` meta value is the many other plugins already using the field and possibly expecting the existing type, |
| 4 | | |
| 5 | | > because the DB returns a string value ('1' or '0') while the meta_value is set to a boolean value by default the comparison always fails causing a write when not needed. |
| 6 | | |
| 7 | | Could we cast the values to the same type before/when comparing them? |
| | 1 | Working on a test that more cleanly captures the db write. |