We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d368b3e commit c34bffbCopy full SHA for c34bffb
1 file changed
ghost.php
@@ -179,6 +179,14 @@ public function setup( $args ) {
179
// Customize the install page
180
public function hcpp_render_body( $args ) {
181
global $hcpp;
182
+
183
+ // Fill out version on app listing page
184
+ if ( $args['page'] == 'hcpp_render_body' ) {
185
+ $args['content'] = str_replace( '%ghost_version%', $hcpp->ghost->version, $args['content'] );
186
+ return $args;
187
+ }
188
189
+ // Customize the Ghost install page
190
if ( $args['page'] !== 'setup_webapp') return $args;
191
if ( strpos( $_SERVER['REQUEST_URI'], '?app=Ghost' ) === false ) return $args;
192
$content = $args['content'];
0 commit comments