Skip to content

Commit

Permalink
v5.9.0-preview15
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubmisek committed Feb 12, 2022
1 parent 12e3178 commit d2a2214
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<!-- common version -->
<VersionFileContent>$([System.IO.File]::ReadAllText($(MSBuildThisFileDirectory)wordpress/wp-includes/version.php) )</VersionFileContent>
<VersionPrefix Condition=" '$(VersionPrefix)'=='' ">$([System.Text.RegularExpressions.Regex]::Match($(VersionFileContent), "\$wp_version\s*=\s*'([0-9\.]+)';").Groups.get_Item(1) )</VersionPrefix>
<VersionSuffix Condition=" '$(VersionSuffix)'=='' ">preview14</VersionSuffix>
<VersionSuffix Condition=" '$(VersionSuffix)'=='' ">preview15</VersionSuffix>
<!--PeachpieVersion> specified in global.json </PeachpieVersion-->

<!-- metadata generation -->
Expand Down
4 changes: 2 additions & 2 deletions docs/build-php-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ Project file is an XML file with the following content:

> *MyHelloDollyPlugin.msbuildproj:*
```xml
<Project Sdk="PeachPied.WordPress.Build.Plugin/5.9.0-preview14">
<Project Sdk="PeachPied.WordPress.Build.Plugin/5.9.0-preview15">

</Project>
```

For most cases, the project file does not specify anything else as all the properties are defined by default in the Sdk. In case a build property or a build item needs to be altered, add it to your project file.

Note the project file specifies a version after the slash, i.e. `"/5.9.0-preview14"`. This corresponds to the version of *PeachPied.WordPress.** packages which should be identical across all your application.
Note the project file specifies a version after the slash, i.e. `"/5.9.0-preview15"`. This corresponds to the version of *PeachPied.WordPress.** packages which should be identical across all your application.

## Build the plugin

Expand Down
2 changes: 1 addition & 1 deletion docs/build-php-theme.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Project file is an XML file with the following content:
</Project>
```

Note the project file specifies a version after the slash, i.e. `"/5.9.0-preview14"`. This corresponds to the version of *PeachPied.WordPress.** packages which should be identical across all your application.
Note the project file specifies a version after the slash, i.e. `"/5.9.0-preview15"`. This corresponds to the version of *PeachPied.WordPress.** packages which should be identical across all your application.

## Build the theme

Expand Down
2 changes: 1 addition & 1 deletion docs/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Open or create an ASP NET Core application, version 3.0 or newer.
Add a package reference to [`"Peachpied.WordPress.AspNetCore"`](https://www.nuget.org/packages/PeachPied.WordPress.AspNetCore/) (note it is a **pre-release** package):

```shell
dotnet add package PeachPied.WordPress.AspNetCore --version 5.9.0-preview14
dotnet add package PeachPied.WordPress.AspNetCore --version 5.9.0-preview15
```

Add the WordPress middleware within your request pipeline, in the `Configure` startup method:
Expand Down

0 comments on commit d2a2214

Please sign in to comment.