a few of these are good for reducing server load, the parent/start/adjacent stuff will eliminate some queries.
removing the l10n script will break internationalization / translatable strings, and wp_localize_script to pass data from php to js scripts, which I use in just about every theme I build, so that to me is bad advice.
some of it is just pointless security through obscurity, people looking to exploit WordPress core or plugin vulnerabilities don't go around the web looking at page source to find WordPress installs.
you're really at a disadvantage if you're the one on defense. you need to think of ways to frame the discussion from your perspective and put HIM on the defensive side.
you can get rid of the whole WP_Query stuff and just use the regular loop. you're also not wasting db resources this way by discarding the default query.
keep your money.
a few of these are good for reducing server load, the parent/start/adjacent stuff will eliminate some queries.
removing the
l10nscript will break internationalization / translatable strings, andwp_localize_scriptto pass data from php to js scripts, which I use in just about every theme I build, so that to me is bad advice.some of it is just pointless security through obscurity, people looking to exploit WordPress core or plugin vulnerabilities don't go around the web looking at page source to find WordPress installs.
woocommerce seems to be the way everyone is going these days.
you're really at a disadvantage if you're the one on defense. you need to think of ways to frame the discussion from your perspective and put HIM on the defensive side.
if the only reason you're doing this whole convoluted query is to enable all post types, here's a much simpler way using the default query:
you can get rid of the whole WP_Query stuff and just use the regular loop. you're also not wasting db resources this way by discarding the default query.