Changeset 45580 for trunk/src/wp-includes/post-template.php
- Timestamp:
- 07/01/2019 08:00:12 AM (7 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/post-template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post-template.php
r45491 r45580 14 14 * @since 0.71 15 15 */ 16 function the_ID() { 16 function the_ID() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid 17 17 echo get_the_ID(); 18 18 } … … 25 25 * @return int|false The ID of the current item in the WordPress Loop. False if $post is not set. 26 26 */ 27 function get_the_ID() { 27 function get_the_ID() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid 28 28 $post = get_post(); 29 29 return ! empty( $post ) ? $post->ID : false;
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)