Skip to content

Commit

Permalink
Fixed a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiosanches committed Jan 10, 2015
1 parent 572d451 commit 9fa5ad7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/admin/class-wc-admin-webhooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function __construct() {
*
* @return bool
*/
private function is_webhook_settigs_page() {
private function is_webhook_settings_page() {
return isset( $_GET['page'] ) && 'wc-settings' == $_GET['page'] && isset( $_GET['tab'] ) && 'webhooks' == $_GET['tab'];
}

Expand Down Expand Up @@ -247,7 +247,7 @@ private function bulk_actions() {
* Webhooks admin actions
*/
public function actions() {
if ( $this->is_webhook_settigs_page() ) {
if ( $this->is_webhook_settings_page() ) {

// Save
if ( isset( $_POST['save'] ) && isset( $_POST['webhook_id'] ) ) {
Expand Down

0 comments on commit 9fa5ad7

Please sign in to comment.