<div dir="ltr">isnt using function like that 5.3 and above only? 5.2 you need create_function()</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 30 March 2013 00:28, Ryan Van Etten <span dir="ltr"><<a href="mailto:ryanve@gmail.com" target="_blank">ryanve@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><b>Re: child theme friendliness:</b> The anonymous pattern below removes any possibility of calling a non-existing callback. It is future-safe b/c no functions are exposed, yet it still gives child themes full flexibility. Such a pattern prevents breakage b/c it is not reliant on parent theme functions that may be removed or renamed in an update.<br>
<div><br></div><div><div><font face="courier new, monospace">add_action('@entry', apply_filters('@entry_actions', function() {</font></div><div><font face="courier new, monospace"> # default actions</font></div>
<div><font face="courier new, monospace">});</font></div></div><div><div class="gmail_extra"><br clear="all"><div><a href="http://twitter.com/ryanve" target="_blank">@ryanve</a><br><div><br></div></div><div><div class="h5">
<br><br><div class="gmail_quote">On Wed, Mar 6, 2013 at 12:07 PM, Otto <span dir="ltr"><<a href="mailto:otto@ottodestruct.com" target="_blank">otto@ottodestruct.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div>On Tue, Mar 5, 2013 at 3:23 PM, Ryan Van Etten <<a href="mailto:ryanve@gmail.com" target="_blank">ryanve@gmail.com</a>> wrote:<br>
</div><div>> I'd like to see WP be proactive about encouraging users to use 5.3+. The<br>
> sooner we get the majority on 5.3, the better it will be for the core too.<br>
<br>
</div>Call me crazy, but I don't think it's a particularly good idea to<br>
offer code that won't work with 2/3rds of the existing user base.<br>
<br>
<a href="http://wordpress.org/about/stats/" target="_blank">http://wordpress.org/about/stats/</a><br>
<br>
Note that most people don't have any control over what version of PHP<br>
is running on their server.<br>
<span><font color="#888888"><br>
-Otto<br>
</font></span><div><div>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
</div></div></blockquote></div><br></div></div></div></div></div>
<br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>My Blog: <a href="http://pross.org.uk/" target="_blank">http://pross.org.uk/</a><br>Plugins : <a href="http://pross.org.uk/plugins/" target="_blank">http://pross.org.uk/plugins/</a><br>
Themes: <a href="http://wordpress.org/extend/themes/profile/pross" target="_blank">http://wordpress.org/extend/themes/profile/pross</a>
</div>