WordPress proposes allowing the PHP short echo tag (<?=) in its coding standards. Since PHP 5.4, this tag is always available regardless of configuration settings, making it safe to use. The proposal allows but doesn't mandate its use for single statements in template files, requiring no immediate changes to existing WordPress

3m read timeFrom make.wordpress.org
Post cover image
Table of contents
MotivationSuggested change to the handbookHow to keep short echo tags forbidden in a given projectReferences

Sort: