Make WordPress Core

Changes between Initial Version and Version 5 of Ticket #63648


Ignore:
Timestamp:
07/01/2025 11:16:48 PM (5 months ago)
Author:
sabernhardt
Comment:

Pull requests 9172, 9173, 9174 and 9175 follow the documentation example in Twenty Ten. However, that theme does not include a privacy link between the action and the credits.

I think Twenty Fifteen has a better example, both for the description and indentation.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #63648

    • Property Keywords has-patch added
    • Property Focuses docs added; coding-standards removed
    • Property Summary changed from Missing PHPDoc block for the twentyfourteen_credits action hook in the Twenty Fourteen theme to Twenty Eleven to Twenty Fourteen: add PHPDoc blocks for footer action hooks
  • Ticket #63648 – Description

    initial v5  
    1 The Twenty Fourteen theme lacks a PHPDoc block for the twentyfourteen_credits action hook. For more information, refer to https://github.com/WordPress/wordpress-develop/blob/trunk/src/wp-content/themes/twentyfourteen/footer.php#L21.
     1Footer action hooks such as `twentyfourteen_credits` lack a PHPDoc block.
    22
    3 Please add the PHPDoc block for it as described on https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#4-hooks-actions-and-filters.
    4 
     3- [https://github.com/WordPress/wordpress-develop/blob/6.8.1/src/wp-content/themes/twentyfourteen/footer.php#L21 twentyfourteen_credits]
     4- [https://github.com/WordPress/wordpress-develop/blob/6.8.1/src/wp-content/themes/twentythirteen/footer.php#L18 twentythirteen_credits]
     5- [https://github.com/WordPress/wordpress-develop/blob/6.8.1/src/wp-content/themes/twentytwelve/footer.php#L15 twentytwelve_credits]
     6- [https://github.com/WordPress/wordpress-develop/blob/6.8.1/src/wp-content/themes/twentyeleven/footer.php#L28 twentyeleven_credits]