[wp-trac] [WordPress Trac] #36600: Selective refresh finds selected selector throughout the whole theme/site.
WordPress Trac
noreply at wordpress.org
Fri Apr 22 00:41:14 UTC 2016
#36600: Selective refresh finds selected selector throughout the whole theme/site.
-------------------------------+------------------------------
Reporter: helloguna1 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: 4.5
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses: javascript
-------------------------------+------------------------------
Comment (by helloguna1):
Thank you @westonruter, sorry I did not explain that clearly. It doesn't
work as in nothing happens, not even a refresh.
As for trying to get things to work, I fully understand what I have to do
now. I was trying to figure out if using CSS selectors to target pages
would be better or I have to resort to functions like `is_page_template()`
to get the job done.
Since selective refresh was meant to "reduce code", I thought CSS would be
a shorter way to do so. Thanks again.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36600#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list