Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#54891 closed defect (bug) (reported-upstream)

Functions broken links at plugin editor

Reported by: mehedi890's profile mehedi890 Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.8.3
Component: Editor Keywords:
Focuses: Cc:

Attachments (2)

plugin-editor.png (35.7 KB) - added by mehedi890 2 years ago.
broken-link.png (15.3 KB) - added by mehedi890 2 years ago.

Download all attachments as: .zip

Change History (4)

@mehedi890
2 years ago

#1 @SergeyBiryukov
2 years ago

Hi there, welcome to WordPress Trac! Thanks for the ticket.

It looks like most of these functions come from WooCommerce and not from WordPress core, so they don't exist in the function reference.

The Look Up button in the plugin/theme editor appears to send the function name to an endpoint like this:
https://api.wordpress.org/core/handbook/1.0/?function=woocommerce_template_loop_price
which then redirects to the resulting URL.

Apparently the endpoint needs some adjustment to avoid linking WooCommerce functions to the WordPress core function reference. As this Trac is used for enhancements and bug reporting for the WordPress core software, this would probably be better reported on https://meta.trac.wordpress.org.

#2 @SergeyBiryukov
2 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed

Follow-up: #meta6039. Let's continue the discussion there.

Note: See TracTickets for help on using tickets.