Skip to content

Commit 805196d

Browse files
Plugin updated to version 4.33
1 parent 4333489 commit 805196d

23 files changed

+3197
-1609
lines changed

humans.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,14 @@
1919

2020
Name: Arthur Gareginyan
2121
Title: Founder and CTO
22-
Site: www.arthurgareginyan.com
2322
Instagram: arthur_gareginyan
2423

2524

2625
/* THANKS */
27-
26+
Isabella M.
27+
Bożena L.
28+
Thomas T.
29+
Monica K.
2830

2931
/* META */
3032
Last update: 2018/04/14

inc/css/admin.css

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,33 @@ p {
441441
overflow: hidden;
442442
}
443443

444+
/* Custom List
445+
-------------------------------------------------------------- */
446+
.custom-list {
447+
margin-top: 15px;
448+
margin-left: 50px;
449+
margin-bottom: 30px;
450+
list-style-type: none;
451+
}
452+
.custom-list li {
453+
counter-increment: step-counter;
454+
margin-bottom: 15px;
455+
font-family: Verdana, Geneva, sans-serif;
456+
}
457+
.custom-list li::before {
458+
content: '+';
459+
margin-left: -30px;
460+
margin-right: 8px;
461+
padding: 4px 7px;
462+
font-size: 90%;
463+
font-weight: bold;
464+
background-color: #00c8c8;
465+
color: white;
466+
-webkit-border-radius: 50%;
467+
-moz-border-radius: 50%;
468+
border-radius: 50%;
469+
}
470+
444471
/* Custom List Numbers
445472
-------------------------------------------------------------- */
446473
.custom-counter {

inc/php/functional.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ function spacexchimp_p001_prepare() {
3939
}
4040

4141
/**
42-
* Check the custom code for duplicate names of functions
42+
* Preparation of the custom code: Check the custom code for duplicate names of functions
4343
*/
44-
function spacexchimp_p001_duplicates( $data ) {
44+
function spacexchimp_p001_preparation_duplicates( $data ) {
4545

4646
// Find names of user entered snippets and check for duplicates
4747
preg_match_all('/function[\s\n]+(\S+)[\s\n]*\(/i', $data, $user_func_names);
@@ -85,7 +85,7 @@ function spacexchimp_p001_exec() {
8585
}
8686

8787
// If the duplicates snippets finded...
88-
$duplicates = spacexchimp_p001_duplicates( $data );
88+
$duplicates = spacexchimp_p001_preparation_duplicates( $data );
8989
if ( $duplicates != 0 ) {
9090
return; // EXIT
9191
}
@@ -100,6 +100,6 @@ function spacexchimp_p001_exec() {
100100
}
101101

102102
/**
103-
* Execute the custom code
103+
* Inject the custom code into the website's backend and frontend
104104
*/
105105
spacexchimp_p001_exec();

inc/php/messages.php

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,18 @@ function spacexchimp_p001_hello_message() {
2323
<div class="modal-body">
2424
<img src="<?php echo SPACEXCHIMP_P001_URL . 'inc/img/spacexchimp-logo.png'; ?>">
2525
<button type="button" class="close" data-dismiss="modal">&times;</button>
26-
<p><?php _e( 'Hello. We are the team of Space X-Chimp.', SPACEXCHIMP_P001_TEXT ); ?></p>
27-
<p><?php printf(
28-
__( 'Thank you for installing our plugin! We hope you will love it! %s', SPACEXCHIMP_P001_TEXT ),
29-
'&#x1F603;'
30-
);
31-
?></p>
26+
<p>
27+
<?php _e( 'Hello!', SPACEXCHIMP_P001_TEXT ); ?>
28+
<?php _e( 'We are the team of Space X-Chimp.', SPACEXCHIMP_P001_TEXT ); ?>
29+
</p>
30+
<p>
31+
<?php
32+
printf(
33+
__( 'Thank you for installing our plugin! We hope you will love it! %s', SPACEXCHIMP_P001_TEXT ),
34+
'&#x1F603;'
35+
);
36+
?>
37+
</p>
3238
</div>
3339
</div>
3440
</div>
@@ -88,7 +94,10 @@ function spacexchimp_p001_successfull_message() {
8894
if ( isset( $_GET['settings-updated'] ) ) {
8995
?>
9096
<div id="message" class="updated">
91-
<p><i class="fa fa-check" aria-hidden="true"></i> <?php _e( 'Custom code updated successfully.', SPACEXCHIMP_P001_TEXT ); ?></p>
97+
<p>
98+
<i class="fa fa-check" aria-hidden="true"></i>
99+
<?php _e( 'Custom code updated successfully.', SPACEXCHIMP_P001_TEXT ); ?>
100+
</p>
92101
</div>
93102
<?php
94103
}

inc/php/page.php

Lines changed: 395 additions & 129 deletions
Large diffs are not rendered by default.

inc/php/settings.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ class="control-switch-onoff"
5555
<div class="inside">
5656
<p><?php _e( 'Every little contribution helps to cover our costs and allows us to spend more time creating things for awesome people like you to enjoy.', $text ); ?></p>
5757
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS" target="_blank" class="btn btn-default button-labeled">
58-
<span class="btn-label">
59-
<img src="<?php echo SPACEXCHIMP_P001_URL . 'inc/img/paypal.svg'; ?>" alt="PayPal">
60-
</span>
61-
<?php _e( 'Donate with PayPal', $text ); ?>
62-
</a>
58+
<span class="btn-label">
59+
<img src="<?php echo SPACEXCHIMP_P001_URL . 'inc/img/paypal.svg'; ?>" alt="PayPal">
60+
</span>
61+
<?php _e( 'Donate with PayPal', $text ); ?>
62+
</a>
6363
<p><?php _e( 'Thanks for your support!', $text ); ?></p>
6464
</div>
6565
</div>

inc/php/sidebar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<div class="postbox about">
3333
<h3 class="title"><?php _e( 'About', $text ); ?></h3>
3434
<div class="inside">
35-
<p><?php _e( 'This plugin allows you to 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.', $text ); ?></p>
35+
<p><?php _e( 'This plugin gives you the ability to 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.', $text ); ?></p>
3636
</div>
3737
</div>
3838

languages/Readme.txt

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22
CONTRIBUTING YOUR TRANSLATION
33

44

5-
This plugin is ready for translation and has already been translated into several languages.
5+
This plugin is ready for translation and has already been translated into several languages. But If your language is not available then you can make one. It is also possible that not all existing translations are up-to-date or correct, so you are welcome to make corrections. Many of plugin users would be delighted if you share your translation with the community. Thanks for your contribution!
66

7-
If you want to help translate this plugin then please visit the [translation page](https://translate.wordpress.org/projects/wp-plugins/my-custom-functions).
8-
9-
You can also use the POT file, that is included and placed in the "languages" folder, in order to create a translation PO file. Just send the PO file to us (https://www.spacexchimp.com/contact.html) and we will include this translation within the next plugin update.
10-
11-
Maybe not all existed translations are up to date. You are welcome to contribute corrections!
12-
13-
Many of plugin users would be delighted if you share your translation with the community. Thanks for your contribution!
7+
If you want to help translate this plugin, please visit the [translation page](https://translate.wordpress.org/projects/wp-plugins/my-custom-functions). You can also use the POT file that is included and placed in the "languages" folder to create a translation PO file. Just send the PO file to us (https://www.spacexchimp.com/contact.html) and we will include this translation within the next plugin update.
666 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)