Changeset 10376 for sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/wporg-learn.php
- Timestamp:
- 10/13/2020 11:55:05 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/wporg-learn.php
r10272 r10376 24 24 25 25 /** 26 * Shortcut to the build directory. 27 * 28 * @return string 29 */ 30 function get_build_path() { 31 return PLUGIN_DIR . 'build/'; 32 } 33 34 /** 35 * Shortcut to the build URL. 36 * 37 * @return string 38 */ 39 function get_build_url() { 40 return PLUGIN_URL . 'build/'; 41 } 42 43 /** 26 44 * Shortcut to the includes directory. 27 45 * … … 29 47 */ 30 48 function 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 */ 57 function get_views_path() { 58 return PLUGIN_DIR . 'views/'; 32 59 } 33 60 … … 40 67 require_once get_includes_path() . 'blocks.php'; 41 68 require_once get_includes_path() . 'class-markdown-import.php'; 69 require_once get_includes_path() . 'form.php'; 42 70 require_once get_includes_path() . 'post-meta.php'; 43 71 require_once get_includes_path() . 'post-type.php';
Note: See TracChangeset
for help on using the changeset viewer.