Add warning for wordpress CSP unsafe-eval (fixes #144)

This commit is contained in:
MattIPv4
2020-06-02 17:27:48 +01:00
parent 594e307d2a
commit 9465e8a2fb
2 changed files with 21 additions and 2 deletions

View File

@@ -14,6 +14,9 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
import common from '../../common';
export default {
whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `When using ${common.wordPress}, <code class="slim">'unsafe-eval'</code> is often required in the Content Security Policy to allow the admin panel to function correctly.`,
security: 'Security',
};