From 0f987b46634adf78d12522837a33c0e9af9c65b5 Mon Sep 17 00:00:00 2001 From: David Artiss Date: Fri, 25 Sep 2020 11:59:12 +0100 Subject: [PATCH] Fixed text domain --- readme.txt | 15 +++++++++------ solo-search.php | 12 ++++++------ 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/readme.txt b/readme.txt index 4c2e64f..864df3e 100644 --- a/readme.txt +++ b/readme.txt @@ -1,11 +1,11 @@ === Solo === Contributors: dartiss Donate link: https://artiss.blog/donate -Tags: search +Tags: result, search, single, solo Requires at least: 2.8 Tested up to: 5.5 Requires PHP: 5.3 -Stable tag: 0.1 +Stable tag: 0.2 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -13,9 +13,9 @@ License URI: http://www.gnu.org/licenses/gpl-2.0.html == Description == -You know when you search for something on your site and it finds just one result? You then have to click into it to display it. That's annoying. It's also adding an extra page load which is not necessary. +You know when you search for something on a site and it finds just one result? You then have to click into it to display it. That's annoying. It's also adding an extra page load which is not necessary. -This plugin simply removes this middle step - if your search returns one result, it will be shown in all its post/page/whatever (delete as appropriate) glory. As well as a quicker answer for your user, removing this improves your site's sustainability (okay, just a little... but every little helps, right?). +This plugin simply removes this middle step - if your search returns one result, it will be shown in all its post/page/whatever (delete as appropriate) glory. As well as a quicker answer for your visitor, removing this improves your site's sustainability (okay, just a little... but every little helps, right?). The code passes WordPress and WordPress VIP coding standards. Because you're worth it. @@ -34,10 +34,13 @@ It's now ready to go. [Learn more about my version numbering methodology](https://artiss.blog/2016/09/wordpress-plugin-versioning/ "WordPress Plugin Versioning") += 0.2 = +* Bug: Fixed text domain + = 0.1 = * Initial release == Upgrade Notice == -= 0.1 = -* Initial release \ No newline at end of file += 0.2 = +* Fixed the incorrect text domain \ No newline at end of file diff --git a/solo-search.php b/solo-search.php index 984e4a3..65e05a6 100644 --- a/solo-search.php +++ b/solo-search.php @@ -3,10 +3,10 @@ Plugin Name: Solo Plugin URI: https://wordpress.org/plugins/solo-search/ Description: 🔍 Instantly display a single search result -Version: 0.1 +Version: 0.2 Author: David Artiss Author URI: https://artiss.blog -Text Domain: solo +Text Domain: solo-search @package solo */ @@ -24,13 +24,13 @@ function solo_plugin_meta( $links, $file ) { if ( false !== strpos( $file, 'solo-search.php' ) ) { - $links = array_merge( $links, array( '' . __( 'Github', 'solo' ) . '' ) ); + $links = array_merge( $links, array( '' . __( 'Github', 'solo-search' ) . '' ) ); - $links = array_merge( $links, array( '' . __( 'Support', 'solo' ) . '' ) ); + $links = array_merge( $links, array( '' . __( 'Support', 'solo-search' ) . '' ) ); - $links = array_merge( $links, array( '' . __( 'Donate', 'solo' ) . '' ) ); + $links = array_merge( $links, array( '' . __( 'Donate', 'solo-search' ) . '' ) ); - $links = array_merge( $links, array( '' . __( 'Write a Review', 'solo' ) . ' ⭐️⭐️⭐️⭐️⭐️' ) ); + $links = array_merge( $links, array( '' . __( 'Write a Review', 'solo-search' ) . ' ⭐️⭐️⭐️⭐️⭐️' ) ); } return $links;