Changeset 3379151
- Timestamp:
- 10/15/2025 10:14:32 PM (5 months ago)
- Location:
- uncanny-automator/trunk
- Files:
-
- 4 edited
-
languages/uncanny-automator.pot (modified) (5 diffs)
-
readme.txt (modified) (2 diffs)
-
src/integrations/linkedin/helpers/linkedin-helpers.php (modified) (4 diffs)
-
uncanny-automator.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uncanny-automator/trunk/languages/uncanny-automator.pot
r3373959 r3379151 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Uncanny Automator 6.9.0. 1\n"5 "Project-Id-Version: Uncanny Automator 6.9.0.2\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/uncanny-automator\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2025-10- 06T18:55:02+00:00\n"12 "POT-Creation-Date: 2025-10-15T22:06:14+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.12.0\n" … … 26235 26235 msgstr "" 26236 26236 26237 #: src/integrations/linkedin/helpers/linkedin-helpers.php:5 3826237 #: src/integrations/linkedin/helpers/linkedin-helpers.php:552 26238 26238 msgctxt "Linkedin" 26239 26239 msgid "Your LinkedIn access and refresh tokens have expired." 26240 26240 msgstr "" 26241 26241 26242 #: src/integrations/linkedin/helpers/linkedin-helpers.php:5 4426242 #: src/integrations/linkedin/helpers/linkedin-helpers.php:558 26243 26243 msgctxt "Linkedin" 26244 26244 msgid "Click here" 26245 26245 msgstr "" 26246 26246 26247 #: src/integrations/linkedin/helpers/linkedin-helpers.php:5 4526247 #: src/integrations/linkedin/helpers/linkedin-helpers.php:559 26248 26248 msgctxt "Linkedin" 26249 26249 msgid "to reauthorize Uncanny Automator and continue using LinkedIn actions in your recipes." … … 26251 26251 26252 26252 #. Translators: Admin notice 26253 #: src/integrations/linkedin/helpers/linkedin-helpers.php:5 5726253 #: src/integrations/linkedin/helpers/linkedin-helpers.php:571 26254 26254 #, php-format 26255 26255 msgid "Your LinkedIn access and refresh tokens will expire in %s day." … … 26258 26258 msgstr[1] "" 26259 26259 26260 #: src/integrations/linkedin/helpers/linkedin-helpers.php:5 6726260 #: src/integrations/linkedin/helpers/linkedin-helpers.php:581 26261 26261 msgctxt "Linkedin" 26262 26262 msgid "Click here to reauthorize" 26263 26263 msgstr "" 26264 26264 26265 #: src/integrations/linkedin/helpers/linkedin-helpers.php:5 6826265 #: src/integrations/linkedin/helpers/linkedin-helpers.php:582 26266 26266 msgctxt "Linkedin" 26267 26267 msgid "to continue using your LinkedIn account in your recipes." -
uncanny-automator/trunk/readme.txt
r3373959 r3379151 5 5 Tested up to: 6.8.3 6 6 Requires PHP: 7.3 7 Stable tag: 6.9.0. 17 Stable tag: 6.9.0.2 8 8 License: GPLv3 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 406 406 == Changelog == 407 407 408 = 6.9.0.2 [2025-10-15] = 409 410 **Fixed:** 411 412 * LinkedIn - Some users were seeing LinkedIn as not connected even after a successful connection was established 413 408 414 = 6.9.0.1 [2025-10-06] = 409 415 -
uncanny-automator/trunk/src/integrations/linkedin/helpers/linkedin-helpers.php
r3290616 r3379151 110 110 $tokens['refresh_token_expires_on'] = strtotime( current_time( 'mysql' ) ) + $tokens['refresh_token_expires_in']; 111 111 112 // Delete any credentials from the database on reconnect to avoid conflicts. 113 $this->remove_credentials(); 114 112 115 automator_update_option( self::LINKEDIN_CLIENT, $tokens, false ); 113 116 … … 127 130 */ 128 131 public function get_client() { 129 130 return automator_get_option( self::LINKEDIN_CLIENT ); 132 $default = false; 133 $force = true; 134 return automator_get_option( self::LINKEDIN_CLIENT, $default, $force ); 131 135 } 132 136 … … 329 333 330 334 /** 335 * Remove credentials. 336 * 337 * @return void 338 */ 339 public function remove_credentials() { 340 341 automator_delete_option( self::LINKEDIN_CLIENT ); 342 automator_delete_option( self::LINKEDIN_CONNECTED_USER ); 343 344 delete_transient( 'automator_linkedin_pages' ); 345 346 } 347 348 /** 331 349 * @return void 332 350 */ … … 335 353 $this->verify_access( automator_filter_input( 'nonce' ) ); 336 354 337 automator_delete_option( self::LINKEDIN_CLIENT ); 338 339 automator_delete_option( self::LINKEDIN_CONNECTED_USER ); 340 341 delete_transient( 'automator_linkedin_pages' ); 355 $this->remove_credentials(); 342 356 343 357 $this->redirect( -
uncanny-automator/trunk/uncanny-automator.php
r3373959 r3379151 10 10 * License: GPLv3 11 11 * License URI: https://www.gnu.org/licenses/gpl-3.0.html 12 * Version: 6.9.0. 112 * Version: 6.9.0.2 13 13 * Requires at least: 5.6 14 14 * Requires PHP: 7.3 … … 23 23 * Specify Automator version. 24 24 */ 25 define( 'AUTOMATOR_PLUGIN_VERSION', '6.9.0. 1' );25 define( 'AUTOMATOR_PLUGIN_VERSION', '6.9.0.2' ); 26 26 } 27 27
Note: See TracChangeset
for help on using the changeset viewer.