Merge pull request #387 from aahan/patch-1

_s: Switch the order of text replacements.

Change ensures the textdomain in `style.css` is not replaced with the theme name, but rather with the theme slug. Broken in 1f15c20.
This commit is contained in:
Konstantin Obenland 2014-02-24 16:22:52 -08:00
commit 1e6e4d82ca
1 changed files with 4 additions and 4 deletions

View File

@ -24,17 +24,17 @@ If you want to set things up manually, download `_s` from github. The first thin
1. Search for `'_s'` (inside single quotations) to capture the text domain. 1. Search for `'_s'` (inside single quotations) to capture the text domain.
2. Search for `_s_` to capture all the function names. 2. Search for `_s_` to capture all the function names.
3. Search for <code>&nbsp;_s</code> (with a space before it) to capture DocBlocks. 3. Search for `Text Domain: _s` in style.css.
4. Search for `_s-` to capture prefixed handles. 4. Search for <code>&nbsp;_s</code> (with a space before it) to capture DocBlocks.
5. Search for `Text Domain: _s` in style.css. 5. Search for `_s-` to capture prefixed handles.
OR OR
* Search for: `'_s'` and replace with: `'megatherium'` * Search for: `'_s'` and replace with: `'megatherium'`
* Search for: `_s_` and replace with: `megatherium_` * Search for: `_s_` and replace with: `megatherium_`
* Search for: `Text Domain: _s` and replace with: `Text Domain: megatherium` in style.css.
* Search for: <code>&nbsp;_s</code> and replace with: <code>&nbsp;Megatherium</code> * Search for: <code>&nbsp;_s</code> and replace with: <code>&nbsp;Megatherium</code>
* Search for: `_s-` and replace with: `megatherium-` * Search for: `_s-` and replace with: `megatherium-`
* Search for: `Text Domain: _s` and replace with: `Text Domain: megatherium` in style.css.
Then, update the stylesheet header in style.css and the links in footer.php with your own information. Next, update or delete this readme. Then, update the stylesheet header in style.css and the links in footer.php with your own information. Next, update or delete this readme.