Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#35061 closed defect (bug) (duplicate)

WPINC constant not used while enqueing wp-embed.min.js

Reported by: bijibuji's profile bijibuji Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.4
Component: Themes Keywords:
Focuses: javascript, template Cc:

Description

I have Wordpress 4.4 installed and changed the WPINC in wp-settings.php file to something other than wp-includes.
Its fine and everything works, but the mentioned file still uses wp-includes and so I think that folder name is hardcoded somewhere.

Change History (1)

#1 @peterwilsoncc
9 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi @bijibuji and welcome to trac,

At present WordPress doesn't allow for WPINC to be changed and wp-settings.php is not intended to be modified (it's overwritten in updates). wp-includes is hard coded for all the JavaScript libraries included in core by default.

Allowing WPINC to be changed is being tracked in #24368, I'll mark this ticket a duplicate.

Feel free to open tickets in future.

Cheers,
Pete

Note: See TracTickets for help on using tickets.