Skip to content

Commit

Permalink
Merge pull request #306 from codepress/release/4.2.4
Browse files Browse the repository at this point in the history
Release/4.2.4
  • Loading branch information
DGStefan authored Dec 9, 2020
2 parents 209f731 + 4ef7a5c commit 071e067
Show file tree
Hide file tree
Showing 19 changed files with 47 additions and 42 deletions.
2 changes: 1 addition & 1 deletion assets/js/admin-general.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/js/admin-page-columns.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/js/admin-page-columns.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/js/table.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions codepress-admin-columns.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/*
Plugin Name: Admin Columns
Version: 4.2.3
Version: 4.2.4
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.
Author: AdminColumns.com
Author URI: https://www.admincolumns.com
Expand Down Expand Up @@ -36,7 +36,7 @@
}

define( 'AC_FILE', __FILE__ );
define( 'AC_VERSION', '4.2.3' );
define( 'AC_VERSION', '4.2.4' );

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

Expand Down
Binary file modified languages/codepress-admin-columns-ar_AR.mo
Binary file not shown.
4 changes: 2 additions & 2 deletions languages/codepress-admin-columns-ar_AR.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is distributed under the same license as the Plugins - Admin Columns - Stable (latest release) package.
msgid ""
msgstr ""
"PO-Revision-Date: 2020-09-04 20:31:58+0000\n"
"PO-Revision-Date: 2020-11-07 23:53:05+0000\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down Expand Up @@ -1464,7 +1464,7 @@ msgstr "هذا هو الاسم الذي سيظهر كترويسة العمود."

#: classes/Settings/Column/Label.php:29
msgid "Label"
msgstr "العنوان"
msgstr "التسمية"

#: classes/Settings/Column/Type.php:36 templates/admin/edit-column.php:52
msgid "Name"
Expand Down
Binary file modified languages/codepress-admin-columns-es_ES.mo
Binary file not shown.
4 changes: 2 additions & 2 deletions languages/codepress-admin-columns-es_ES.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is distributed under the same license as the Plugins - Admin Columns - Stable (latest release) package.
msgid ""
msgstr ""
"PO-Revision-Date: 2020-09-10 08:22:34+0000\n"
"PO-Revision-Date: 2020-12-06 11:50:56+0000\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down Expand Up @@ -1464,7 +1464,7 @@ msgstr "Etiqueta"

#: classes/Settings/Column/Type.php:36 templates/admin/edit-column.php:52
msgid "Name"
msgstr "Nom"
msgstr "Nombre"

#: classes/Settings/Column/Type.php:30
msgid "Choose a column type."
Expand Down
Binary file modified languages/codepress-admin-columns-fr_FR.mo
Binary file not shown.
4 changes: 2 additions & 2 deletions languages/codepress-admin-columns-fr_FR.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is distributed under the same license as the Plugins - Admin Columns - Stable (latest release) package.
msgid ""
msgstr ""
"PO-Revision-Date: 2020-09-30 13:41:37+0000\n"
"PO-Revision-Date: 2020-10-19 07:39:06+0000\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down Expand Up @@ -323,7 +323,7 @@ msgstr "Affichez et modifiez les champs ACF dans la vue d’ensemble des publica

#: classes/Integration/Pods.php:16
msgid "Display and edit Pods fields in the posts overview in seconds!"
msgstr "Affichez et modifiez les champs Pods dans la vue d’ensemble des publications en quelques secondes !"
msgstr "Affichez et modifiez les champs Pods dans la vue d’ensemble des publications en quelques secondes !"

#: templates/admin/side-banner.php:60
msgid "Includes special integrations for:"
Expand Down
Binary file modified languages/codepress-admin-columns-hu_HU.mo
Binary file not shown.
34 changes: 17 additions & 17 deletions languages/codepress-admin-columns-hu_HU.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is distributed under the same license as the Plugins - Admin Columns - Stable (latest release) package.
msgid ""
msgstr ""
"PO-Revision-Date: 2016-04-29 09:18:50+0000\n"
"PO-Revision-Date: 2020-11-09 10:25:54+0000\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down Expand Up @@ -1273,7 +1273,7 @@ msgstr "Beállítások visszaállítása"
#: templates/admin/page/settings-section-general.php:10
#: templates/admin/edit-actions.php:24
msgid "Save"
msgstr ""
msgstr "Mentés"

#: classes/Admin/Section/General.php:37
msgid "Customize your Admin Columns settings."
Expand All @@ -1290,11 +1290,11 @@ msgstr "Érték: karakterlánc vagy tömb. Megjeleníti, hogy az elem hányszor

#: templates/admin/help-tab/custom-fields.php:11
msgid "Value: Hex value color, such as #808080."
msgstr ""
msgstr "Érték: hex színkód, pl. #808080."

#: templates/admin/help-tab/custom-fields.php:51
msgid "Value: Should be a 1 (one) or 0 (zero)."
msgstr ""
msgstr "Érték: 1 (egy) vagy 0 (nulla)."

#: classes/Column/User/Login.php:11
msgid "Username"
Expand All @@ -1310,7 +1310,7 @@ msgstr "Érték: csak egész számok.<br/>Ha rendelkezésre áll a \"Rendezés\"

#: templates/admin/help-tab/custom-fields.php:39
msgid "Value: Should be an array. This will flatten any ( multi dimensional ) array."
msgstr ""
msgstr "Érték: tömb. A többdimenziós tömbökből egydimenziósak lesznek."

#: templates/admin/help-tab/custom-fields.php:23
msgid "Value: This will show the first 20 words of the Post content."
Expand All @@ -1322,7 +1322,7 @@ msgstr ""

#: templates/admin/help-tab/custom-fields.php:2
msgid "The custom field column uses the custom fields from posts and users. There are 14 types which you can set."
msgstr ""
msgstr "Az egyedi mező oszlop a bejegyzések és felhasználók egyedi mezőit használja. 10-féle típust lehet beállítani."

#: templates/admin/help-tab/basics.php:13
msgid "By clicking on the triangle you will see the column options. By using the draggable slider you can set the width of the columns in percentages."
Expand Down Expand Up @@ -1362,7 +1362,7 @@ msgstr "Áttekintés"

#: classes/Controller/RestoreSettingsRequest.php:37
msgid "Default settings successfully restored."
msgstr ""
msgstr "Alapértelmezett beállítások sikeresen visszaállítva."

#: classes/Admin/Asset/Columns.php:62 classes/Controller/ColumnRequest.php:41
msgid "%s column is already present and can not be duplicated."
Expand Down Expand Up @@ -1504,7 +1504,7 @@ msgstr "Utána"

#: classes/Settings/Column/BeforeAfter.php:65
msgid "This text will appear before the column value."
msgstr ""
msgstr "Ez a szöveg fog megjelenni az egyedi mező értéke előtt."

#: classes/Settings/Column/BeforeAfter.php:64
msgid "Before"
Expand Down Expand Up @@ -1566,7 +1566,7 @@ msgstr ""

#: templates/admin/edit-column.php:59 templates/admin/edit-column.php:94
msgid "Remove"
msgstr "Eltávolítás"
msgstr "Törlés"

#: classes/Settings/Column/User.php:84 classes/Column/User/ID.php:14
msgid "User ID"
Expand Down Expand Up @@ -1606,7 +1606,7 @@ msgstr "Jogkörök"

#: classes/Column/Post/PingStatus.php:14
msgid "Ping Status"
msgstr ""
msgstr "Ping státusz"

#: classes/Column/Post/Permalink.php:15
msgid "Permalink"
Expand All @@ -1630,7 +1630,7 @@ msgstr ""

#: classes/Column/Post/Modified.php:15
msgid "Last Modified"
msgstr ""
msgstr "Utoljára módosítva"

#: classes/Column/Post/LastModifiedAuthor.php:18
msgid "Last Modified Author"
Expand Down Expand Up @@ -1738,7 +1738,7 @@ msgstr "Szélesség"

#: classes/Column/Media/MimeType.php:14
msgid "Mime Type"
msgstr ""
msgstr "Mime típus"

#: classes/Settings/Column/Image.php:47 classes/Column/Media/Height.php:16
msgid "Height"
Expand All @@ -1762,11 +1762,11 @@ msgstr ""

#: classes/Column/Media/FileSize.php:14
msgid "File Size"
msgstr ""
msgstr "Fájlméret"

#: classes/Column/Media/FileName.php:14
msgid "Filename"
msgstr ""
msgstr "Fájlnév"

#: classes/Settings/Column/ExifData.php:81 classes/Settings/Column/Term.php:30
#: classes/Settings/Column/Post.php:91
Expand Down Expand Up @@ -1803,7 +1803,7 @@ msgstr "Rekesz"

#: classes/Column/Media/ExifData.php:17
msgid "EXIF Data"
msgstr ""
msgstr "EXIF adato"

#: classes/Column/Media/Dimensions.php:16
msgid "Dimensions"
Expand Down Expand Up @@ -1878,7 +1878,7 @@ msgstr "Egyedi mező"

#: classes/Column/Post/WordCount.php:14 classes/Column/Comment/WordCount.php:14
msgid "Word Count"
msgstr ""
msgstr "Szavak száma"

#: classes/Settings/Column/CustomFieldType.php:103
#: classes/Settings/Column/CustomFieldType.php:132
Expand Down Expand Up @@ -1928,7 +1928,7 @@ msgstr "Szerző"

#: classes/Column/Comment/AuthorUrl.php:14
msgid "Author URL"
msgstr ""
msgstr "Szerző URL-je"

#: classes/Column/Comment/AuthorName.php:14
msgid "Author Name"
Expand Down
9 changes: 7 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ Contributors: codepress, tschutter, davidmosterd, engelen, dungengronovius
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZDZRSYLQ4Z76J
Tags: plugins, wordpress, admin, column, columns, custom columns, custom fields, image, dashboard, sortable, filters, posts, media, users, pages, posttypes, manage columns, wp-admin
Requires at least: 4.7
Tested up to: 5.5.1
Tested up to: 5.6
Requires PHP: 5.6.20
Stable tag: 4.2.3
Stable tag: 4.2.4

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

Expand Down Expand Up @@ -209,6 +209,11 @@ You can find a list of the available actions and filters (and examples on how to

== Changelog ==

= 4.2.4 =
Release Date: December 9th, 2020

* [Fixed] WordPress 5.6 compatibility issues

= 4.2.3 =
Release Date: October 6th, 2020

Expand Down
4 changes: 2 additions & 2 deletions src/js/admin-page-columns.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ jQuery( document ).on( 'AC_Form_Loaded', function() {
jQuery( document ).ready( function() {
AC.Form = new Form( '#listscreen_settings' );
AdminColumns.Form = AC.Form;
AdminColumns.Form.init();
AdminColumns.Modals.register( new Modal( document.querySelector( '#ac-modal-pro' ) ), 'pro' );

new Menu().init();
Expand Down Expand Up @@ -134,5 +135,4 @@ jQuery( document ).ready( function() {
: document.querySelector( '.ac-admin' ).classList.remove( 'show-list-screen-type' );
} );
}

} );
});
2 changes: 0 additions & 2 deletions src/js/admin/columns/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ class Form {
this._validators = [];

jQuery( document ).trigger( 'AC_Form_Loaded' );

this.init();
}

init() {
Expand Down
11 changes: 7 additions & 4 deletions src/js/helpers/admin-columns.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,12 @@ declare global {
}

export const initAdminColumnsGlobalBootstrap = (): AdminColumnsInterface => {
window.AdminColumns = window.AdminColumns || {};
AdminColumns.events = nanobus();
AdminColumns.Modals = new Modals();
if( ! window.AdminColumns ){
window.AdminColumns = window.AdminColumns || {};

return AdminColumns;
AdminColumns.events = nanobus();
AdminColumns.Modals = new Modals();
}

return window.AdminColumns;
}
1 change: 1 addition & 0 deletions src/js/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ $(document).ready(() => {

if (table) {
AdminColumns.Table = new Table(table);
AdminColumns.Table.init();
AdminColumns.ScreenOptionsColumns = new ScreenOptionsColumns(AdminColumns.Table.Columns);
}

Expand Down
4 changes: 1 addition & 3 deletions src/js/table/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,13 @@ export default class Table {
this.Selection = new RowSelection(this);
// TODO make helper function for this (INLINE EDIT NEEDS IT)
this._ids = [];

this.init();
}

getElement(): HTMLTableElement {
return this.el;
}

private init(): void {
init(): void {
this.initTable();
this.addCellClasses();

Expand Down

0 comments on commit 071e067

Please sign in to comment.