rebase on oct-10-2023
This commit is contained in:
@@ -162,7 +162,7 @@ if ( ! empty( $posted_content ) ) {
|
||||
$content = file_get_contents( $real_file );
|
||||
}
|
||||
|
||||
if ( '.php' === substr( $real_file, strrpos( $real_file, '.' ) ) ) {
|
||||
if ( str_ends_with( $real_file, '.php' ) ) {
|
||||
$functions = wp_doc_link_parse( $content );
|
||||
|
||||
if ( ! empty( $functions ) ) {
|
||||
|
||||
Reference in New Issue
Block a user