Skip to content

Commit e61a07a

Browse files
authored
Merge pull request #334 from codepress/release/4.4.1
Release/4.4.1
2 parents 605f7ea + b27d816 commit e61a07a

File tree

16 files changed

+60
-116
lines changed

16 files changed

+60
-116
lines changed

assets/css/admin-page-columns.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/admin-page-addons.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

classes/Admin/Asset/Addons.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ public function __construct( $handle, Location $location = null ) {
1414
public function register() {
1515
parent::register();
1616

17+
wp_localize_script( $this->handle, 'ACi18n', [
18+
'plugin_installed' => __( 'The Add-on %s is activated.' ),
19+
] );
20+
1721
$this->add_inline_variable( 'AC', [
1822
'_ajax_nonce' => wp_create_nonce( 'ac-ajax' ),
1923
'is_network_admin' => is_network_admin(),

classes/Plugin/Updater/Site.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ class Site extends Updater {
2121
public function __construct( $version_key, Version $version ) {
2222
$this->version = $version;
2323
$this->storage = new VersionStorage( (string) $version_key );
24+
25+
// TODO add VersionStorage for previous storage
2426
}
2527

2628
/**

classes/Plugin/VersionStorage.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22

33
namespace AC\Plugin;
44

5+
use AC\Storage\KeyValuePair;
56
use AC\Storage\OptionFactory;
67

78
class VersionStorage {
89

910
/**
10-
* @var string
11+
* @var KeyValuePair
1112
*/
1213
private $storage;
1314

codepress-admin-columns.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/*
33
Plugin Name: Admin Columns
4-
Version: 4.4
4+
Version: 4.4.1
55
Description: Customize columns on the administration screens for post(types), pages, media, comments, links and users with an easy to use drag-and-drop interface.
66
Author: AdminColumns.com
77
Author URI: https://www.admincolumns.com
@@ -36,7 +36,7 @@
3636
}
3737

3838
define( 'AC_FILE', __FILE__ );
39-
define( 'AC_VERSION', '4.4' );
39+
define( 'AC_VERSION', '4.4.1' );
4040

4141
require_once __DIR__ . '/classes/Dependencies.php';
4242

16 Bytes
Binary file not shown.

languages/codepress-admin-columns-pl_PL.po

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# This file is distributed under the same license as the Plugins - Admin Columns - Stable (latest release) package.
33
msgid ""
44
msgstr ""
5-
"PO-Revision-Date: 2021-09-06 11:10:31+0000\n"
5+
"PO-Revision-Date: 2021-09-27 05:56:25+0000\n"
66
"MIME-Version: 1.0\n"
77
"Content-Type: text/plain; charset=UTF-8\n"
88
"Content-Transfer-Encoding: 8bit\n"
@@ -1392,7 +1392,7 @@ msgstr "Zmodyfikuj ustawienia Edytora kolumn."
13921392
#: classes/Admin/Section/General.php:36
13931393
#: classes/Settings/Column/DateTimeFormat.php:45
13941394
msgid "General Settings"
1395-
msgstr "Ustawienia ogólne"
1395+
msgstr "Ustawienia główne"
13961396

13971397
#: templates/admin/help-tab/custom-fields.php:15
13981398
msgid "Value: Can be either a string or array. This will display a count of the number of times the meta key is used by the item."
@@ -1574,7 +1574,7 @@ msgstr "Wybierz typ kolumny."
15741574

15751575
#: templates/admin/edit-column.php:57 templates/admin/edit-column.php:92
15761576
msgid "Clone"
1577-
msgstr "Klonuj"
1577+
msgstr "Powiel"
15781578

15791579
#: classes/Settings/Column/Password.php:28
15801580
msgid "Display format"
@@ -1721,7 +1721,7 @@ msgstr ""
17211721

17221722
#: classes/Column/Post/PostParent.php:14
17231723
msgid "Parent"
1724-
msgstr "Rodzic"
1724+
msgstr "Element nadrzędny"
17251725

17261726
#: classes/Column/Post/PageTemplate.php:14
17271727
msgid "Page Template"
@@ -1867,7 +1867,7 @@ msgstr ""
18671867

18681868
#: classes/Column/Media/FileSize.php:14
18691869
msgid "File Size"
1870-
msgstr "Rozmiar pliku"
1870+
msgstr "Wielkość pliku"
18711871

18721872
#: classes/Column/Media/FileName.php:14
18731873
msgid "Filename"
@@ -1976,7 +1976,7 @@ msgstr "Kolor"
19761976
#: classes/Settings/Column/Separator.php:25
19771977
#: templates/admin/help-tab/custom-fields.php:6
19781978
msgid "Default"
1979-
msgstr "Domyślny"
1979+
msgstr "Domyślne"
19801980

19811981
#: classes/Column/CustomField.php:19
19821982
msgid "Custom Field"
@@ -2053,7 +2053,7 @@ msgstr "E-mail autora"
20532053

20542054
#: classes/Column/Comment/AuthorAvatar.php:14
20552055
msgid "Avatar"
2056-
msgstr "Avatar"
2056+
msgstr "Awatar"
20572057

20582058
#: classes/Column/Comment/Approved.php:14 classes/Column/Comment/Status.php:34
20592059
#: classes/Settings/Column/CommentCount.php:56

readme.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Tags: plugins, wordpress, admin, column, columns, custom columns, custom fields,
55
Requires at least: 4.7.1
66
Tested up to: 5.8.1
77
Requires PHP: 5.6.20
8-
Stable tag: 4.4
8+
Stable tag: 4.4.1
99

1010
Customise columns on the administration screens for post(types), pages, media, comments, links and users with an easy to use drag-and-drop interface.
1111

@@ -209,6 +209,12 @@ You can find a list of the available actions and filters (and examples on how to
209209

210210
== Changelog ==
211211

212+
= 4.4.1 =
213+
Release Date: September 28th, 2021
214+
215+
* [Improved] Small optimizations for the Add-on page
216+
* [Improved] Give an idea of the available pro settings
217+
212218
= 4.4 =
213219
Release Date: September 21st, 2021
214220

src/js/admin-page-addons.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
import {AddonDownload} from "./modules/addon-download";
2-
import {AddonActivator} from "./modules/addon-activator";
32

43
document.addEventListener("DOMContentLoaded", function () {
54

65
document.querySelectorAll<HTMLElement>('.ac-addon').forEach(element => {
76
new AddonDownload(element, element.dataset.slug);
8-
new AddonActivator(element, element.dataset.slug);
97
});
108

119
});

0 commit comments

Comments
 (0)