Skip to content

Commit b7f0634

Browse files
committed
chore: align plugin branding for wporg submission
1 parent 8b2ec25 commit b7f0634

8 files changed

Lines changed: 54 additions & 54 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# WP Cron Inspector Lite
1+
# Cron Inspector Lite
22

33
Find duplicate, stuck, and suspicious WordPress cron events before they cause support issues.
44

55
This plugin is read-only in the initial version. It lists scheduled WP-Cron events, highlights duplicate hooks, flags unusually frequent recurring events, and provides a support-friendly report.
66

77
## Screenshot
88

9-
![WP Cron Inspector Lite running on PeepSo staging](docs/screenshots/peepso-staging-cron-inspector.png)
9+
![Cron Inspector Lite running on PeepSo staging](docs/screenshots/peepso-staging-cron-inspector.png)
1010

1111
## Current v0.1 scope
1212

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?php
22
/**
3-
* Plugin Name: WP Cron Inspector Lite
3+
* Plugin Name: Cron Inspector Lite
44
* Plugin URI: https://github.com/nariyanto/wp-cron-inspector-lite
55
* Description: Find duplicate, stuck, and suspicious WordPress cron events before they cause support issues.
66
* Version: 0.1.0
77
* Author: Septiyan Nariyanto
88
* License: GPL-2.0-or-later
99
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
10-
* Text Domain: wp-cron-inspector-lite
10+
* Text Domain: cron-inspector-lite
1111
* Domain Path: /languages
1212
* Requires at least: 6.0
1313
* Requires PHP: 7.4
@@ -19,8 +19,8 @@
1919
exit;
2020
}
2121

22-
define('WP_CRON_INSPECTOR_LITE_VERSION', '0.1.0');
23-
define('WP_CRON_INSPECTOR_LITE_FILE', __FILE__);
22+
define('CRON_INSPECTOR_LITE_VERSION', '0.1.0');
23+
define('CRON_INSPECTOR_LITE_FILE', __FILE__);
2424

2525
require_once __DIR__ . '/src/CronEventInspector.php';
2626
require_once __DIR__ . '/src/AdminPage.php';

docs/wporg-publishing-checklist.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# WordPress.org Publishing Checklist
22

33
Repository: `wp-cron-inspector-lite`
4-
Plugin slug target: `wp-cron-inspector-lite`
4+
Plugin slug target: `cron-inspector-lite`
55

66
## Current status
77

@@ -10,13 +10,13 @@ Plugin slug target: `wp-cron-inspector-lite`
1010
- Plugin is read-only and does not delete or mutate cron events.
1111
- CI runs PHP tests and PHP syntax checks.
1212
- A screenshot from the staging site is available in `docs/screenshots/` for GitHub documentation.
13-
- Translation template exists at `languages/wp-cron-inspector-lite.pot`.
13+
- Translation template exists at `languages/cron-inspector-lite.pot`.
1414

1515
## Before WordPress.org submission
1616

1717
- [ ] Finalize the v0.1.0 feature scope; avoid adding destructive cleanup in the first submission.
18-
- [ ] Review all user-facing strings for text domain `wp-cron-inspector-lite`.
19-
- [ ] Regenerate `languages/wp-cron-inspector-lite.pot` after any string changes.
18+
- [ ] Review all user-facing strings for text domain `cron-inspector-lite`.
19+
- [ ] Regenerate `languages/cron-inspector-lite.pot` after any string changes.
2020
- [ ] Run local tests: `php tests/run.php`.
2121
- [ ] Run PHP syntax checks: `find . -path ./vendor -prune -o -name '*.php' -print0 | xargs -0 -n1 php -l`.
2222
- [ ] Confirm `readme.txt` metadata: contributors, tags, requires, tested up to, requires PHP, stable tag, license.
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,37 +2,37 @@
22
# This file is distributed under the GPL-2.0-or-later.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: WP Cron Inspector Lite 0.1.0\n"
6-
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-cron-inspector-lite\n"
5+
"Project-Id-Version: Cron Inspector Lite 0.1.0\n"
6+
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/cron-inspector-lite\n"
77
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
88
"Language-Team: LANGUAGE <LL@li.org>\n"
99
"MIME-Version: 1.0\n"
1010
"Content-Type: text/plain; charset=UTF-8\n"
1111
"Content-Transfer-Encoding: 8bit\n"
12-
"POT-Creation-Date: 2026-06-01T14:32:55+00:00\n"
12+
"POT-Creation-Date: 2026-06-01T14:45:42+00:00\n"
1313
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1414
"X-Generator: WP-CLI 2.12.0\n"
15-
"X-Domain: wp-cron-inspector-lite\n"
15+
"X-Domain: cron-inspector-lite\n"
1616

1717
#. Plugin Name of the plugin
18-
#: wp-cron-inspector-lite.php
18+
#: cron-inspector-lite.php
1919
#: src/AdminPage.php:14
2020
#: src/AdminPage.php:34
21-
msgid "WP Cron Inspector Lite"
21+
msgid "Cron Inspector Lite"
2222
msgstr ""
2323

2424
#. Plugin URI of the plugin
25-
#: wp-cron-inspector-lite.php
25+
#: cron-inspector-lite.php
2626
msgid "https://github.com/nariyanto/wp-cron-inspector-lite"
2727
msgstr ""
2828

2929
#. Description of the plugin
30-
#: wp-cron-inspector-lite.php
30+
#: cron-inspector-lite.php
3131
msgid "Find duplicate, stuck, and suspicious WordPress cron events before they cause support issues."
3232
msgstr ""
3333

3434
#. Author of the plugin
35-
#: wp-cron-inspector-lite.php
35+
#: cron-inspector-lite.php
3636
msgid "Septiyan Nariyanto"
3737
msgstr ""
3838

readme.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
=== WP Cron Inspector Lite ===
1+
=== Cron Inspector Lite ===
22
Contributors: nariyanto
33
Tags: cron, wp-cron, debugging, support, admin
44
Requires at least: 6.0
@@ -12,7 +12,7 @@ Find duplicate, stuck, and suspicious WordPress cron events before they cause su
1212

1313
== Description ==
1414

15-
WP Cron Inspector Lite is a read-only admin utility for support and debugging workflows. It helps you inspect scheduled WP-Cron events, identify duplicate hooks, flag unusually frequent events, and spot overdue jobs.
15+
Cron Inspector Lite is a read-only admin utility for support and debugging workflows. It helps you inspect scheduled WP-Cron events, identify duplicate hooks, flag unusually frequent events, and spot overdue jobs.
1616

1717
Initial scope:
1818

@@ -28,7 +28,7 @@ No destructive cleanup actions are included in v0.1.0.
2828
== Installation ==
2929

3030
1. Upload the plugin folder to `/wp-content/plugins/`.
31-
2. Activate **WP Cron Inspector Lite** from the Plugins screen.
31+
2. Activate **Cron Inspector Lite** from the Plugins screen.
3232
3. Open **Tools → Cron Inspector**.
3333

3434
== Frequently Asked Questions ==

src/AdminPage.php

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@ final class AdminPage
1111
public function register(): void
1212
{
1313
add_management_page(
14-
__('WP Cron Inspector Lite', 'wp-cron-inspector-lite'),
15-
__('Cron Inspector', 'wp-cron-inspector-lite'),
14+
__('Cron Inspector Lite', 'cron-inspector-lite'),
15+
__('Cron Inspector', 'cron-inspector-lite'),
1616
self::CAPABILITY,
17-
'wp-cron-inspector-lite',
17+
'cron-inspector-lite',
1818
[$this, 'render']
1919
);
2020
}
2121

2222
public function render(): void
2323
{
2424
if (! current_user_can(self::CAPABILITY)) {
25-
wp_die(esc_html__('You do not have permission to view this page.', 'wp-cron-inspector-lite'));
25+
wp_die(esc_html__('You do not have permission to view this page.', 'cron-inspector-lite'));
2626
}
2727

2828
$cron = function_exists('_get_cron_array') ? _get_cron_array() : [];
@@ -31,41 +31,41 @@ public function render(): void
3131
$report_text = $inspector->reportText();
3232
?>
3333
<div class="wrap">
34-
<h1><?php echo esc_html__('WP Cron Inspector Lite', 'wp-cron-inspector-lite'); ?></h1>
35-
<p><?php echo esc_html__('Read-only overview of scheduled WP-Cron events, duplicate hooks, and unusually frequent schedules.', 'wp-cron-inspector-lite'); ?></p>
34+
<h1><?php echo esc_html__('Cron Inspector Lite', 'cron-inspector-lite'); ?></h1>
35+
<p><?php echo esc_html__('Read-only overview of scheduled WP-Cron events, duplicate hooks, and unusually frequent schedules.', 'cron-inspector-lite'); ?></p>
3636

37-
<h2><?php echo esc_html__('Summary', 'wp-cron-inspector-lite'); ?></h2>
37+
<h2><?php echo esc_html__('Summary', 'cron-inspector-lite'); ?></h2>
3838
<ul>
39-
<li><?php /* translators: %d: total number of scheduled cron events. */ printf(esc_html__('Total events: %d', 'wp-cron-inspector-lite'), (int) $report['summary']['total_events']); ?></li>
40-
<li><?php /* translators: %d: number of cron event instances whose hook appears more than once. */ printf(esc_html__('Duplicate event instances: %d', 'wp-cron-inspector-lite'), (int) $report['summary']['duplicate_hook_count']); ?></li>
41-
<li><?php /* translators: %d: number of cron hooks scheduled more frequently than hourly. */ printf(esc_html__('Frequent hooks: %d', 'wp-cron-inspector-lite'), (int) $report['summary']['frequent_hook_count']); ?></li>
42-
<li><?php /* translators: %d: number of cron events scheduled before the current time. */ printf(esc_html__('Overdue events: %d', 'wp-cron-inspector-lite'), (int) $report['summary']['overdue_event_count']); ?></li>
39+
<li><?php /* translators: %d: total number of scheduled cron events. */ printf(esc_html__('Total events: %d', 'cron-inspector-lite'), (int) $report['summary']['total_events']); ?></li>
40+
<li><?php /* translators: %d: number of cron event instances whose hook appears more than once. */ printf(esc_html__('Duplicate event instances: %d', 'cron-inspector-lite'), (int) $report['summary']['duplicate_hook_count']); ?></li>
41+
<li><?php /* translators: %d: number of cron hooks scheduled more frequently than hourly. */ printf(esc_html__('Frequent hooks: %d', 'cron-inspector-lite'), (int) $report['summary']['frequent_hook_count']); ?></li>
42+
<li><?php /* translators: %d: number of cron events scheduled before the current time. */ printf(esc_html__('Overdue events: %d', 'cron-inspector-lite'), (int) $report['summary']['overdue_event_count']); ?></li>
4343
</ul>
4444

4545
<?php if (! empty($report['duplicates'])) : ?>
46-
<h2><?php echo esc_html__('Duplicate hooks', 'wp-cron-inspector-lite'); ?></h2>
46+
<h2><?php echo esc_html__('Duplicate hooks', 'cron-inspector-lite'); ?></h2>
4747
<p><?php echo esc_html(implode(', ', $report['duplicates'])); ?></p>
4848
<?php endif; ?>
4949

5050
<?php if (! empty($report['frequent_hooks'])) : ?>
51-
<h2><?php echo esc_html__('Unusually frequent hooks', 'wp-cron-inspector-lite'); ?></h2>
51+
<h2><?php echo esc_html__('Unusually frequent hooks', 'cron-inspector-lite'); ?></h2>
5252
<p><?php echo esc_html(implode(', ', $report['frequent_hooks'])); ?></p>
5353
<?php endif; ?>
5454

55-
<h2><?php echo esc_html__('Copy support report', 'wp-cron-inspector-lite'); ?></h2>
56-
<p><?php echo esc_html__('Use this read-only report in support tickets or debugging notes. Review it before sharing externally.', 'wp-cron-inspector-lite'); ?></p>
55+
<h2><?php echo esc_html__('Copy support report', 'cron-inspector-lite'); ?></h2>
56+
<p><?php echo esc_html__('Use this read-only report in support tickets or debugging notes. Review it before sharing externally.', 'cron-inspector-lite'); ?></p>
5757
<p>
58-
<button type="button" class="button button-secondary" id="wp-cron-inspector-lite-copy-report">
59-
<?php echo esc_html__('Copy report', 'wp-cron-inspector-lite'); ?>
58+
<button type="button" class="button button-secondary" id="cron-inspector-lite-copy-report">
59+
<?php echo esc_html__('Copy report', 'cron-inspector-lite'); ?>
6060
</button>
61-
<span id="wp-cron-inspector-lite-copy-status" aria-live="polite" style="margin-left: 8px;"></span>
61+
<span id="cron-inspector-lite-copy-status" aria-live="polite" style="margin-left: 8px;"></span>
6262
</p>
63-
<textarea id="wp-cron-inspector-lite-report" class="large-text code" rows="12" readonly><?php echo esc_textarea($report_text); ?></textarea>
63+
<textarea id="cron-inspector-lite-report" class="large-text code" rows="12" readonly><?php echo esc_textarea($report_text); ?></textarea>
6464
<script>
6565
document.addEventListener('DOMContentLoaded', function () {
66-
var button = document.getElementById('wp-cron-inspector-lite-copy-report');
67-
var report = document.getElementById('wp-cron-inspector-lite-report');
68-
var status = document.getElementById('wp-cron-inspector-lite-copy-status');
66+
var button = document.getElementById('cron-inspector-lite-copy-report');
67+
var report = document.getElementById('cron-inspector-lite-report');
68+
var status = document.getElementById('cron-inspector-lite-copy-status');
6969

7070
if (!button || !report || !status) {
7171
return;
@@ -76,7 +76,7 @@ public function render(): void
7676
report.select();
7777

7878
var markCopied = function () {
79-
status.textContent = <?php echo wp_json_encode(__('Copied.', 'wp-cron-inspector-lite')); ?>;
79+
status.textContent = <?php echo wp_json_encode(__('Copied.', 'cron-inspector-lite')); ?>;
8080
};
8181

8282
if (navigator.clipboard && navigator.clipboard.writeText) {
@@ -93,20 +93,20 @@ public function render(): void
9393
});
9494
</script>
9595

96-
<h2><?php echo esc_html__('Events', 'wp-cron-inspector-lite'); ?></h2>
96+
<h2><?php echo esc_html__('Events', 'cron-inspector-lite'); ?></h2>
9797
<table class="widefat striped">
9898
<thead>
9999
<tr>
100-
<th><?php echo esc_html__('Hook', 'wp-cron-inspector-lite'); ?></th>
101-
<th><?php echo esc_html__('Next run (GMT)', 'wp-cron-inspector-lite'); ?></th>
102-
<th><?php echo esc_html__('Schedule', 'wp-cron-inspector-lite'); ?></th>
103-
<th><?php echo esc_html__('Interval', 'wp-cron-inspector-lite'); ?></th>
104-
<th><?php echo esc_html__('Flags', 'wp-cron-inspector-lite'); ?></th>
100+
<th><?php echo esc_html__('Hook', 'cron-inspector-lite'); ?></th>
101+
<th><?php echo esc_html__('Next run (GMT)', 'cron-inspector-lite'); ?></th>
102+
<th><?php echo esc_html__('Schedule', 'cron-inspector-lite'); ?></th>
103+
<th><?php echo esc_html__('Interval', 'cron-inspector-lite'); ?></th>
104+
<th><?php echo esc_html__('Flags', 'cron-inspector-lite'); ?></th>
105105
</tr>
106106
</thead>
107107
<tbody>
108108
<?php foreach ($report['events'] as $event) : ?>
109-
<?php $flags = array_filter([! empty($event['is_overdue']) ? __('overdue', 'wp-cron-inspector-lite') : '', ! empty($event['is_frequent']) ? __('frequent', 'wp-cron-inspector-lite') : '']); ?>
109+
<?php $flags = array_filter([! empty($event['is_overdue']) ? __('overdue', 'cron-inspector-lite') : '', ! empty($event['is_frequent']) ? __('frequent', 'cron-inspector-lite') : '']); ?>
110110
<tr>
111111
<td><code><?php echo esc_html((string) $event['hook']); ?></code></td>
112112
<td><?php echo esc_html((string) $event['next_run_gmt']); ?></td>

src/CronEventInspector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function reportText(): string
8181
$report = $this->report();
8282
$summary = $report['summary'];
8383
$lines = [
84-
'WP Cron Inspector Lite Report',
84+
'Cron Inspector Lite Report',
8585
'Generated (GMT): ' . gmdate('Y-m-d H:i:s', $this->now),
8686
'',
8787
'Summary',

tests/run.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function assert_same($expected, $actual, string $message): void {
7373
assert_same(1, $report['summary']['frequent_hook_count'], 'it counts frequent hooks');
7474

7575
$report_text = $inspector->reportText();
76-
assert_true(strpos($report_text, 'WP Cron Inspector Lite Report') !== false, 'it creates a copy-friendly text report title');
76+
assert_true(strpos($report_text, 'Cron Inspector Lite Report') !== false, 'it creates a copy-friendly text report title');
7777
assert_true(strpos($report_text, 'Total events: 4') !== false, 'it includes summary totals in the text report');
7878
assert_true(strpos($report_text, 'Duplicate hooks: peepso_daily_email') !== false, 'it includes duplicate hooks in the text report');
7979
assert_true(strpos($report_text, 'Frequent hooks: backup_every_minute') !== false, 'it includes frequent hooks in the text report');

0 commit comments

Comments
 (0)