Skip to content

Commit 3110e9f

Browse files
authored
Merge pull request #26 from stopfstedt/25_missing_arg
removed bogus argument.
2 parents f13b221 + d61a0e9 commit 3110e9f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

admin/class-wplibcalhours-admin.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,15 +141,14 @@ public function wplibcalhours_ignore_cache_cb() {
141141
* Filter-callback function that adds links to the list of links displayed on the plugins page.
142142
*
143143
* @param array $actions array List of existing links.
144-
* @param string $foo
145144
*
146145
* @return array The updated list of links.
147146
*
148147
* @link https://codex.wordpress.org/Plugin_API/Filter_Reference/plugin_action_links_(plugin_file_name)
149148
*
150149
* @since 1.0.0
151150
*/
152-
public function add_action_links( $actions, $foo ) {
151+
public function add_action_links( $actions ) {
153152
$settings = '<a href="' . esc_attr( get_admin_url( null,
154153
'options-general.php?page=wplibcalhours' ) ) . '">' . __( 'Settings', 'General' ) . '</a>';
155154
array_unshift( $actions, $settings );

0 commit comments

Comments
 (0)