Version Description
- Suggest Treeware donations
Download this release
Release Info
Developer | leewillis77 |
Plugin | Say what? |
Version | 1.9.2 |
Comparing to | |
See all releases |
Code changes from version 1.9.1 to 1.9.2
- css/admin.css +30 -11
- html/say-what-admin-list.php +60 -18
- img/treeware.svg +1 -0
- readme.txt +9 -2
- say-what-admin.php +1 -0
- say-what.php +1 -1
css/admin.css
CHANGED
@@ -1,21 +1,40 @@
|
|
1 |
.wp-list-table .column-orig_string,
|
2 |
.wp-list-table .column-replacement_string {
|
3 |
-
|
4 |
}
|
|
|
5 |
.wp-list-table .column-domain,
|
6 |
-
.wp-list-table .column-context
|
7 |
-
|
8 |
-
width: 18%;
|
9 |
}
|
|
|
10 |
.wp-list-table .edit_links,
|
11 |
.wp-list-table .delete_links {
|
12 |
-
|
13 |
}
|
|
|
14 |
.saywhat-gopro {
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
}
|
1 |
.wp-list-table .column-orig_string,
|
2 |
.wp-list-table .column-replacement_string {
|
3 |
+
width: 26%;
|
4 |
}
|
5 |
+
|
6 |
.wp-list-table .column-domain,
|
7 |
+
.wp-list-table .column-context {
|
8 |
+
width: 18%;
|
|
|
9 |
}
|
10 |
+
|
11 |
.wp-list-table .edit_links,
|
12 |
.wp-list-table .delete_links {
|
13 |
+
width: 6%;
|
14 |
}
|
15 |
+
|
16 |
.saywhat-gopro {
|
17 |
+
width: 60%;
|
18 |
+
border-right: 1px dashed lightgray;
|
19 |
+
}
|
20 |
+
|
21 |
+
.treeware {
|
22 |
+
width: 40%;margin-top: -4px;
|
23 |
+
|
24 |
+
}
|
25 |
+
|
26 |
+
.saywhat-gopro h2 {
|
27 |
+
margin-top: 0;
|
28 |
+
}
|
29 |
+
|
30 |
+
.upgrades-wrapper {
|
31 |
+
overflow: hidden;
|
32 |
+
margin: auto;
|
33 |
+
width: 80%;
|
34 |
+
}
|
35 |
+
|
36 |
+
.upgrades-wrapper > div {
|
37 |
+
float: left;
|
38 |
+
box-sizing: border-box;
|
39 |
+
padding: 2em;
|
40 |
}
|
html/say-what-admin-list.php
CHANGED
@@ -1,22 +1,64 @@
|
|
1 |
<div class="wrap">
|
2 |
-
|
3 |
-
|
|
|
4 |
<?php
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
?>
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
</div>
|
1 |
<div class="wrap">
|
2 |
+
<div id="icon-tools" class="icon32"></div>
|
3 |
+
<h2><?php _e( 'Text changes', 'say-what' ); ?><a href="tools.php?page=say_what_admin&say_what_action=addedit"
|
4 |
+
class="add-new-h2"><?php _e( 'Add New', 'say-what' ); ?></a></h2>
|
5 |
<?php
|
6 |
+
$list_table_instance = new SayWhatListTable( $this->settings );
|
7 |
+
$list_table_instance->prepare_items();
|
8 |
+
$list_table_instance->display();
|
9 |
?>
|
10 |
+
<div class="upgrades-wrapper">
|
11 |
+
<div class="saywhat-gopro">
|
12 |
+
<div>
|
13 |
+
<h2>Go pro</h2>
|
14 |
+
<hr>
|
15 |
+
<p>
|
16 |
+
<a href="https://plugins.leewillis.co.uk/downloads/say-what-pro/?utm_source=wporg&utm_medium=plugin&utm_campaign=saywhatproupgrade">Say
|
17 |
+
What? Pro</a> makes it even easier for you to change strings:
|
18 |
+
<ul class="ul-disc">
|
19 |
+
<li>
|
20 |
+
<a href="https://plugins.leewillis.co.uk/doc_post/string-discovery/?utm_source=wporg&utm_medium=plugin&utm_campaign=saywhatproupgradesd"
|
21 |
+
target="_blank">String Discovery</a> and autocomplete - find the strings you need without
|
22 |
+
diving through code.
|
23 |
+
</li>
|
24 |
+
<li>
|
25 |
+
<a href="https://plugins.leewillis.co.uk/doc_post/replace-words-across-whole-site/?utm_source=wporg&utm_medium=plugin&utm_campaign=saywhatproupgradesd"
|
26 |
+
target="_blank">Wildcard string replacements</a> - replace individual words, or fragments
|
27 |
+
across your whole site.
|
28 |
+
</li>
|
29 |
+
<li>
|
30 |
+
<a href="https://plugins.leewillis.co.uk/doc_post/multi-lingual-string-replacements/?utm_source=wporg&utm_medium=plugin&utm_campaign=saywhatproupgrademl">Multi-lingual
|
31 |
+
support</a> - set different replacements for different languages.</a></li>
|
32 |
+
<li>Import & export your strings between sites.</li>
|
33 |
+
</ul>
|
34 |
+
</p>
|
35 |
+
<p><strong>Upgrade to the Pro version today, and <em>save 15%</em> with the code
|
36 |
+
<code>WPSAYWHAT</code>
|
37 |
+
at checkout.</strong></p>
|
38 |
+
<p>
|
39 |
+
<center>
|
40 |
+
<a href="https://plugins.leewillis.co.uk/downloads/say-what-pro/?utm_source=wporg&utm_medium=plugin&utm_campaign=saywhatproupgradebtn"
|
41 |
+
class="button button-primary">Go Pro now »</a></center>
|
42 |
+
</p>
|
43 |
+
</div>
|
44 |
+
</div>
|
45 |
+
<div class="treeware">
|
46 |
+
<a href="https://offset.earth/ademtisoftware?gift-trees" target="_blank" rel="noopener noreferrer">
|
47 |
+
<img src="<?php echo esc_attr( plugins_url( 'say-what/img/treeware.svg' ) ); ?>" alt="Treeware">
|
48 |
+
</a>
|
49 |
+
<hr>
|
50 |
+
<p>You're free to use this package for free, but if it makes it to your production environment please
|
51 |
+
buy
|
52 |
+
the world a tree.</p>
|
53 |
+
<p>It’s now common knowledge that one of the best tools to tackle the climate crisis and keep our
|
54 |
+
temperatures from rising above 1.5C is to <a
|
55 |
+
href="https://www.bbc.co.uk/news/science-environment-48870920" target="_blanl" rel="noopener noreferrer nofollow">plant
|
56 |
+
trees</a>.
|
57 |
+
If you support this package and contribute to the Treeware forest you’ll be creating employment for
|
58 |
+
local families and restoring wildlife habitats.</p>
|
59 |
+
<p>You can buy trees here <a target="_blank" rel="noopener noreferrer"
|
60 |
+
href="https://offset.earth/ademtisoftware?gift-trees" rel="nofollow">offset.earth/ademtisoftware</a>
|
61 |
+
</p>
|
62 |
+
</div>
|
63 |
+
</div>
|
64 |
</div>
|
img/treeware.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="128" height="28"><g shape-rendering="crispEdges"><path fill="#555" d="M0 0h93v28H0z"/><path fill="lightgreen" d="M93 0h35v28H93z"/></g><g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="100"> <text x="465" y="175" transform="scale(.1)" textLength="690">TREEWARE</text><text x="1105" y="175" font-weight="bold" transform="scale(.1)" textLength="110">🌳</text></g> </svg>
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: leewillis77
|
|
3 |
Donate link: http://plugins.leewillis.co.uk/downloads/say-what-pro?utm_source=wordpress&utm_medium=www&utm_campaign=say-what
|
4 |
Tags: string, change, translation
|
5 |
Requires at least: 4.3
|
6 |
-
Tested up to:
|
7 |
-
Stable tag: 1.9.
|
8 |
|
9 |
== Description ==
|
10 |
An easy-to-use plugin that allows you to alter strings on your site without editing WordPress core, or plugin code. Simply enter the current string, and what you want to replace it with and the plugin will automatically do the rest!
|
@@ -18,6 +18,10 @@ Check out [Say What Pro](https://plugins.leewillis.co.uk/downloads/say-what-pro/
|
|
18 |
* **Multi-lingual support** - set different replacements for different languages on multi-lingual sites
|
19 |
* **Import/export features** - Easy import/export of replacements through the user interface
|
20 |
|
|
|
|
|
|
|
|
|
21 |
== Installation ==
|
22 |
|
23 |
* Install it as you would any other plugin
|
@@ -59,6 +63,9 @@ Not in the free plugin, however this is available in the [Pro version of the plu
|
|
59 |
|
60 |
== Changelog ==
|
61 |
|
|
|
|
|
|
|
62 |
= 1.9.1 =
|
63 |
* Update information about Pro features
|
64 |
|
3 |
Donate link: http://plugins.leewillis.co.uk/downloads/say-what-pro?utm_source=wordpress&utm_medium=www&utm_campaign=say-what
|
4 |
Tags: string, change, translation
|
5 |
Requires at least: 4.3
|
6 |
+
Tested up to: 5.3
|
7 |
+
Stable tag: 1.9.2
|
8 |
|
9 |
== Description ==
|
10 |
An easy-to-use plugin that allows you to alter strings on your site without editing WordPress core, or plugin code. Simply enter the current string, and what you want to replace it with and the plugin will automatically do the rest!
|
18 |
* **Multi-lingual support** - set different replacements for different languages on multi-lingual sites
|
19 |
* **Import/export features** - Easy import/export of replacements through the user interface
|
20 |
|
21 |
+
## Treeware
|
22 |
+
|
23 |
+
You're free to use this package for free, but if it makes it to your production environment please [buy the world a tree](https://offset.earth/ademtisoftware?gift-trees).
|
24 |
+
|
25 |
== Installation ==
|
26 |
|
27 |
* Install it as you would any other plugin
|
63 |
|
64 |
== Changelog ==
|
65 |
|
66 |
+
= 1.9.2 =
|
67 |
+
* Suggest Treeware donations
|
68 |
+
|
69 |
= 1.9.1 =
|
70 |
* Update information about Pro features
|
71 |
|
say-what-admin.php
CHANGED
@@ -47,6 +47,7 @@ class SayWhatAdmin {
|
|
47 |
$links[] = '<a href="https://plugins.leewillis.co.uk/downloads/say-what-pro/?utm_source=wporg&utm_medium=plugin&utm_campaign=saywhatproupgrade"><strong>Upgrade to Pro</strong></a>';
|
48 |
return $links;
|
49 |
}
|
|
|
50 |
/**
|
51 |
* Register the menu item for the admin pages
|
52 |
*/
|
47 |
$links[] = '<a href="https://plugins.leewillis.co.uk/downloads/say-what-pro/?utm_source=wporg&utm_medium=plugin&utm_campaign=saywhatproupgrade"><strong>Upgrade to Pro</strong></a>';
|
48 |
return $links;
|
49 |
}
|
50 |
+
|
51 |
/**
|
52 |
* Register the menu item for the admin pages
|
53 |
*/
|
say-what.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Plugin Name: Say What?
|
5 |
Plugin URI: https://github.com/leewillis77/say-what
|
6 |
Description: An easy-to-use plugin that allows you to alter strings on your site without editing WordPress core, or plugin code
|
7 |
-
Version: 1.9.
|
8 |
Author: Lee Willis
|
9 |
Author URI: https://plugins.leewillis.co.uk/
|
10 |
Text Domain: say-what
|
4 |
Plugin Name: Say What?
|
5 |
Plugin URI: https://github.com/leewillis77/say-what
|
6 |
Description: An easy-to-use plugin that allows you to alter strings on your site without editing WordPress core, or plugin code
|
7 |
+
Version: 1.9.2
|
8 |
Author: Lee Willis
|
9 |
Author URI: https://plugins.leewillis.co.uk/
|
10 |
Text Domain: say-what
|