[wp-trac] [WordPress Trac] #54891: Functions broken links at plugin editor

WordPress Trac noreply at wordpress.org
Mon Jan 24 13:00:57 UTC 2022


#54891: Functions broken links at plugin editor
--------------------------+------------------------------
 Reporter:  mehedi890     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  5.8.3
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by SergeyBiryukov):

 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 [source:tags/5.8.3/src/wp-admin/plugin-editor.php?marks=274#L270 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54891#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list