Skip to content

Commit 11114ae

Browse files
Plugin updated to version 4.31
1 parent 602fd06 commit 11114ae

File tree

4 files changed

+24
-23
lines changed

4 files changed

+24
-23
lines changed

inc/css/admin.css

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ p {
2222

2323
/* Title and Description of page
2424
-------------------------------------------------------------- */
25-
h2 {
25+
.sxc-header {
2626
padding: 30px !important;
2727
background-color: #333;
2828
color: #e0dfdc;
@@ -46,7 +46,7 @@ h2 {
4646
line-height: 50px !important;
4747
overflow: hidden;
4848
}
49-
h2 span {
49+
.sxc-header span {
5050
content: '\A';
5151
display: block;
5252
margin-top: 15px;
@@ -55,19 +55,19 @@ h2 span {
5555
text-shadow: none;
5656
line-height: 20px;
5757
}
58-
h2 span a,
59-
h2 span a:hover {
58+
.sxc-header span a,
59+
.sxc-header span a:hover {
6060
color: #fff;
6161
}
62-
h2 span a:hover {
62+
.sxc-header span a:hover {
6363
text-shadow: none;
6464
text-decoration: none;
6565
-webkit-transition: all 0.2s ease-in-out;
6666
-moz-transition: all 0.2s ease-in-out;
6767
-o-transition: all 0.2s ease-in-out;
6868
transition: all 0.2s ease-in-out;
6969
}
70-
h2 .version {
70+
.sxc-header .version {
7171
position: absolute;
7272
right: 40px;
7373
color: #a6a6a6;
@@ -485,6 +485,8 @@ h2 .version {
485485
.form-table {
486486
clear: none;
487487
margin-left: 20px;
488+
width: -webkit-calc(100% - 40px);
489+
width: calc(100% - 40px);
488490
font-family: Verdana, Geneva, sans-serif;
489491
font-size: 13px;
490492
}
@@ -502,7 +504,6 @@ h2 .version {
502504
/* Help text
503505
-------------------------------------------------------------- */
504506
td.help-text {
505-
width: 90%;
506507
font-family: Verdana, Geneva, sans-serif;
507508
font-size: 12px;
508509
font-style: italic;
@@ -519,7 +520,7 @@ td.help-text {
519520
.control-textarea {
520521
position: relative;
521522
max-width: 600px;
522-
width: 90%;
523+
width: 100%;
523524
padding-top: 5px;
524525
background: #fcfcfc;
525526
-webkit-border-radius: 3px;
@@ -545,15 +546,6 @@ td.help-text {
545546
/* SPECIFIC TO THIS PLUGIN
546547
-------------------------------------------------------------- */
547548

548-
.title {
549-
height: 50px;
550-
}
551-
@media (max-width: 782px) {
552-
.title {
553-
height: 58px;
554-
}
555-
}
556-
557549
/* CodeMirror Editor */
558550
.CodeMirror {
559551
height: 100% !important;
@@ -595,8 +587,14 @@ td.help-text {
595587
}
596588

597589
/* Titles */
598-
.meta-box-sortabless .title label {
599-
padding-top: 6px;
590+
#post-body-content .meta-box-sortabless .title {
591+
height: 50px;
592+
line-height: 31px;
593+
}
594+
@media (max-width: 782px) {
595+
#post-body-content .meta-box-sortabless .title {
596+
height: 58px;
597+
}
600598
}
601599

602600
/* Switch */

inc/php/page.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function spacexchimp_p001_render_submenu_page() {
2525
// Layout of page
2626
?>
2727
<div class="wrap">
28-
<h2>
28+
<h2 class="sxc-header">
2929
<?php echo $name; ?>
3030
<span>
3131
<?php printf(

my-custom-functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Description: Easily and safely add your custom PHP code to your WordPress website, directly out of the WordPress Admin Area, without the need to have an external editor.
66
* Author: Space X-Chimp
77
* Author URI: https://www.spacexchimp.com
8-
* Version: 4.30
8+
* Version: 4.31
99
* License: GPL3
1010
* Text Domain: my-custom-functions
1111
* Domain Path: /languages/

readme.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Tags: inject code, inject function, inject snippet, inject php, insert code, ins
44
Donate link: https://www.spacexchimp.com/donate.html
55
Requires at least: 3.9
66
Tested up to: 4.9
7-
Stable tag: 4.30
7+
Stable tag: 4.31
88
License: GPL3
99
License URI: http://www.gnu.org/licenses/gpl-3.0.html
1010

@@ -52,7 +52,7 @@ On the plugin page you find the code editor powered by CodeMirror. This code edi
5252
* Unlimited number of fields for functions
5353
* Automatic backup of all functions to a downloadable text file
5454
* Separate activation and deactivation of functions
55-
* Ability to collapse/expand the certain fields with code
55+
* No ads on the settings page
5656
* Well documented
5757

5858
[Get the PRO version now!](https://www.spacexchimp.com/plugins/my-custom-functions-pro.html)
@@ -243,6 +243,9 @@ Commercial licensing (e.g. for projects that can’t use an open-source license)
243243

244244
== Changelog ==
245245

246+
= 4.31 =
247+
* Improvement: Design of the plugin settings page is improved.
248+
246249
= 4.30 =
247250
* Improvement: Design of the plugin settings page is improved.
248251
* Content of the "Usage Instructions" section updated.

0 commit comments

Comments
 (0)