Skip to content

Commit bb481cb

Browse files
authored
Merge pull request #284 from codepress/release/4.1.5
Release/4.1.5
2 parents 8097b72 + 0e4517a commit bb481cb

File tree

7 files changed

+90
-8
lines changed

7 files changed

+90
-8
lines changed

README.MD

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
## Contributing to this project
2+
3+
Please take a moment to review this document in order to make the contribution process easy and effective for everyone involved.
4+
5+
Following these guidelines will help us get back to you more quickly, and will show that you care about making Admin Columns better just like we do. In return, we'll do our best to respond to your issue or pull request as soon as possible with the same respect.
6+
7+
8+
## Use the issue tracker
9+
10+
The [issue tracker](https://github.com/codepress/admin-columns/issues) is the preferred channel for [bug reports](#bugs) and [features requests](#features), but please respect the following restrictions:
11+
12+
* Support issues or usage questions that are not bugs should be posted on the [Plugin Support Forum](http://wordpress.org/support/plugin/codepress-admin-columns).
13+
* Please **do not** derail or troll issues. Keep the discussion on topic and respect the opinions of others.
14+
* Make sure to read all the [labels below](#tracker-labels) to avoid confusion on status of each issue
15+
16+
<a name="tracker-labels"></a>
17+
## Labels on issue tracker
18+
19+
There is an idea behind this naming convetion, and we will stick to it because it's faily important to keep thing tidy if we want to move forward fast and clean.
20+
21+
We will split the labels in two pieces, groups of labels and a label name, following the pattern below:
22+
23+
```html
24+
<label-group>:<label-name>
25+
```
26+
27+
Below you will find a list of fixed ones and it's explanations and what variables we might have:
28+
29+
#### Group: "Type"
30+
* `type:addon`
31+
* `type:bug`
32+
* `type:enhancement`
33+
* `type:feature`
34+
* `type:invalid`
35+
* `type:refactor`
36+
37+
#### Group: "Status"
38+
* `status:feedback`
39+
* `status:in_progress`
40+
* `status:on_hold`
41+
* `status:rejected`
42+
* `status:wontfix`
43+
44+
<a name="bugs"></a>
45+
## Bug reports
46+
47+
A bug is a _demonstrable problem_ that is caused by the code in the repository. Good bug reports with complete error messages, environment details and screenshots are extremely helpful &mdash; thank you!
48+
49+
Guidelines for bug reports:
50+
51+
1. **Use the [GitHub issue search](https://github.com/codepress/admin-columns/search?type=Issues)** or **[Admin Columns Forum](https://www.admincolumns.com/forums/)** &mdash; Someone might already know about it, so please check if the issue has already been reported.
52+
53+
2. **Isolate the problem** &mdash; The better you can determine exactly what behavior(s) cause the issue, the faster and more effectively it can be resolved. “I’m getting an error message.” is not a good bug report. A good bug report shouldn't leave others needing to contact you for more information.
54+
55+
Please try to be as detailed as possible in your report. What is your environment? What steps will reproduce the issue? What browser(s) experience the problem? What outcome did you expect, and how did it differ from what you actually saw? All these details will help people to fix any potential bugs.
56+
57+
Example:
58+
59+
> Short and descriptive example bug report title
60+
>
61+
> A summary of the issue and the environment/browser in which it occurs. If
62+
> suitable, include the steps required to reproduce the bug.
63+
>
64+
> 1. This is the first step
65+
> 2. This is the second step
66+
> 3. Further steps, etc.
67+
>
68+
> Any other information you want to share that is relevant to the issue being reported. This might include the lines of code that you have identified as causing the bug, and potential solutions (and your opinions on their merits).
69+
70+
**Note:** In an effort to keep open issues to a manageable number, we will close any issues that do not provide enough information for us to be able to work on a solution. You will be encouraged to provide the necessary details, after which we will reopen the issue.
71+
72+
<a name="features"></a>
73+
## Feature requests
74+
75+
Feature requests are very welcome! But take a moment to find out whether your idea fits with the scope and aims of the project. It's up to *you* to make a strong case to convince the project's developers of the merits of this feature. Please provide as much detail and context as possible.
76+
77+
Building something great means choosing features carefully especially because it is much, much easier to add features than it is to take them away. Additions to Admin Columns will be evaluated on a combination of scope (how well it fits into the project), maintenance burden and general usefulness to users.

assets/js/admin-page-columns.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.

assets/js/admin-page-columns.js.map

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/table.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.

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.1.4
4+
Version: 4.1.5
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.1.4' );
39+
define( 'AC_VERSION', '4.1.5' );
4040

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

readme.txt

Lines changed: 6 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
66
Tested up to: 5.4
77
Requires PHP: 5.6.20
8-
Stable tag: 4.1.4
8+
Stable tag: 4.1.5
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

@@ -213,6 +213,11 @@ You can find a list of the available actions and filters (and examples on how to
213213

214214
== Changelog ==
215215

216+
= 4.1.5 =
217+
Release Date: April 17th, 2020
218+
219+
* [Fixed] Model auto close issue
220+
216221
= 4.1.4 =
217222
Release Date: April 15th, 2020
218223

src/js/modules/modal.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ class Modal {
5959
} );
6060
}
6161

62-
document.addEventListener( 'click', ( e ) => {
63-
if ( !e.target.closest( '.ac-modal__dialog' ) ) {
62+
this.el.addEventListener( 'click', ( e ) => {
63+
if ( e.target.classList.contains( 'ac-modal' ) ) {
6464
self.close();
6565
}
6666
} );

0 commit comments

Comments
 (0)