[wp-trac] [WordPress Trac] #40019: wp_get_custom_css_post returns Post that are not Custom CSS CPTs
WordPress Trac
noreply at wordpress.org
Thu Mar 2 20:23:08 UTC 2017
#40019: wp_get_custom_css_post returns Post that are not Custom CSS CPTs
--------------------------+-----------------------------
Reporter: starepod | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: 4.7.2
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
I'm not sure how it happened, but the Post ID for a standard Post was used
as the value for custom_css_post_id in the theme-mods_themename option.
Even though it is not a Custom CSS Post, it's content was filtered and
returned as if it were.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40019>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list