Open cfoellmann opened 5 years ago
@cfoellmann we dont have translation for this in translation files much I remember... But anyway probably a good idea to make it static
For one of the next versions we need to be a migration tool to change all existing entries to jobs
!
If more languages become available through language packs there is a significant risk here to "wipe" all entries from a users site.
Supporting this will be a pain
$post_type_slug = apply_filters('jobs_post_type/slug', _x('job', 'jobs_slug', 'job-postings'));
using a non-static string for the cpt slug is a bad idea.Problem now is that if an update changes this to a static string
job
for all languages all non-english websites that have a translations file for the plugin will lose all entries for this cpt. There needs to be backwards compatibility