Skip to content

Commit

Permalink
Merge pull request #2 from dartiss/develop
Browse files Browse the repository at this point in the history
Fixed text domain
  • Loading branch information
dartiss authored Sep 25, 2020
2 parents 8f60900 + 0f987b4 commit b8d4529
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
15 changes: 9 additions & 6 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
=== 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

🔍 Instantly display a single search result.

== 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.

Expand All @@ -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
= 0.2 =
* Fixed the incorrect text domain
12 changes: 6 additions & 6 deletions solo-search.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand All @@ -24,13 +24,13 @@ function solo_plugin_meta( $links, $file ) {

if ( false !== strpos( $file, 'solo-search.php' ) ) {

$links = array_merge( $links, array( '<a href="https://github.com/dartiss/solo">' . __( 'Github', 'solo' ) . '</a>' ) );
$links = array_merge( $links, array( '<a href="https://github.com/dartiss/solo">' . __( 'Github', 'solo-search' ) . '</a>' ) );

$links = array_merge( $links, array( '<a href="https://wordpress.org/support/plugin/solo-search">' . __( 'Support', 'solo' ) . '</a>' ) );
$links = array_merge( $links, array( '<a href="https://wordpress.org/support/plugin/solo-search">' . __( 'Support', 'solo-search' ) . '</a>' ) );

$links = array_merge( $links, array( '<a href="https://artiss.blog/donate">' . __( 'Donate', 'solo' ) . '</a>' ) );
$links = array_merge( $links, array( '<a href="https://artiss.blog/donate">' . __( 'Donate', 'solo-search' ) . '</a>' ) );

$links = array_merge( $links, array( '<a href="https://wordpress.org/support/plugin/solo-search/reviews/#new-post">' . __( 'Write a Review', 'solo' ) . '&nbsp;⭐️⭐️⭐️⭐️⭐️</a>' ) );
$links = array_merge( $links, array( '<a href="https://wordpress.org/support/plugin/solo-search/reviews/#new-post">' . __( 'Write a Review', 'solo-search' ) . '&nbsp;⭐️⭐️⭐️⭐️⭐️</a>' ) );
}

return $links;
Expand Down

0 comments on commit b8d4529

Please sign in to comment.