Commit 32e4867e authored by remy's avatar remy
Browse files

new wordpress regexp for 'sfsi' plugin

parent 8190823c
......@@ -71,6 +71,7 @@ function remove_dyn_elems {
wp_regexp_plugin_calendar="\sid=\"today\""
wp_regexp_plugin_timetable='.css?ver='
wp_regexp_plugin_rsswidget="rsswidget"
wp_regexp_plugin_sfsi="sfsi_plugin_version"
gitlab_regexp_arr=("authenticity_token" "csrf-token")
typesetter_regexp_arr=("wgBackendResponseTime" "wgRequestId" "time" "[0-9]{1,3}\.[0-9]{1,2}+%\s+[0-9]{1}\.[0-9]{3}")
nextcloud_regexp_arr=("token" "nonce" "core\/css\/guest.css")
......@@ -107,7 +108,10 @@ function remove_dyn_elems {
sed -ri -e /$wp_regexp_plugin_calendar/d $name.index.html
;;
"timetable" )
sed -i -e /$wp_regexp_plugin_calendar/d $name.index.html
sed -i -e /$wp_regexp_plugin_timetable/d $name.index.html
;;
"sfsi" )
sed -i -e /$wp_regexp_plugin_sfsi/d $name.index.html
;;
* )
;;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment