Skip to content

Commit 2fb17b7

Browse files
committed
Release new version 2.1.1
* This is a maintenance update for WordPress version 5.0.2 and PHP 7.3 compatibility. * Framework – Update to use WordPress ESLint rules * Framework – Test and update for compatibility with PHP 7.3 * Tweak - Test for compatibility with WordPress
1 parent 91aa261 commit 2fb17b7

22 files changed

+3146
-7616
lines changed

admin/admin-interface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ public function get_settings_default( $options, $option_name = '' ) {
384384

385385
default :
386386
// Do not include when it's separate option
387-
if ( isset( $value['separate_option'] ) && $value['separate_option'] != false ) continue;
387+
if ( isset( $value['separate_option'] ) && $value['separate_option'] != false ) break;
388388

389389
// Remove [, ] characters from id argument
390390
if ( strstr( $value['id'], '[' ) ) {
Lines changed: 75 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -1,108 +1,106 @@
1-
@import 'mixins.less';
1+
@import "mixins.less";
22

33
/*-------------------------------------------------------------------------------------------*/
44
/* A3rev Admin Metabox RTL UI */
55
/*-------------------------------------------------------------------------------------------*/
66

77
.a3-metabox-panel-wrap {
8-
padding-left: 0px;
9-
padding-right: 146px;
8+
padding-left: 0px;
9+
padding-right: 146px;
1010

11-
.a3-metabox-tabs-back {
12-
left: auto;
13-
right: 0;
14-
border-left: 1px solid #dfdfdf;
15-
border-right: none;
16-
}
11+
.a3-metabox-tabs-back {
12+
left: auto;
13+
right: 0;
14+
border-left: 1px solid #DFDFDF;
15+
border-right: none;
16+
}
1717

18-
ul {
19-
&.a3-metabox-data-tabs {
20-
float: right;
21-
margin: 0 -146px 0 0;
18+
ul {
19+
&.a3-metabox-data-tabs {
20+
float: right;
21+
margin: 0 -146px 0 0;
2222

23-
li {
24-
&.active {
25-
a {
26-
margin: 0 0 0 -1px;
27-
}
23+
li {
24+
&.active {
25+
a {
26+
margin: 0 0 0 -1px;
27+
}
28+
}
29+
}
2830
}
29-
}
3031
}
31-
}
3232
}
3333

34-
.a3-metabox-wrapper,
35-
.a3-metabox-options-panel {
36-
float: left;
34+
.a3-metabox-wrapper, .a3-metabox-options-panel {
35+
float: left;
3736

38-
.a3-metabox-items,
39-
p.toolbar {
40-
padding-left: 20px !important;
41-
padding-right: 12px !important;
42-
}
37+
.a3-metabox-items, p.toolbar {
38+
padding-left: 20px !important;
39+
padding-right: 12px !important;
40+
}
4341
}
4442

4543
.a3-metabox-wrapper {
46-
.close_all,
47-
.expand_all {
48-
float: left;
49-
margin-left: 0px;
50-
margin-right: 14px;
51-
}
44+
.close_all, .expand_all {
45+
float: left;
46+
margin-left: 0px;
47+
margin-right: 14px;
48+
}
5249

53-
.a3-metabox-item {
54-
table {
55-
td {
56-
text-align: right;
50+
.a3-metabox-item {
51+
table {
52+
td {
53+
text-align: right;
5754

58-
label {
59-
text-align: right;
55+
label {
56+
text-align: right;
57+
}
58+
}
59+
}
60+
h3 {
61+
.handlediv {
62+
left: 0;
63+
right: auto;
64+
65+
}
6066
}
61-
}
62-
}
63-
h3 {
64-
.handlediv {
65-
left: 0;
66-
right: auto;
67-
}
6867
}
69-
}
7068
}
7169

7270
@media only screen and (max-width: 900px) {
73-
.a3-metabox-panel-wrap {
74-
padding-left: 0px;
75-
padding-right: 35px;
71+
.a3-metabox-panel-wrap {
72+
padding-left: 0px;
73+
padding-right: 35px;
7674

77-
.a3-metabox-tabs-back {
78-
left: auto;
79-
left: 0;
80-
border-left: 1px solid #dfdfdf;
81-
border-right: none;
82-
}
75+
.a3-metabox-tabs-back {
76+
left: auto;
77+
left: 0;
78+
border-left: 1px solid #DFDFDF;
79+
border-right: none;
80+
}
8381

84-
ul {
85-
&.a3-metabox-data-tabs {
86-
margin-left: 0px;
87-
margin-right: -35px;
82+
ul {
83+
&.a3-metabox-data-tabs {
84+
margin-left: 0px;
85+
margin-right: -35px;
8886

89-
li {
90-
a {
91-
&:after {
92-
position: absolute;
93-
top: 0;
94-
right: 0;
95-
bottom: 0;
96-
left: 0;
97-
text-indent: 0;
98-
text-align: center;
99-
line-height: 40px;
100-
width: 40px;
101-
height: 40px;
87+
li {
88+
a {
89+
&:after {
90+
position: absolute;
91+
top: 0;
92+
right: 0;
93+
bottom: 0;
94+
left: 0;
95+
text-indent: 0;
96+
text-align: center;
97+
line-height: 40px;
98+
width: 40px;
99+
height: 40px;
100+
}
101+
}
102+
}
102103
}
103-
}
104104
}
105-
}
106105
}
107-
}
108106
}

0 commit comments

Comments
 (0)