Making WordPress.org


Ignore:
Timestamp:
10/13/2020 11:55:05 PM (6 years ago)
Author:
coreymckrill
Message:

WordPress.org Learn: Sync with GitHub

https://github.com/WordPress/learn/compare/348e99fc763e9bd460a6446b2484312e6e5e68db...116a8706331ea044839d22347433f98af8ab8ccb

File:
1 edited

Legend:

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

    r10272 r10376  
    2424
    2525/**
     26 * Shortcut to the build directory.
     27 *
     28 * @return string
     29 */
     30function get_build_path() {
     31    return PLUGIN_DIR . 'build/';
     32}
     33
     34/**
     35 * Shortcut to the build URL.
     36 *
     37 * @return string
     38 */
     39function get_build_url() {
     40    return PLUGIN_URL . 'build/';
     41}
     42
     43/**
    2644 * Shortcut to the includes directory.
    2745 *
     
    2947 */
    3048function get_includes_path() {
    31     return plugin_dir_path( __FILE__ ) . 'inc/';
     49    return PLUGIN_DIR . 'inc/';
     50}
     51
     52/**
     53 * Shortcut to the views directory.
     54 *
     55 * @return string
     56 */
     57function get_views_path() {
     58    return PLUGIN_DIR . 'views/';
    3259}
    3360
     
    4067    require_once get_includes_path() . 'blocks.php';
    4168    require_once get_includes_path() . 'class-markdown-import.php';
     69    require_once get_includes_path() . 'form.php';
    4270    require_once get_includes_path() . 'post-meta.php';
    4371    require_once get_includes_path() . 'post-type.php';
Note: See TracChangeset for help on using the changeset viewer.