Make WordPress Core

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


Ignore:
Timestamp:
03/25/2023 02:40:05 PM (2 years ago)
Author:
pedromendonca
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #57981, comment 2

    initial v1  
    11Another options to what I've suggested in the PR:
    2 - Leave the `export_enrty()` untouched and make sure the `match_begin_and_end_newlines()` checks both for `null` and `''` (empty) values.
     2- Leave the `export_entry()` untouched and make sure the `match_begin_and_end_newlines()` checks both for `null` and `''` (empty) values.
    33- Use `strval( $translation )` to make sure that only strings are sent to `match_begin_and_end_newlines()`, cleaning up any `null` $translation values.
    44