Skip to content

Commit 615ccbf

Browse files
committed
Work in progress.
1 parent d8cb801 commit 615ccbf

File tree

7 files changed

+107
-104
lines changed

7 files changed

+107
-104
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
44
patreon: # Replace with a single Patreon username
55
open_collective: # Replace with a single Open Collective username
6-
ko_fi: # Replace with a single Ko-fi username
6+
ko_fi: milanpetrovic
77
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
88
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
99
liberapay: # Replace with a single Liberapay username

core/admin/Settings.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -445,11 +445,11 @@ public function option_access_key() {
445445
public function option_pretty_print() {
446446
$enabled = debugpress_plugin()->get( 'pr' );
447447

448-
echo "<label style='display: block;'><input " . ( $enabled == 'prettyprint' ? " checked='checked'" : "" ) . " name='debugpress_settings[pr]' value='prettyprint' type='radio' />" . esc_html__( 'Default', 'debugpress' ) . "</label>";
449-
echo '<p class="description">' . esc_html__( 'Default and simple library, but it can be limited in what it can process.', 'debugpress' ) . '</p>';
450-
451-
echo "<label style='display: block; margin-top: 15px;'><input " . ( $enabled == 'kint' ? " checked='checked'" : "" ) . " name='debugpress_settings[pr]' value='kint' type='radio' />KINT</label>";
448+
echo "<label style='display: block;'><input " . ( $enabled == 'kint' ? " checked='checked'" : "" ) . " name='debugpress_settings[pr]' value='kint' type='radio' />KINT</label>";
452449
echo '<p class="description">' . esc_html__( 'Third party developed library with more robust output and able to process almost any type of complex objects.', 'debugpress' ) . ' <a href="https://github.com/kint-php/kint" target="_blank">' . esc_html__( 'GitHub', 'debugpress' ) . '</a></p>';
450+
451+
echo "<label style='display: block; margin-top: 15px;'><input " . ( $enabled == 'prettyprint' ? " checked='checked'" : "" ) . " name='debugpress_settings[pr]' value='prettyprint' type='radio' />" . esc_html__( 'Basic Pretty Print', 'debugpress' ) . "</label>";
452+
echo '<p class="description">' . esc_html__( 'Default and simple library, but it can be limited in what it can process.', 'debugpress' ) . '</p>';
453453
}
454454

455455
public function option_auto_wpdebug() {

debugpress.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22
/**
3-
* Plugin Name: DebugPress: Debugger in a Popup
3+
* Plugin Name: DebugPress: Debugger in Popup
44
* Plugin URI: https://debug.press/
5-
* Description: DebugPress is an easy-to-use plugin that implements popups for debugging and profiling website pages with support for intercepting AJAX requests.
5+
* Description: Easy-to-use plugin for debugging and profiling website loading, SQL queries analysis, help with development, bug fixing, all in configurable popup.
66
* Author: Milan Petrovic
77
* Author URI: https://www.dev4press.com/
88
* Text Domain: debugpress

debugpress.pot

Lines changed: 94 additions & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ msgid ""
33
msgstr ""
44
"Plural - Forms: nplurals = INTEGER; plural = EXPRESSION;\n"
55
"Project-Id-Version: DebugPress\n"
6-
"POT-Creation-Date: 01/23/2024 01:30:11 PM\n"
6+
"POT-Creation-Date: 11/02/2024 09:36:48 AM\n"
77
"Language-Team: Milan Petrovic <support@dev4press.com>\n"
88
"MIME-Version: 1.0\n"
99
"Content-Type: text/plain; charset=UTF-8\n"
@@ -366,20 +366,20 @@ msgstr ""
366366
msgid "URL Query Argument:"
367367
msgstr ""
368368

369-
#: core/admin/Settings.php:448
370-
msgid "Default"
369+
#: core/admin/Settings.php:449
370+
msgid "Third party developed library with more robust output and able to process almost any type of complex objects."
371371
msgstr ""
372372

373373
#: core/admin/Settings.php:449
374-
msgid "Default and simple library, but it can be limited in what it can process."
374+
msgid "GitHub"
375375
msgstr ""
376376

377-
#: core/admin/Settings.php:452
378-
msgid "Third party developed library with more robust output and able to process almost any type of complex objects."
377+
#: core/admin/Settings.php:451
378+
msgid "Basic Pretty Print"
379379
msgstr ""
380380

381381
#: core/admin/Settings.php:452
382-
msgid "GitHub"
382+
msgid "Default and simple library, but it can be limited in what it can process."
383383
msgstr ""
384384

385385
#: core/admin/Settings.php:459
@@ -478,12 +478,12 @@ msgstr ""
478478

479479
#: core/display/ErrorFormat.php:108
480480
#: core/display/ErrorFormat.php:131
481-
msgid "<strong>%s</strong> is deprecated since version %s. Use <strong>%s</strong> instead."
481+
msgid "<strong>%1$s</strong> is deprecated since version %2$s. Use <strong>%3$s</strong> instead."
482482
msgstr ""
483483

484484
#: core/display/ErrorFormat.php:110
485485
#: core/display/ErrorFormat.php:133
486-
msgid "<strong>%s</strong> is deprecated since version %s."
486+
msgid "<strong>%1$s</strong> is deprecated since version %2$s."
487487
msgstr ""
488488

489489
#: core/display/ErrorFormat.php:122
@@ -500,15 +500,15 @@ msgid "Deprecated Constructor"
500500
msgstr ""
501501

502502
#: core/display/ErrorFormat.php:153
503-
msgid "For <strong>%s</strong> since version %s."
503+
msgid "For <strong>%1$s</strong> since version %2$s."
504504
msgstr ""
505505

506506
#: core/display/ErrorFormat.php:168
507507
msgid "Deprecated Argument"
508508
msgstr ""
509509

510510
#: core/display/ErrorFormat.php:178
511-
msgid "Argument in <strong>%s</strong> is deprecated since version %s."
511+
msgid "Argument in <strong>%1$s</strong> is deprecated since version %2$s."
512512
msgstr ""
513513

514514
#: core/display/Loader.php:88
@@ -581,7 +581,7 @@ msgid "Hooks"
581581
msgstr ""
582582

583583
#: core/display/Loader.php:224
584-
#: core/track/Tracker.php:574
584+
#: core/track/Tracker.php:576
585585
msgid "SQL Queries"
586586
msgstr ""
587587

@@ -659,50 +659,50 @@ msgid "The Unknown Closure"
659659
msgstr ""
660660

661661
#: core/main/Info.php:15
662-
#: core/main/Info.php:415
663-
#: core/main/Info.php:457
664-
#: core/main/Info.php:480
662+
#: core/main/Info.php:416
663+
#: core/main/Info.php:458
664+
#: core/main/Info.php:481
665665
msgid "loaded"
666666
msgstr ""
667667

668668
#: core/main/Info.php:17
669-
#: core/main/Info.php:418
670-
#: core/main/Info.php:428
671-
#: core/main/Info.php:436
672-
#: core/main/Info.php:446
673-
#: core/main/Info.php:460
674-
#: core/main/Info.php:468
675-
#: core/main/Info.php:487
669+
#: core/main/Info.php:419
670+
#: core/main/Info.php:429
671+
#: core/main/Info.php:437
672+
#: core/main/Info.php:447
673+
#: core/main/Info.php:461
674+
#: core/main/Info.php:469
675+
#: core/main/Info.php:488
676676
msgid "not loaded"
677677
msgstr ""
678678

679-
#: core/main/Info.php:306
680-
#: core/main/Info.php:310
681-
#: core/main/Info.php:405
679+
#: core/main/Info.php:307
680+
#: core/main/Info.php:311
681+
#: core/main/Info.php:406
682682
msgid "On"
683683
msgstr ""
684684

685-
#: core/main/Info.php:306
686-
#: core/main/Info.php:310
687-
#: core/main/Info.php:405
685+
#: core/main/Info.php:307
686+
#: core/main/Info.php:311
687+
#: core/main/Info.php:406
688688
msgid "Off"
689689
msgstr ""
690690

691-
#: core/main/Info.php:345
691+
#: core/main/Info.php:346
692692
msgid "ON"
693693
msgstr ""
694694

695-
#: core/main/Info.php:345
695+
#: core/main/Info.php:346
696696
msgid "OFF"
697697
msgstr ""
698698

699-
#: core/main/Info.php:502
700-
#: core/main/Info.php:510
699+
#: core/main/Info.php:503
700+
#: core/main/Info.php:511
701701
msgid "OK"
702702
msgstr ""
703703

704-
#: core/main/Info.php:504
705-
#: core/main/Info.php:512
704+
#: core/main/Info.php:505
705+
#: core/main/Info.php:513
706706
msgid "not available"
707707
msgstr ""
708708

@@ -1692,7 +1692,7 @@ msgid "Available Memory"
16921692
msgstr ""
16931693

16941694
#: core/panel/Server.php:86
1695-
#: core/track/Tracker.php:572
1695+
#: core/track/Tracker.php:574
16961696
msgid "Used Memory"
16971697
msgstr ""
16981698

@@ -1978,6 +1978,56 @@ msgstr ""
19781978
msgid "Rest of User Meta Information"
19791979
msgstr ""
19801980

1981+
#: core/printer/prettyprint/PrettyPrint.php:50
1982+
msgctxt "PrettyPrint message"
1983+
msgid "Empty Array"
1984+
msgstr ""
1985+
1986+
#: core/printer/prettyprint/PrettyPrint.php:51
1987+
msgctxt "PrettyPrint message"
1988+
msgid "No Properties"
1989+
msgstr ""
1990+
1991+
#: core/printer/prettyprint/PrettyPrint.php:52
1992+
msgctxt "PrettyPrint message"
1993+
msgid "No Methods"
1994+
msgstr ""
1995+
1996+
#: core/printer/prettyprint/PrettyPrint.php:53
1997+
msgctxt "PrettyPrint message"
1998+
msgid "Infinite Recursion Detected!"
1999+
msgstr ""
2000+
2001+
#: core/printer/prettyprint/PrettyPrint.php:54
2002+
msgctxt "PrettyPrint message"
2003+
msgid "%d characters"
2004+
msgstr ""
2005+
2006+
#: core/printer/prettyprint/PrettyPrint.php:55
2007+
msgctxt "PrettyPrint message"
2008+
msgid "%s type"
2009+
msgstr ""
2010+
2011+
#: core/printer/prettyprint/PrettyPrint.php:56
2012+
msgctxt "PrettyPrint message"
2013+
msgid "%d elements"
2014+
msgstr ""
2015+
2016+
#: core/printer/prettyprint/PrettyPrint.php:57
2017+
msgctxt "PrettyPrint message"
2018+
msgid "%d properties"
2019+
msgstr ""
2020+
2021+
#: core/printer/prettyprint/PrettyPrint.php:58
2022+
msgctxt "PrettyPrint message"
2023+
msgid "Called From"
2024+
msgstr ""
2025+
2026+
#: core/printer/prettyprint/PrettyPrint.php:59
2027+
msgctxt "PrettyPrint message"
2028+
msgid "line"
2029+
msgstr ""
2030+
19812031
#: core/track/AJAX.php:41
19822032
msgid "AJAX STARTED"
19832033
msgstr ""
@@ -1986,23 +2036,23 @@ msgstr ""
19862036
msgid "AJAX ENDED"
19872037
msgstr ""
19882038

1989-
#: core/track/Tracker.php:404
2039+
#: core/track/Tracker.php:406
19902040
msgid "Unregistered Setting"
19912041
msgstr ""
19922042

1993-
#: core/track/Tracker.php:573
2043+
#: core/track/Tracker.php:575
19942044
msgid "Total Time"
19952045
msgstr ""
19962046

1997-
#: core/track/Tracker.php:578
2047+
#: core/track/Tracker.php:580
19982048
msgid "SQL Time"
19992049
msgstr ""
20002050

2001-
#: core/track/Tracker.php:581
2051+
#: core/track/Tracker.php:583
20022052
msgid "Visitor IP"
20032053
msgstr ""
20042054

2005-
#: core/track/Tracker.php:755
2055+
#: core/track/Tracker.php:761
20062056
msgid "Request not executed because of the filter on %s."
20072057
msgstr ""
20082058

@@ -2038,19 +2088,19 @@ msgstr ""
20382088
msgid "DebugPress is a free plugin, and if you find it useful or want to support its future development, please consider donating."
20392089
msgstr ""
20402090

2041-
#: forms/admin/sidebar.php:21
2091+
#: forms/admin/sidebar.php:24
20422092
msgid "To get help for the DebugPress plugin, start with the plugin website for tutorials, or use Dev4Press.com knowledge base."
20432093
msgstr ""
20442094

2045-
#: forms/admin/sidebar.php:27
2095+
#: forms/admin/sidebar.php:30
20462096
msgid "If you need direct help, you can use WordPress.org support forums or the Dev4Press.com support forums."
20472097
msgstr ""
20482098

2049-
#: forms/admin/sidebar.php:33
2099+
#: forms/admin/sidebar.php:36
20502100
msgid "The plugin is available on GitHub, and you can report issues, suggest new features or submit pull requests."
20512101
msgstr ""
20522102

2053-
#: forms/admin/sidebar.php:35
2103+
#: forms/admin/sidebar.php:38
20542104
msgid "DebugPress on GitHub"
20552105
msgstr ""
20562106

@@ -2104,53 +2154,3 @@ msgstr ""
21042154
msgid "Select Debugger Panel"
21052155
msgstr ""
21062156

2107-
#: vendor/prettyprint/PrettyPrint.php:50
2108-
msgctxt "PrettyPrint message"
2109-
msgid "Empty Array"
2110-
msgstr ""
2111-
2112-
#: vendor/prettyprint/PrettyPrint.php:51
2113-
msgctxt "PrettyPrint message"
2114-
msgid "No Properties"
2115-
msgstr ""
2116-
2117-
#: vendor/prettyprint/PrettyPrint.php:52
2118-
msgctxt "PrettyPrint message"
2119-
msgid "No Methods"
2120-
msgstr ""
2121-
2122-
#: vendor/prettyprint/PrettyPrint.php:53
2123-
msgctxt "PrettyPrint message"
2124-
msgid "Infinite Recursion Detected!"
2125-
msgstr ""
2126-
2127-
#: vendor/prettyprint/PrettyPrint.php:54
2128-
msgctxt "PrettyPrint message"
2129-
msgid "%d characters"
2130-
msgstr ""
2131-
2132-
#: vendor/prettyprint/PrettyPrint.php:55
2133-
msgctxt "PrettyPrint message"
2134-
msgid "%s type"
2135-
msgstr ""
2136-
2137-
#: vendor/prettyprint/PrettyPrint.php:56
2138-
msgctxt "PrettyPrint message"
2139-
msgid "%d elements"
2140-
msgstr ""
2141-
2142-
#: vendor/prettyprint/PrettyPrint.php:57
2143-
msgctxt "PrettyPrint message"
2144-
msgid "%d properties"
2145-
msgstr ""
2146-
2147-
#: vendor/prettyprint/PrettyPrint.php:58
2148-
msgctxt "PrettyPrint message"
2149-
msgid "Called From"
2150-
msgstr ""
2151-
2152-
#: vendor/prettyprint/PrettyPrint.php:59
2153-
msgctxt "PrettyPrint message"
2154-
msgid "line"
2155-
msgstr ""
2156-

forms/admin/sidebar.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,12 @@
1212

1313
<div class="debugpress_help">
1414
<p><?php esc_html_e( 'DebugPress is a free plugin, and if you find it useful or want to support its future development, please consider donating.', 'debugpress' ); ?></p>
15-
<a href="https://www.buymeacoffee.com/millan" target="_blank" rel="noopener">
15+
<a style="display: block;" href="https://www.buymeacoffee.com/millan" target="_blank" rel="noopener">
1616
<img src="<?php echo esc_url( DEBUGPRESS_PLUGIN_URL ); ?>logos/buy_me_a_coffee.png" alt="Buy Me A Coffee"/>
1717
</a>
18+
<a style="display: block; margin-top: 5px" href="https://ko-fi.com/milanpetrovic" target="_blank" rel="noopener">
19+
<img src="<?php echo esc_url( DEBUGPRESS_PLUGIN_URL ); ?>logos/ko_fi.png" alt="Ko-Fi"/>
20+
</a>
1821
</div>
1922

2023
<div class="debugpress_help">

logos/ko_fi.png

5.41 KB
Loading

readme.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
=== DebugPress: Debugger in a Popup ===
1+
=== DebugPress: Debugger in Popup ===
22
Contributors: GDragoN
33
Donate link: https://buymeacoffee.com/millan
44
Tags: dev4press, query monitor, debugging, development, ajax monitor
@@ -10,7 +10,7 @@ Requires CP: 2.0
1010
License: GPLv3 or later
1111
License URI: https://www.gnu.org/licenses/gpl-3.0.html
1212

13-
DebugPress is an easy-to-use plugin that implements popups for debugging and profiling website pages with support for intercepting AJAX requests.
13+
Easy-to-use plugin for debugging and profiling website loading, SQL queries analysis, help with development, bug fixing, all in configurable popup.
1414

1515
== Description ==
1616

0 commit comments

Comments
 (0)