|
@@ -287,7 +287,7 @@ discard block |
|
|
block discarded – undo |
|
287
|
287
|
* Add the "Settings" link to the plugins page. |
|
288
|
288
|
* |
|
289
|
289
|
* @param array $links Links to display for plugin on plugins page. |
|
290
|
|
- * @return array Links to display for plugin on plugins page. |
|
|
290
|
+ * @return string[] Links to display for plugin on plugins page. |
|
291
|
291
|
*/ |
|
292
|
292
|
public function settings_link( $links ) { |
|
293
|
293
|
$links[] = '<a href="' . admin_url( 'options-general.php?page=wp_to_diaspora' ) . '">' . __( 'Settings' ) . '</a>'; |
|
@@ -400,7 +400,7 @@ discard block |
|
|
block discarded – undo |
|
400
|
400
|
/** |
|
401
|
401
|
* Check the pod connection status. |
|
402
|
402
|
* |
|
403
|
|
- * @return string The status of the connection. |
|
|
403
|
+ * @return boolean|null The status of the connection. |
|
404
|
404
|
*/ |
|
405
|
405
|
private function _check_pod_connection_status() { |
|
406
|
406
|
$options = WP2D_Options::instance(); |
Please login to merge, or discard this patch.