Skip to content

Commit

Permalink
Word fixes. v4.0.0-RC2
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaydsouza committed Nov 19, 2024
1 parent 2c717b5 commit 06af159
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion better-search.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* Plugin Name: Better Search
* Plugin URI: https://webberzone.com/plugins/better-search/
* Description: Replace the default WordPress search with a contextual search. Search results are sorted by relevancy ensuring a better visitor search experience.
* Version: 4.0.0-RC1
* Version: 4.0.0-RC2
* Author: WebberZone
* Author URI: https://webberzone.com/
* Text Domain: better-search
Expand Down
2 changes: 1 addition & 1 deletion includes/admin/settings/class-metabox-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ public function html( $post ) {
echo '</table>';

/**
* Action triggered when displaying Top 10 meta box.
* Action triggered when displaying Better Search meta box.
*
* @param object $post Post object.
*/
Expand Down
6 changes: 5 additions & 1 deletion includes/class-main.php
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,11 @@ public function plugin_deactivated_notice() {
}
?>
<div class="updated" style="border-left: 4px solid #ffba00;">
<p><?php echo esc_html( $message ); ?></p>
<p>
<?php
esc_html_e( $message );
?>
</p>
</div>
<?php
delete_transient( 'bsearch_deactivated_notice_id' );
Expand Down
4 changes: 2 additions & 2 deletions includes/class-tracker.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function __construct() {
}

/**
* Enqueues the scripts needed by Top 10.
* Enqueues the scripts needed by Better Search.
*
* @since 1.9.7
* @return void
Expand Down Expand Up @@ -114,7 +114,7 @@ public static function enqueue_scripts() {
* @since 2.0.0
*
* @param array $vars Query variables array.
* @return array Query variables array with Top 10 parameters appended
* @return array Query variables array with Better Search parameters appended
*/
public static function query_vars( $vars ) {
// Add these to the list of queryvars that WP gathers.
Expand Down
2 changes: 1 addition & 1 deletion includes/frontend/class-media-handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ public static function get_the_post_thumbnail( $args = array() ) {
}

/**
* Filters post thumbnail created for Top 10.
* Filters post thumbnail created for Better Search.
*
* @since 1.9.10.1
*
Expand Down
4 changes: 2 additions & 2 deletions includes/util/class-cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function __construct() {
}

/**
* Function to clear the Top 10 Cache with Ajax.
* Function to clear the Better Search Cache with Ajax.
*
* @since 3.3.0
*/
Expand All @@ -51,7 +51,7 @@ public function ajax_clearcache() {
}

/**
* Delete the Top 10 cache.
* Delete the Better Search cache.
*
* @since 3.3.0
*
Expand Down

0 comments on commit 06af159

Please sign in to comment.