[wp-trac] [WordPress Trac] #48917: Backslash issue
WordPress Trac
noreply at wordpress.org
Mon Dec 9 17:31:22 UTC 2019
#48917: Backslash issue
-----------------------------+----------------------------------------
Reporter: rex.rony | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: General | Version: 5.3
Severity: critical | Resolution: invalid
Keywords: has-screenshots | Focuses: administration, multisite
-----------------------------+----------------------------------------
Changes (by garrett-eclipse):
* keywords: has-screenshots dev-feedback post-update-issue => has-
screenshots
* status: new => closed
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
As @dkarfa mentioned the support forums are your best avenue for this.
That being said just wanted to point out you don't need to escape the
single quotes inside PHP calls as they get rendered before your HTML so
hopefully the following illustrates that;
`<meta charset="<?php bloginfo( 'charset' ); ?>">`
*This should avoid your error, and you can just update the rest of your
PHP calls as they won't need to have their single quotes escaped.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48917#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list