15 Commits

Author SHA1 Message Date
coraislovely-code df7a6f78ba Align the text domain with the plugin slug
The domain has been 'comiceasel' since 2012 while the wordpress.org slug is
'comic-easel'. Language packs from translate.wordpress.org are keyed to the
slug, so they could never load; no working translation ever shipped against
the old domain. Renames the domain in every gettext call, in
load_plugin_textdomain(), in both Text Domain headers, and on the lang/
template files, which already carried comic-easel domain markers internally.

Option keys, admin page slugs, nonce actions and style handles that share the
comiceasel prefix are deliberately left alone; only the $domain argument moved.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-13 17:48:00 -04:00
coraislovely-code 1d0cabb1b0 Escape widget output and field attributes
Widget form() methods printed get_field_id()/get_field_name() straight into
id and name attributes, and the labels used _e(). Wrap the field helpers in
esc_attr(), switch the labels to esc_html_e(), and swap strip_tags() for
wp_strip_all_tags() on the stored titles. Adds the matching test stubs.

Assembled markup ($before_widget, filtered titles, $output) is left alone;
escaping it would change what existing sites render.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-13 17:33:55 -04:00
coraislovely-code 2647482d1d Escape remaining public output contexts
Co-authored-by: gpt-5.6-sol <noreply@openai.com>
2026-07-29 09:13:08 -04:00
coraislovely-code 3882fb1844 Replace lapsed Comic Easel links 2026-07-28 18:55:01 -04:00
coraislovely-code 74ee11a91d Refuse to run when loaded outside WordPress
None of the plugin's PHP files checked that they were loaded through
WordPress, so requesting one directly executed it with none of core loaded.
The result is a fatal error on the first undefined function, which depending
on the server's display_errors setting discloses the filesystem path and
details of the PHP configuration.

Add the standard guard to every file. Files opening with PHP get it as their
first statement, after the plugin header comment in the main file, which
WordPress parses and which must stay put. The admin page templates that open
with markup get it as a leading one-line block, with no whitespace before it
that would break header output.

Also required by the WordPress.org plugin guidelines.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-26 14:31:00 -04:00
Frumph 40fe8439a7 Comic Easel 1.9.2 with widgets fix for older versions of PHP (talk to your hosting update to ver. 5.4 of PHP for WordPress) 2015-08-16 13:52:23 -07:00
Frumph 8f481a0b92 Widgets updated for WordPress 4.3 - includes new widget to display a dropdown archive list of *all* the comics in the current chapter 2015-08-09 02:24:43 -07:00
Frumph 160f478d10 recent comics widget input box, how many to display 2013-06-09 09:28:04 -07:00
Frumph 70fdf2416b Version bump 1.3.10 removed some taxonomies from having their own feed, caused search engines to freak out
replaced some home_url with admin_url for admin location links in the admin_meta
restored the protect/unprotect but renamed them ceo_protect ceo_unprotect, wp_reset_query was having 'issues'
added injection of the comic-easel version number as a meta tag for the <head> section
fixed some injection code where it was returning at the wrong time for the post-info
started working on adding chapter= references to the cast-page (not working yet, don't use)
2013-05-17 22:13:41 -07:00
Frumph 59b4ff7b17 Re-added the protect() and unprotect() due to containment issues with wp_reset_query() 2013-05-15 19:14:07 -07:00
Frumph f33a680142 recentcomics.php cleanup, use wp_reset_query() and remove the create func 2013-05-13 15:11:11 -07:00
Frumph ea03ca3d40 cleanup code for recentcomics.php widget
show *all* scheduled comics in scheduledcomics.php widget
2012-07-09 12:20:45 -07:00
Frumph 5469d9c3d9 More menu_order implementations, language translate cleanups, extended thumbnail capabilities 2012-06-16 18:44:26 -07:00
Frumph 9bbe3feb1e Complete rewrite and release of Comic Easel, 05/27/2012 1:43am 2012-05-27 01:42:13 -07:00
Philip M. Hofer (Frumph) bf8e6ad8e3 removal of the jquery-1.3.2.min.js cause we're using internal wordpress and adding the actual widgets and ceo-admin change to the .git
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2011-01-01 05:51:56 -08:00