diff -r 490d5cc509ed -r cf61fcea0001 wp/wp-includes/customize/class-wp-customize-themes-section.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wp/wp-includes/customize/class-wp-customize-themes-section.php Mon Oct 14 17:39:30 2019 +0200 @@ -0,0 +1,175 @@ +action; + $exported['filter_type'] = $this->filter_type; + + return $exported; + } + + /** + * Render a themes section as a JS template. + * + * The template is only rendered by PHP once, so all actions are prepared at once on the server side. + * + * @since 4.9.0 + */ + protected function render_template() { + ?> +
  • + + + +
    + +
    +
    + filter_bar_content_template(); ?> +
    + filter_drawer_content_template(); ?> + +
      +
    +

    +

    + %s', __( 'Search WordPress.org themes' ) ) + ); + ?> +

    +

    +
    +
    +
  • + + + <# if ( 'wporg' === data.action ) { #> +
    + + + + +
    + + <# } else { #> +
    + + + + +
    + <# } #> +
    + + 0' ); + ?> + +
    + + <# if ( 'wporg' === data.action ) { #> +
    + $features ) : ?> +
    + +
    + $feature_name ) : ?> + + + +
    +
    + +
    + <# } #> +