Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#4235 closed defect (bug) (fixed)

Trac Error

Reported by: arena's profile arena Owned by:
Milestone: Priority: normal
Component: Codex Keywords:


Change History (5)

#1 @garrett-eclipse
5 years ago

  • Keywords close added

Thanks @arena this is due to the new build process in 5.0 which moved files into a js folder and then during the build process they'd be introduced into their final location.
I've updated -

With the following verbiage;
This is defined in js/_enqueues/wp/util.js
And output in wp-includes/js/wp-util.js during build.

This fixes the broken link and explains that even though the link is somewhere else it is output in it's original location after build. I'm sure there's more instances of this now so will take a look when I can.

*I can't seem to resolve as fixed so am leaving with the 'close' tag.

#2 @dd32
5 years ago

  • Keywords close removed
  • Resolution set to fixed
  • Status changed from new to closed

Marking as fixed.

Might be worth keeping this in mind for some files and updating the Trac template to account for it somehow.

#3 follow-up: @garrett-eclipse
5 years ago

Thanks @dd32

Can you point out the Trac template and I can take a look. Also is it possible to do a mass-search on the Codex to find any links containing '/wp-includes/js'?

I've gone through manually in the Javascript_Reference to correct the following pages;

If there's an easy way to identify others let me know and I'd be happy to correct them.


#4 in reply to: ↑ 3 @dd32
5 years ago

I don't actually know all-that-much about Codex.. soo this is my understanding..

Replying to garrett-eclipse:

Can you point out the Trac template

That's handled by the <includeonly> section at the top of
Changing that doesn't look like it's needed, given how few references there are to it now (and future replacement with Devhub/etc)

Also is it possible to do a mass-search on the Codex to find any links containing '/wp-includes/js'?

It looks like this internal-trac search will do the job:
(Replace hxxxs with https://, I don't want Google indexing that..)

Note: See TracTickets for help on using tickets.