-
Notifications
You must be signed in to change notification settings - Fork 131
Closed
Labels
InfrastructureIssues for the overall performance plugin infrastructureIssues for the overall performance plugin infrastructure[Plugin] Performance LabIssue relates to work in the Performance Lab Plugin onlyIssue relates to work in the Performance Lab Plugin only[Type] BugAn existing feature is brokenAn existing feature is broken
Milestone
Description
Bug Description
This bug was spotted while doing static test for issue #622.
add_action( 'plugin_action_links_' . plugin_basename( PERFLAB_MAIN_FILE ), 'perflab_plugin_action_links_add_settings' );
used within function perflab_add_modules_page()
inside admin/load.php
( line ), calls perflab_plugin_action_links_add_settings
which only add a new link to existing links.
The code currently works because of the usage of array_unshift
which updates reference array.
Steps to reproduce
- Go to 'admin/load.php'
- Scroll down to 'function perflab_add_modules_page()'
- See error in the
add_action( 'plugin_action_links_...
Screenshots
Additional Context
- PHP Version:
- OS: [e.g. iOS]
- Browser: [e.g. chrome, safari]
- Plugin Version: [e.g. 22]
- Device: [e.g. iPhone6]
Metadata
Metadata
Assignees
Labels
InfrastructureIssues for the overall performance plugin infrastructureIssues for the overall performance plugin infrastructure[Plugin] Performance LabIssue relates to work in the Performance Lab Plugin onlyIssue relates to work in the Performance Lab Plugin only[Type] BugAn existing feature is brokenAn existing feature is broken