Making WordPress.org

Changeset 10450


Ignore:
Timestamp:
11/18/2020 07:27:02 AM (4 years ago)
Author:
dd32
Message:

Theme Previews: add some mu-plugins to disable comment saving and forcibly disable XML-RPC.

Location:
sites/trunk/wp-themes.com/public_html/wp-content/mu-plugins/pub
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wp-themes.com/public_html/wp-content/mu-plugins/pub/starter-content.php

    r10449 r10450  
    11<?php
    22namespace WordPressdotorg\Theme_Preview;
    3 /* Plugin Name: Starter Content previews for wp-themes.com
     3/**
     4 * Plugin Name: Starter Content previews for wp-themes.com
    45 * Author: Tung Du
    56 * Version: 0.1
     
    466467        } elseif ( 'twentytwentyone' === get_template() ) {
    467468            require_once get_template_directory() . '/inc/starter-content.php';
    468             add_theme_support( 'starter-content', twenty_twenty_one_get_starter_content() );
     469            add_theme_support( 'starter-content', twenty_twenty_one_get_starter_content() );
    469470        }
    470471
Note: See TracChangeset for help on using the changeset viewer.