35 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 a6118f1d43 New Option to allow Comic Easel to automagically remove featured images on comic post pages on non-ComicPress themes (so you don't have to code anything) 2016-10-09 12:37:25 -07:00
kmhcreative d68a7f6652 Chapters drop-down hierarchy fix, orderby options
1. (Front-end) Fixed Chapters drop-down list so it indents children showing hierarchy.  Was showing as a flat list, making it impossible to see which chapters were children or parents.  The "render_as_list" option was already doing this correctly.

2. (Back-end) Added radio button options to order list by:
* "menu_order" (current method, and default)
* "tax_name"
* "ID"

The "tax_name" sorts ASC and then alphabetically by chapter name (this was the only option that displayed chapters in my intended hierarchical order of Volume->Story->Chapter).

The "ID" option theoretically should sort oldest to newest, since earlier chapter IDs will be lower than ones created later, assuming you didn't create the older chapters after newer ones.
2016-09-15 20:34:40 -05:00
Frumph cb3e64a692 fixed small error in archive-dropdown for render-as-list 2016-02-12 08:38:51 -08:00
Margaret Trauth e47e3ba0b3 added highlighting of current chapter to the list view of the chapter jump widget 2015-12-25 21:51:51 -08:00
Margaret Trauth a6e2571c49 Added an option to render the chapter archive dropdown as a list of links instead. 2015-12-25 19:58:48 -08:00
Frumph 8fae15db3c Support for jetpack's mobile theme - notoggle always on 2015-09-03 11:41:58 -07:00
Frumph d6440a5833 Rewrote the comic chapter dropdown with a new walker, allow the comic list widget to appear on home page 2015-08-31 08:31:42 -07:00
Frumph 4572218723 Do not display the "Comic Chapters" title if there isn't one, user has to input one to have it show, default no-title 2015-08-28 03:05:56 -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 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 be9b22b368 archive-dropdown now shows hidden but disabled in the default, also jumps to archive instead of first page
added commented-out webcomic to comic-easel code
2014-10-30 14:54:16 -07:00
Frumph d11bc22b91 Fix for the chapter count not showing on children items in the comic archive-dropdown.php 2014-10-28 08:43:28 -07:00
Frumph 9c15e373b0 Fix for the comic archive-dropdown widget to stop it from duplicating chapters 2014-10-28 08:10:35 -07:00
Frumph 75b320d506 * resources tables coming from fetched file
* archive dropdown now shows select <name>  of the chosen name from the config
* do not display transcripts on the archive and search pages
* the column for the all comics now uses the name chosen for the taxonomy
2014-10-22 02:43:17 -07:00
Frumph 1db4fbeb76 Fixed checkbox option problem in the archive-dropdown widget - and attempted to fix the chapter exclusion box but waiting on wordpress bug to finish that 2014-09-29 08:42:22 -07:00
Frumph 32129c121f 1.7.3 Added shortcode for the comic archive dropdown and you can link comics to particular places if you want 2014-07-03 15:00:13 -07:00
Frumph d5c9c07c90 Bug fixes for archive-dropdown.php, fixing the display order for sub chapters (again)
added option for archive-dropdown widget to jump to archive page instead of first page
2014-05-29 16:43:13 -07:00
Frumph 4d05e99444 Chapters archive dropdown (fix/hopefully) for sorting by menu order 2014-05-05 09:25:29 -07:00
Frumph 13b8dd9d02 Added toggle for displaying the amount/count of comics available for the chapter. 2014-05-04 08:17:35 -07:00
Frumph 1e85d202cb force exclusions as an array 2013-06-22 16:11:40 -07:00
Frumph dc62bc519b Added some arguments to the ceo_comic_archive_jump_to_chapter function 2013-06-09 23:31:17 -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 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 614f5de1c6 Disabled viewing of the no-html or image found message for people who want to use this for text based books - fixed the query for tags and comic/feed/ as well as search having issues with the custom post type - revertted the archive dropdown to allow visual of chapters with nothing in them 2012-12-19 23:00:49 -08:00
Frumph 8c195b3ad7 Adjusted the archive-dropdown to reallow blank chapters 2012-12-13 06:24:26 -08:00
Frumph 97173c5dcb Added ID's to the chapters column
fixed a minor bug in the archive dropdown that was giving a notice
2012-11-14 01:11:28 -08:00
Frumph 1daea0b75a Chapter ordering is now part of the plugin and does not need any additional plugin to work. 2012-06-17 04:46:19 -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