Enhancement
-
Hello,
I would like to request a filter to be added for the capability needed to access the settings page.
Suggested Change in commenter.php around line 31:
FROM:
/* Add option page */ function cd_setting_page(){ add_options_page( 'Commenter data Settings', 'Commenter data Settings', 'administrator', 'commenterdata-settings', array( $this, 'cd_renderer' )); }
TO:
/* Add option page */ function cd_setting_page(){ $cap = apply_filters( 'commenter_data_settings_page_capability_filter', 'administrator' ); add_options_page( 'Commenter data Settings', 'Commenter data Settings', $cap, 'commenterdata-settings', array( $this, 'cd_renderer' )); }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Enhancement’ is closed to new replies.