Skip to content

Commit 1de5289

Browse files
committed
Rename to Simple Search Submission for IndexNow.
1 parent 0592e08 commit 1de5289

11 files changed

+27
-35
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "peterwilsoncc/no-fuss-indexnow",
3-
"description": "No Fuss IndexNow.",
2+
"name": "peterwilsoncc/simple-search-submission",
3+
"description": "Simple Search Submission for IndexNow.",
44
"type": "wordpress-plugin",
55
"require-dev": {
66
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",

inc/namespace.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?php
22
/**
3-
* No Fuss IndexNow
3+
* Simple Search Submission for IndexNow
44
*
5-
* @package NoFussIndexNow
5+
* @package SimpleSearchSubmission
66
*/
77

8-
namespace PWCC\NoFussIndexNow;
8+
namespace PWCC\SimpleSearchSubmission;
99

1010
const PLUGIN_VERSION = '1.0.0';
1111

phpcs.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<rule ref="WordPress.WP.I18n">
4040
<properties>
4141
<!-- Value: replace the text domain used. -->
42-
<property name="text_domain" type="array" value="no-fuss-indexnow"/>
42+
<property name="text_domain" type="array" value="simple-search-submission"/>
4343
</properties>
4444
</rule>
4545
<rule ref="WordPress.WhiteSpace.ControlStructureSpacing">

phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
convertWarningsToExceptions="true"
99
>
1010
<testsuites>
11-
<testsuite name="no-fuss-indexnow">
11+
<testsuite name="simple-search-submission">
1212
<directory prefix="class-test-" suffix=".php">./tests/</directory>
1313
<!-- exclude>./tests/class-test-sample.php</exclude -->
1414
</testsuite>

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# No Fuss IndexNow
1+
# Simple Search Submission for IndexNow
22

readme.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
=== No Fuss IndexNow ===
1+
=== Simple Search Submission for IndexNow ===
22
Contributors: peterwilsoncc
33
Tags:
44
Tested up to: 6.8
55
Stable tag: 1.0.0
66
License: GPL-2.0-or-later
7-
License URI: https://github.com/peterwilsoncc/no-fuss-indexnow/blob/main/LICENSE
7+
License URI: https://github.com/peterwilsoncc/simple-search-submission/blob/main/LICENSE
88

99
Short Description
1010

no-fuss-indexnow.php renamed to simple-search-submission.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
<?php
22
/**
3-
* No Fuss IndexNow
3+
* Simple Search Submission for IndexNow
44
*
5-
* @package NoFussIndexNow
5+
* @package SimpleSearchSubmission
66
* @author Peter Wilson
77
* @copyright 2025 Peter Wilson, FAIR Contributors
88
* @license GPL-2.0-or-later
99
*
1010
* @wordpress-plugin
11-
* Plugin Name: No Fuss IndexNow
12-
* Description: No Fuss IndexNow
11+
* Plugin Name: Simple Search Submission for IndexNow
12+
* Description: Simple Search Submission for IndexNow
1313
* Version: 1.0.0
1414
* Requires at least: 6.5
1515
* Requires PHP: 8.0
1616
* Author: Peter Wilson
1717
* Author URI: https://peterwilson.cc
1818
* License: GPL-2.0-or-later
19-
* Text Domain: no-fuss-indexnow
19+
* Text Domain: simple-search-submission
2020
*
2121
* This plugin is based on the IndexNow code from the FAIR plugin, copyright
2222
* 2025 FAIR contributors, and licensed under the GNU General Public License.
@@ -36,7 +36,7 @@
3636
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
3737
*/
3838

39-
namespace PWCC\NoFussIndexNow;
39+
namespace PWCC\SimpleSearchSubmission;
4040

4141
require_once __DIR__ . '/inc/namespace.php';
4242

tests/bootstrap.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* PHPUnit bootstrap file.
44
*
5-
* @package NoFussIndexNow
5+
* @package SimpleSearchSubmission
66
*/
77

88
$_pwcc_tests_directory = getenv( 'WP_TESTS_DIR' );
@@ -30,7 +30,7 @@
3030
* Manually load the plugin being tested.
3131
*/
3232
function _pwcc_tests_manually_load_plugin() {
33-
require dirname( __DIR__ ) . '/no-fuss-indexnow.php';
33+
require dirname( __DIR__ ) . '/simple-search-submission.php';
3434
}
3535

3636
tests_add_filter( 'muplugins_loaded', '_pwcc_tests_manually_load_plugin' );

tests/class-test-indexnow-pings.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
/**
33
* Test Plugin Pings of IndexNow
44
*
5-
* @package NoFussIndexNow
5+
* @package SimpleSearchSubmission
66
*/
77

8-
namespace PWCC\NoFussIndexNow\Tests;
8+
namespace PWCC\SimpleSearchSubmission\Tests;
99

1010
use WP_UnitTestCase;
1111
use WP_UnitTest_Factory;

tests/class-test-plugin-headers.php

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
/**
33
* Test Plugin Readme and PHP Headers
44
*
5-
* @package NoFussIndexNow
5+
* @package SimpleSearchSubmission
66
*/
77

8-
namespace PWCC\NoFussIndexNow\Tests;
8+
namespace PWCC\SimpleSearchSubmission\Tests;
99

1010
use WP_UnitTestCase;
1111

@@ -125,11 +125,7 @@ public static function wpSetupBeforeClass() {
125125

126126
// Get the plugin headers.
127127
// Plugin name.
128-
$plugin_file_name = basename( dirname( __DIR__ ) ) . '.php';
129-
if ( ! file_exists( __DIR__ . "/../{$plugin_file_name}" ) ) {
130-
// Fallback to the generic plugin file name.
131-
$plugin_file_name = 'plugin.php';
132-
}
128+
$plugin_file_name = 'simple-search-submission.php';
133129

134130
$plugin_file_data = array();
135131
foreach ( self::$plugin_headers as $header => $required ) {

0 commit comments

Comments
 (0)