Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #54443, comment 3


Ignore:
Timestamp:
11/19/2021 05:16:53 AM (3 years ago)
Author:
dlh
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #54443, comment 3

    initial v1  
    77> when there really isn't any custom CSS post for the ID in the option (not sure when this would be the case TBH)
    88
    9 The custom CSS post isn't created until custom CSS is actually saved in the Customizer. For sites that never use the Customizer or custom CSS, don't provide access to either, the expected ID would be `-1`.
     9The custom CSS post isn't created until custom CSS is actually saved in the Customizer. For sites that never use the Customizer or custom CSS, or don't provide access to either, the expected ID would be `-1`.
    1010
    1111> Is there a way to confirm that the custom css post was not returned from the database because it didn't exist and not because there was an error ... ?