Say what? - Version 1.4

Version Description

Add info box about Pro version

Download this release

Release Info

Developer leewillis77
Plugin Icon 128x128 Say what?
Version 1.4
Comparing to
See all releases

Code changes from version 1.3 to 1.4

css/admin.css CHANGED
@@ -10,4 +10,25 @@
10
  .wp-list-table .edit_links,
11
  .wp-list-table .delete_links {
12
  width: 6%;
13
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  .wp-list-table .edit_links,
11
  .wp-list-table .delete_links {
12
  width: 6%;
13
+ }
14
+ .saywhat-gopro {
15
+ background-color: #ded;
16
+ border: 1px solid #0a0;
17
+ padding: 0.5em 1em 0.5em 1em;
18
+ width: 60%;
19
+ margin: auto;
20
+ border-radius: 1em;
21
+ }
22
+ .saywhat-gopro a.button-primary {
23
+ background-color: #dd823b;
24
+ border-color: #c36922;
25
+ -webkit-box-shadow: inset 0 1px 0 #e8ac7c, 0 1px 0 rgba(0, 0, 0, 0.15);
26
+ box-shadow: inset 0 1px 0 #e8ac7c, 0 1px 0 rgba(0, 0, 0, 0.15);
27
+ }
28
+ .saywhat-gopro a.button-primary:hover,
29
+ .saywhat-gopro a.button-primary:focus {
30
+ background: #d97426;
31
+ border-color: #ad5d1e;
32
+ -webkit-box-shadow: inset 0 1px 0 #e59e66;
33
+ box-shadow: inset 0 1px 0 #e59e66;
34
+ }
html/say-what-admin-list.php CHANGED
@@ -6,4 +6,10 @@
6
  $list_table_instance->prepare_items();
7
  $list_table_instance->display();
8
  ?>
 
 
 
 
 
 
9
  </div>
6
  $list_table_instance->prepare_items();
7
  $list_table_instance->display();
8
  ?>
9
+ <div class="saywhat-gopro">
10
+ <h2>Go pro</h2>
11
+ <p><a href="http://plugins.leewillis.co.uk/downloads/say-what-pro/?utm_campaign=saywhatproupgrade">Say What? Pro</a> makes it even easier for you to change strings by offering <em><a href="http://plugins.leewillis.co.uk/doc_post/string-discovery/" target="_blank">String Discovery</a></em> and autocomplete, making it even easier to find the strings you need to change without diving through code.</p>
12
+ <p><strong>Upgrade to the Pro version today, and <em>save 20%</em> with the code <code>SAYWHATWP</code> at checkout.</strong></p>
13
+ <p><a href="http://plugins.leewillis.co.uk/downloads/say-what-pro/?utm_campaign=saywhatproupgrade" class="button button-primary">Go Pro now &raquo;</a></p>
14
+ </div>
15
  </div>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.leewillis.co.uk/wordpress-plugins/?utm_source=wordpress&
4
  Tags: string, change, translation
5
  Requires at least: 3.5
6
  Tested up to: 4.0
7
- Stable tag: 1.3
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!
@@ -48,6 +48,12 @@ See the [GitHub homepage](https://github.com/leewillis77/say-what) for examples.
48
 
49
  == Changelog ==
50
 
 
 
 
 
 
 
51
  = 1.2 =
52
  Swap database to UTF-8 to fix problems entering non-ASCII strings.
53
 
4
  Tags: string, change, translation
5
  Requires at least: 3.5
6
  Tested up to: 4.0
7
+ Stable tag: 1.4
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!
48
 
49
  == Changelog ==
50
 
51
+ = 1.4 =
52
+ Add info box about Pro version
53
+
54
+ = 1.3 =
55
+ Support for WP-CLI import and export.
56
+
57
  = 1.2 =
58
  Swap database to UTF-8 to fix problems entering non-ASCII strings.
59
 
say-what-cli.class.php CHANGED
@@ -26,7 +26,7 @@ class SayWhatCli extends \WP_CLI\CommandWithDBObject {
26
  *
27
  * wp say-what export
28
  *
29
- * @SuppressWarnings(PHPMD.UnusedLocalVariable)
30
  */
31
  public function export( $args, $assoc_args ) {
32
  $formatter = $this->get_formatter( $assoc_args );
@@ -67,7 +67,7 @@ class SayWhatCli extends \WP_CLI\CommandWithDBObject {
67
  *
68
  * @subcommand import
69
  *
70
- * @SuppressWarnings(PHPMD.UnusedLocalVariable)
71
  */
72
  public function _import( $args, $assoc_args ) {
73
  $filename = $args[0];
@@ -93,7 +93,7 @@ class SayWhatCli extends \WP_CLI\CommandWithDBObject {
93
  *
94
  * wp say-what update {file}
95
  *
96
- * @SuppressWarnings(PHPMD.UnusedLocalVariable)
97
  */
98
  public function update( $args, $assoc_args ) {
99
  $filename = $args[0];
26
  *
27
  * wp say-what export
28
  *
29
+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
30
  */
31
  public function export( $args, $assoc_args ) {
32
  $formatter = $this->get_formatter( $assoc_args );
67
  *
68
  * @subcommand import
69
  *
70
+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
71
  */
72
  public function _import( $args, $assoc_args ) {
73
  $filename = $args[0];
93
  *
94
  * wp say-what update {file}
95
  *
96
+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
97
  */
98
  public function update( $args, $assoc_args ) {
99
  $filename = $args[0];
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.3
8
  Author: Lee Willis
9
  Author URI: http://www.leewillis.co.uk/
10
  */
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.4
8
  Author: Lee Willis
9
  Author URI: http://www.leewillis.co.uk/
10
  */