mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-03 06:07:00 +00:00
f84ad90c1fb2e5b50c5119f7487758414209e674
The line of code throwing the error was introduced in WordPress 4.5 in r37040 "Customize: Require opt-in for selective refresh of widgets". Since `is_customize_preview()` was introduced in 4.0.0 and Twenty Fourteen should work from WordPress 3.6 and up, this caused the issue. The patch adds an `is_customize_preview` function if it's missing. Props adamsilverstein. Fixes #39407. git-svn-id: https://develop.svn.wordpress.org/trunk@40022 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
243 MiB
Languages
PHP
80.5%
CSS
9.4%
JavaScript
8.5%
SCSS
0.9%
HTML
0.7%