@@ -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 | { |
@@ -268,7 +268,7 @@ discard block |
||
268 | 268 | * |
269 | 269 | * @since 2.0.9 |
270 | 270 | * @access public |
271 | - * @return boolean false Returns false if nonce is not valid. |
|
271 | + * @return boolean|null false Returns false if nonce is not valid. |
|
272 | 272 | */ |
273 | 273 | public function saveMetaboxValues( $post_id ) |
274 | 274 | { |
@@ -307,7 +307,7 @@ discard block |
||
307 | 307 | * |
308 | 308 | * @since 2.0.9 |
309 | 309 | * @access public |
310 | - * @return boolean true Returns true if nonce is valid. |
|
310 | + * @return null|boolean true Returns true if nonce is valid. |
|
311 | 311 | */ |
312 | 312 | public function isNonceValid( $nonce ) |
313 | 313 | { |
@@ -147,10 +147,13 @@ |
||
147 | 147 | </label> |
148 | 148 | </p> |
149 | 149 | <p class="howto"><?php echo esc_html($howto); ?></p> |
150 | - <?php else: ?> |
|
150 | + <?php else { |
|
151 | + : ?> |
|
151 | 152 | <?php // Site is public! Explain to them ?> |
152 | 153 | <p><em> |
153 | - <?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'); ?> |
|
154 | + <?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'); |
|
155 | +} |
|
156 | +?> |
|
154 | 157 | </em> |
155 | 158 | </p> |
156 | 159 | <?php endif; ?> |