You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using ini_set() and similar functions for altering PHP settings at runtime is discouraged. Changing runtime configuration might break other plugins and themes, and even WordPress itself.
5
+
]]>
6
+
</standard>
7
+
<code_comparison>
8
+
<codetitle="Valid: ini_set() for a possibly breaking setting.">
9
+
<![CDATA[
10
+
// ini_set() should not be used.
11
+
]]>
12
+
</code>
13
+
<codetitle="Invalid: ini_set() for a possibly breaking setting.">
14
+
<![CDATA[
15
+
ini_set( <em>'short_open_tag'</em>, 'off' );
16
+
]]>
17
+
</code>
18
+
</code_comparison>
19
+
<standard>
20
+
<![CDATA[
21
+
For some configuration values there are alternative ways available - either via WordPress native functionality of via standard PHP - to achieve the same without the risk of breaking interoperability. These alternatives are preferred.
0 commit comments