Changes between Initial Version and Version 2 of Ticket #35553
- Timestamp:
- 01/22/2016 02:33:48 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35553
- Property Keywords has-patch added
-
Property
Milestone
changed from
Awaiting Reviewto4.5
-
Ticket #35553 – Description
initial v2 1 1 The `src/wp-includes/taxonomy.php` file contains a PHPDoc comment with the following PHP snippet: 2 2 {{{ 3 3 `<?php $taxonomies = get_object_taxonomies('post'); ?>` 4 4 }}} 5 5 To be in consistency with other PHP snippets, this should be changed to: 6 6 {{{ 7 7 `$taxonomies = get_object_taxonomies('post')` 8 8 }}} 9 9 I have searched for other similar instances in the WP code, but found only this single example, the other two hits are different contexts: 10 10 {{{ 11 11 $ grep -rP "\*.*\?php" * 12 12 src/wp-includes/js/customize-loader.js: * e.g. <a class="load-customize" href="<?php echo wp_customize_url(); ?>">Open Customizer</a> 13 13 src/wp-includes/taxonomy.php: * `<?php $taxonomies = get_object_taxonomies('post'); ?>` Should 14 14 src/wp-admin/includes/file.php: <input name="password" type="password" id="password" value="<?php if ( defined('FTP_PASS') ) echo '*****'; ?>"<?php disabled( defined('FTP_PASS') ); ?> /> 15 15 }}} 16 16 Note that this change is not simply academic. The redundant PHP tags break VIM PHPDoc processing. 17 17