Ticket #41488: 41488.diff
| File 41488.diff, 838 bytes (added by , 8 years ago) |
|---|
-
src/wp-includes/class-wp-customize-nav-menus.php
1210 1210 ! empty( $args['echo'] ) 1211 1211 && 1212 1212 // ...and if the fallback_cb can be serialized to JSON, since it will be included in the placement context data, 1213 ( empty( $args['fallback_cb'] ) || is_string( $args['fallback_cb']) )1213 ( empty( $args['fallback_cb'] ) || ( is_string( $args['fallback_cb'] ) && false === strpos( $args['fallback_cb'], '\\' ) ) ) 1214 1214 && 1215 1215 // ...and if the walker can also be serialized to JSON, since it will be included in the placement context data as well, 1216 1216 ( empty( $args['walker'] ) || is_string( $args['walker'] ) )