chatrix icon indicating copy to clipboard operation
chatrix copied to clipboard

Always register the admin filters

Open akirk opened this issue 2 years ago • 1 comments

On installs where the wp-admin is not in /, the settings screen is empty (see https://wpgp.kirk.at/?lang=de&plugin=chatrix). This is because we do some premature optimization to not register the filters.

Screenshot 2023-04-14 at 10 03 52

By removing that optimization, the settings load also in the above case.

akirk avatar Apr 14 '23 09:04 akirk

FYI, I do see the admin page on v0.7.1 on a WP install under a subdir

Screenshot 2023-04-14 at 2 00 02 PM

I am not sure we should do this to make Chatrix work on "WP in browser via wasm". IMO, there would be other plugins commonly doing this exact sort of thing & right fix would be in "WP in browser via wasm" codebase, no?

ashfame avatar Apr 14 '23 10:04 ashfame