rebase on oct-10-2023

This commit is contained in:
Rachit Bhargava
2023-10-10 17:23:21 -04:00
parent d37566ffb6
commit d096058d7d
4789 changed files with 254611 additions and 307223 deletions

View File

@@ -161,7 +161,7 @@ if ( ! empty( $posted_content ) ) {
$f = fopen( $file, 'r' );
$content = fread( $f, filesize( $file ) );
if ( '.php' === substr( $file, strrpos( $file, '.' ) ) ) {
if ( str_ends_with( $file, '.php' ) ) {
$functions = wp_doc_link_parse( $content );
if ( ! empty( $functions ) ) {