Skip to content

Commit

Permalink
Sync classes (#14)
Browse files Browse the repository at this point in the history
Sync classes from WordPress.org repository.
  • Loading branch information
tfirdaus authored May 30, 2024
1 parent b5de9d9 commit 2805abf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,7 @@ protected function parse_markdown($text)
static $markdown = null;

// Return early if the Markdown processor isn't available.
if (! class_exists('\Syntatis\WP\PluginReadMeParser\Markdown')) {
if (! class_exists('\Syntatis\WPPluginReadMeParser\Markdown')) {
return $text;
}

Expand Down
2 changes: 1 addition & 1 deletion bin/sync-parser-class
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ $content = file_get_contents(
);
$content = str_replace(
'namespace WordPressdotorg\Plugin_Directory\Readme',
'namespace Syntatis\WP\PluginReadMeParser',
'namespace Syntatis\WPPluginReadMeParser',
$content
);

Expand Down

0 comments on commit 2805abf

Please sign in to comment.