Make WordPress Core

Changes between Initial Version and Version 5 of Ticket #62437


Ignore:
Timestamp:
01/15/2025 07:14:42 PM (14 months ago)
Author:
sabernhardt
Comment:

I revised the summary and description to focus on package-related information in bundled block theme PHP files, even though this ticket was originally about wp-admin and wp-includes.

  • 62437.patch edits 49 files outside bundled themes, not all related, including some external libraries.
  • 62437.2.patch edits 106 files in bundled themes, including 38 that are already part of #62166 and its PR.
  • 62437.3.patch edits 15 files outside bundled themes, not all related, including some external libraries.

62437.4.patch proposes (incomplete) changes to

  • 57 files in twentytwentyfour/patterns
    * @package WordPress
    * @subpackage Twenty_Twenty_Four
    
  • 7 files in twentytwentythree/patterns
    * @package WordPress
    

Current status of the PHP files:

  • TT5 has package, subpackage and since in functions.php and all its block patterns (plus these details are aligned in the hidden-written-by and text-faqs patterns).
  • TT4 only identifies the package and since version in the functions.php file, and the naming is not consistent with other themes. "Twenty Twenty-Four" is the package name, while other themes are subpackages of WordPress, and the name has a space and a hyphen instead of underscores. None of the theme's pattern files have these details.
  • TT3 has package, subpackage and since in functions.php but none of this information in the theme's seven block patterns.
  • TT2 has package, subpackage and since in functions.php and only the since version in the pattern registration file (inc/block-patterns.php). None of the theme's individual pattern files have these details.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #62437

    • Property Focuses docs added
    • Property Component changed from General to Bundled Theme
    • Property Summary changed from The wp-admin and wp-includes wordpress core: PHPCS Fixes to Bundled Themes: Edit package-related details in block theme PHP files
    • Property Priority changed from normal to lowest
    • Property Milestone changed from Awaiting Review to 6.8
    • Property Keywords dev-feedback needs-testing removed
  • Ticket #62437 – Description

    initial v5  
    11Hello Team,
    22
    3 I have checked wp-admin & wp-includes folders and found few PHPcs fixes.
     3I have checked ~~wp-admin & wp-includes folders~~ and found few PHPcs fixes.
    44
    5 - There must be exactly one blank line after the file comment
     5- ~~There must be exactly one blank line after the file comment~~
    66- Missing @package tag in file comment
    77