@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | * Registers and update metabox with its intended method below. |
52 | 52 | * |
53 | 53 | * @since 2.0.9 |
54 | - * @return void |
|
54 | + * @return Metabox |
|
55 | 55 | */ |
56 | 56 | public function __construct() { |
57 | 57 | |
@@ -198,7 +198,7 @@ discard block |
||
198 | 198 | * |
199 | 199 | * @since 2.0.9 |
200 | 200 | * @access public |
201 | - * @return boolean false Returns false if nonce is not valid. |
|
201 | + * @return boolean|null false Returns false if nonce is not valid. |
|
202 | 202 | */ |
203 | 203 | public function saveVisibilityMetabox( $post_id = '' ) { |
204 | 204 | |
@@ -272,7 +272,7 @@ discard block |
||
272 | 272 | * |
273 | 273 | * @since 2.0.9 |
274 | 274 | * @access public |
275 | - * @return boolean false Returns false if nonce is not valid. |
|
275 | + * @return boolean|null false Returns false if nonce is not valid. |
|
276 | 276 | */ |
277 | 277 | public function saveMetaboxValues( $post_id ) { |
278 | 278 | |
@@ -311,7 +311,7 @@ discard block |
||
311 | 311 | * |
312 | 312 | * @since 2.0.9 |
313 | 313 | * @access public |
314 | - * @return boolean true Returns true if nonce is valid. |
|
314 | + * @return null|boolean true Returns true if nonce is valid. |
|
315 | 315 | */ |
316 | 316 | public function isNonceValid( $nonce ) { |
317 | 317 |
@@ -181,10 +181,13 @@ |
||
181 | 181 | }); |
182 | 182 | </script> |
183 | 183 | <p class="howto"><?php echo esc_html( $howto ); ?></p> |
184 | - <?php else : ?> |
|
184 | + <?php else { |
|
185 | + : ?> |
|
185 | 186 | <?php // Site is public! Explain to them ?> |
186 | 187 | <p><em> |
187 | - <?php esc_html_e( 'You have chosen to make your site public inside Settings > Subway. Make your site private so that you can select visibility options.', 'subway' ); ?> |
|
188 | + <?php esc_html_e( 'You have chosen to make your site public inside Settings > Subway. Make your site private so that you can select visibility options.', 'subway' ); |
|
189 | +} |
|
190 | +?> |
|
188 | 191 | </em> |
189 | 192 | </p> |
190 | 193 | <?php endif; ?> |