Make WordPress Core

Changes between Initial Version and Version 3 of Ticket #45528


Ignore:
Timestamp:
12/07/2018 08:02:39 PM (6 years ago)
Author:
ocean90
Comment:

Related issue: When WordPress is installed in a /wp/ directory, $relative becomes -includes/js/dist/editor.min.js.

Related: #45488

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #45528

    • Property Keywords needs-patch needs-unit-tests added
    • Property Milestone changed from Awaiting Review to 5.0.1
    • Property Severity changed from major to normal
    • Property Summary changed from Editor JSON translations fail to load if WP_CONTENT_DIR been redefined to load_script_textdomain() doesn't load translations when WP installed in a subdirectory with custom content dir
  • Ticket #45528 – Description

    initial v3  
    77create index.php, redefine siteurl
    883. define new constants
     9
     10{{{
    911define( 'WP_CONTENT_DIR', '/siteroot/wp/wp-content' );
    1012define( 'WP_CONTENT_URL', 'http://localhost:8080/wp-content' );
    1113define( 'WP_PLUGIN_DIR', '/siteroot/wp/wp-content/plugins' );
    1214define( 'WP_PLUGIN_URL', 'http://localhost:8080/wp-content/plugins' );
     15}}}
     16
    13174. ensure everything is working. (It is!)
    1418Try to load editor, (new post/page) - localization is broken.