Making WordPress.org


Ignore:
Timestamp:
03/05/2021 12:40:59 AM (4 years ago)
Author:
coffee2code
Message:

Handbooks: Add ability to import handbook content from a remote source.

  • Add WPorg_Handbook_Importer class, incorporating related functionality from DevHub theme
  • Add 'cron_interval' and 'manifest' handbook config options
  • Add get_importer() and init_importer() to handbook object
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/handbook.php

    r9990 r10775  
    33 * Plugin Name: Handbook
    44 * Description: Features for a handbook, complete with glossary and table of contents
     5 * Version:     2.0
    56 * Author:      WordPress.org
    67 * Author URI:  https://wordpress.org/
     
    2526require_once __DIR__ . '/inc/blocks.php';
    2627
     28add_action( 'plugins_loaded', function () {
     29    if ( class_exists( 'WordPressdotorg\\Markdown\\Importer' ) ) {
     30        require_once __DIR__ . '/inc/importer.php';
     31    }
     32}, 1 );
Note: See TracChangeset for help on using the changeset viewer.