Skip to content

Commit

Permalink
RV notice replacements. See: #129
Browse files Browse the repository at this point in the history
  • Loading branch information
jaswsinc committed Aug 24, 2016
1 parent 5cd2153 commit dc4321f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/psr4/setups/patterns/wp-token.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
<include pattern="plugin.php" />
<include pattern="${project_slug}.php" />

<include pattern="src/includes/theme.php" />
<include pattern="src/includes/plugin.php" />

<include pattern="style.css" />
<include pattern="functions.php" />

Expand Down
2 changes: 2 additions & 0 deletions src/psr4/targets/variations/lite/prepare.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@
<regExp pattern="^\=\=\=.+?\=\=\=\n" replace="=== ${project_lite_title} ===${line.separator}" modifiers="u" />
<regExp pattern="^Theme Name\:.+$" replace="Theme Name: ${project_lite_title}" modifiers="um" />
<regExp pattern="^Plugin Name\:.+$" replace="Plugin Name: ${project_lite_title}" modifiers="um" />
<regExp pattern="\bwp_php_rv_notice\s*(\s*'.*?'\s*)" replace="wp_php_rv_notice('${project_lite_title}')" modifiers="u" />
<regExp pattern="\bwp_sharks_core_rv_notice\s*(\s*'.*?'\s*)" replace="wp_sharks_core_rv_notice('${project_lite_title}')" modifiers="u" />
</replaceRegExp>
</filterChain>
</reflexive>
Expand Down

0 comments on commit dc4321f

Please sign in to comment.