Skip to content

Commit

Permalink
updating OWA SDK dependancy, fixing missing namespace, cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
padams committed Sep 11, 2022
1 parent c581922 commit 591111d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"sort-packages": true
},
"require": {
"open-web-analytics/owa-php-sdk": "^1.0.6"
"open-web-analytics/owa-php-sdk": "^1.0.7"
},
"autoload": {
"psr-4": {
Expand Down
4 changes: 2 additions & 2 deletions owa-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -1122,8 +1122,8 @@ public function registerSettingsPages() {
'parent_slug' => 'owa-wordpress',
'is_top_level' => true,
'top_level_menu_title' => 'OWA',
'title' => 'Open Web Analytics',
'menu_title' => 'Tracking Settings',
'title' => 'OWA Settings',
'menu_title' => 'Settings',
'required_capability' => 'manage_options',
'menu_slug' => 'owa-wordpress-settings',
'menu-icon' => 'dashicons-chart-pie',
Expand Down
2 changes: 1 addition & 1 deletion src/settings/fields/url.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function isValid( $value ) {
sprintf(
'%s %s',
$this->get( 'label_for' ),
util::localize( 'URL scheme required. (i.e. http:// or https:// only.)' ) ) );
\owaWp\util::localize( 'URL scheme required. (i.e. http:// or https:// only.)' ) ) );

return false;
}
Expand Down

0 comments on commit 591111d

Please sign in to comment.