34 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 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 8a684c8440 revamped the query args for thumbnail widget to try to find issue with random for someone
fixed a couple translation strings which weren't being translated in thumbnail widget
2015-09-06 00:17:01 -07: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 8759f42d74 New widget & option for default navigation for "jump to" can now have a dropdown list of comcis in current chapter to jump to 2015-08-15 22:16:15 -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 330a5cde2a cleaner if statement assignment of thumbnail_size 2015-01-12 09:05:07 -08:00
Frumph 8c15525bcd thumbnail.php - allow change of thumbnail size to use within widget with dropdown, needs testing 2015-01-12 09:01:26 -08:00
Frumph ba135563c3 = 1.5.7 =
* Fix for the mishit of thumbnail widget messing up the page if not to show on the same page checkmark is done
* Fix for the keyboard navigation if someone wants to type a comment and use arrows in there
2013-11-29 01:55:48 -08:00
Frumph 3375436aee Thumbnail loop for the thumbnails to display remove the individual widget wraps around them and have them inside a single one 2013-10-03 13:12:38 -07:00
Frumph 23915132d1 added 'in history' to the thumbnail widget 2013-06-21 16:48:09 -07:00
Frumph 2dae17d44d start of 1.3.12
make it so the chapter dropdown doesn't show empty chapters it just doesn't work
check for 404 pages for the thumbnail casthover and comblogpost widgets and do not execute if it's a 404 page
2013-05-30 11:40:47 -07:00
Frumph 2f29232433 option added to thumbnail widget to not display thumbnail on posts that the thumbnail widget displays the thumbnail of 2013-05-22 13:30:30 -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 88057916cf fixed longstanding issue with navigation.php and the 'first save'; fixed casthover.php notice; added missing " in thumbnail.php 2013-05-14 17:39:23 -07:00
Frumph bd399b9349 thumbnail.php widget cleanup, removing create func; use wp_reset_query 2013-05-13 15:06:18 -07:00
Frumph f06f72be96 play it again sam, multipost thumbnail bug fix display in thumbnail.php take 3 2013-04-26 12:17:19 -07:00
Frumph de97584986 pass $post->ID to multipost thumbnail, in thumbnail.php widget 2013-04-26 11:33:03 -07:00
Frumph 035c4360c3 check to see if there IS a secondary image, else default back to featured/primary 2013-04-23 07:02:29 -07:00
Frumph 34c6929cca fixing thumbnail.php, incrementing version to allow for secondary images to be used in the thumbnail widget. 2013-04-22 19:51:25 -07:00
Frumph efa6dea200 fixing the checkbox for thumbnail.php for secondary images 2013-04-06 22:33:54 -07:00
Frumph 968b178c23 Support for a secondary comic image; and clear w3tc cache on update of comic/save of comic. 2013-04-06 22:12:14 -07:00
Frumph b1b968777b make the title for the thumbnail linkable in the thumbnail widget 2012-12-31 16:50:13 -08:00
Frumph 86521c961c Thumbnail widget will now not display on single pages that it is displaying 2012-07-05 04:53:38 -07:00
Frumph 5469d9c3d9 More menu_order implementations, language translate cleanups, extended thumbnail capabilities 2012-06-16 18:44:26 -07:00
Frumph bf5d71ae82 Now can disable the default navigation, new widget navigation available that uses the same classes as ComicPress so the comicpress navstyle.css code can be used, can *sometimes* just switch to the graphical navstyle if using the ComicPress theme. Sidebar's are now generated by the plugin so don't need to edit the theme's code. (trial code, test it out) 2012-05-28 02:00:34 -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) d0b2ef9551 fixing some notices
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2011-01-03 10:16:51 -08:00
Philip M. Hofer (Frumph) 88861f3ecc removal of the image manipulation page, changes ceo-core to ceo-admin so it made more sense to people
added a couple widgets

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2011-01-01 05:49:33 -08:00
Philip M. Hofer (Frumph) c7d1c10595 fix in thumbnail.php for displaying w/random
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2010-12-18 11:36:26 -08:00
Philip M. Hofer (Frumph) 925ab55e16 addition of permalink rewrite structure for custom post types
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2010-12-07 11:11:53 -08:00