Skip to content

Commit

Permalink
v 0.7.1
Browse files Browse the repository at this point in the history
- Fix actions.
  • Loading branch information
Darklg committed May 5, 2024
1 parent 074f553 commit 5ecaca0
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"no-prototype-builtins": 0
},
"globals": {
"wpu_override_gettext_options": true,
"wp": true,
"jQuery": true
}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install modules
run: npm install -g eslint
run: npm install -g eslint@^8
- name: Run ESLint
run: eslint assets/ --ext .js
4 changes: 2 additions & 2 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: PHP Lint

on:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]

jobs:
phplint:
Expand Down
4 changes: 3 additions & 1 deletion inc/WPUBaseFileCache/WPUBaseFileCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ public function set_cache($cache_id, $content = '') {
return true;
}

/* Fix content creation */
/**
* Writes content to a file and sets the file permissions.
*/
public function file_put_contents($file, $content) {
file_put_contents($file, $content);
chmod($file, 0664);
Expand Down
4 changes: 2 additions & 2 deletions wpu_override_gettext.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Plugin URI: https://github.com/WordPressUtilities/wpu_override_gettext
Update URI: https://github.com/WordPressUtilities/wpu_override_gettext
Description: Override gettext strings
Version: 0.7.0
Version: 0.7.1
Author: darklg
Author URI: https://darklg.me/
Text Domain: wpu_override_gettext
Expand All @@ -22,7 +22,7 @@ class WPUOverrideGettext {
public $settings_update;
public $plugin_description;
public $adminpages;
private $plugin_version = '0.7.0';
private $plugin_version = '0.7.1';
private $plugin_settings = array(
'id' => 'wpu_override_gettext',
'name' => 'WPU Override gettext'
Expand Down

0 comments on commit 5ecaca0

Please sign in to comment.