PluginProbe
Social Media Auto Poster – Schedule & Publish to Buffer / 6.2.5
Social Media Auto Poster – Schedule & Publish to Buffer v6.2.5
6.2.5 6.2.4 6.2.3 6.2.2 6.2.1 6.2.0 6.1.2 6.1.1 6.1.0 6.0.9 6.0.8 6.0.7 6.0.6 6.0.5 6.0.4 6.0.3 6.0.2 6.0.1 6.0.0 3.8.1 3.8.2 3.8.3 3.8.4 3.8.5 3.8.6 All 126 releases
← All changes | lib/social/includes/class-validation.php +3 -3 6.2.16.2.5 View file →
@@ -49,11 +49,11 @@
49 49 *
50 50 * @param string $api_profile_timezone API Timezone.
51 51 * @param string $api_profile_name API Profile Name (e.g. @n7TestAcct).
52 52 * @param string $api_profile_change_timezone_url URL to API service where the user can change the timezone.
53 - * @return mixed WP_Error | true
53 + * @return mixed \WP_Error | true
54 54 */
55 - public function timezones_match( $api_profile_timezone = false, $api_profile_name = '', $api_profile_change_timezone_url = '#' ) {
55 + public function timezones_match( $api_profile_timezone = '', $api_profile_name = '', $api_profile_change_timezone_url = '#' ) {
56 56
57 57 // Pass test if we don't have API access.
58 58 if ( ! $this->base->get_class( 'settings' )->account_connected() ) {
59 59 return true;
@@ -109,9 +109,9 @@
109 109 *
110 110 * @since 3.1.1
111 111 *
112 112 * @param array $settings Settings.
113 - * @return bool Duplicates
113 + * @return false|array Profile ID and Action with duplicates, or false
114 114 */
115 115 public function check_for_duplicates( $settings ) {
116 116
117 117 // Define the status keys to compare.