From 22a275e9da1a9d757c6390a89769c555f0ac9c36 Mon Sep 17 00:00:00 2001 From: Chris Normansell Date: Tue, 4 Jun 2024 15:41:01 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Removed=20the=20hardcoded=20refe?= =?UTF-8?q?rences=20to=20avatars=20and=20pulled=20it=20into=20the=20plugin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- images/avatar.png | Bin 0 -> 2451 bytes includes/classes/admin/admin.php | 2 +- readme.txt | 3 +++ 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 images/avatar.png diff --git a/images/avatar.png b/images/avatar.png new file mode 100644 index 0000000000000000000000000000000000000000..6552c62564e7485feec615dc182043c863017f21 GIT binary patch literal 2451 zcmV;E32gR>P)YCNenfZMW7kepX zT)#c%%?;;fJ*=%7Jyg)VgUfL0K@_i3jl}(AQpgF06;7Nu>iyZ0Ac}% z1t1mx5DP#o0I>joSO8)Hhy?(|0uT#8EC3)DfLH)x0RXW8!~zNs#3h&p$8koZ(bd%z zeIDKri^b@3=znmDAeJ|uEXy)Yv(ad{|IJ)37mvpyk;t=W&v4y{Wi(!M7pvK9PPFPS z`FwtDZ7moKLM+L}8Vm-uZBz21&n{m!5C~|RcJKd$!(no3e}8|R1fiGeVv$CdH`MF( zCmcqhP|$T<&EzPXSoC$KDTx+_VHlZAM#1V{9Sxy4>AUa4Fiw`8cX#4oTE zthd-lEXQ#=oer-tQ`|Z}KDKQe5ldXFygqUfEp)}>@o+c{v4oosa;e;1FbpG^Olq1I zjYc7s5c9!Gr6Splp3CK8H*kN>$W^StVDRbFCy8s6bUMAUv9YqU!t_xiOR=c5s@LmZ zzkZc|(oXr2Vi?CK*(_&;y=V7R*b^&!?=Xt&!-3S(Io#PT1S87VRu zlmJd*QQ3|k3}X4u`T4oxzg8p?;WAV<52R>5$afdR<0+L&QYl!4RETT{u^<+JSO8-A3{C)qSOD;OVO7eW z)t=BaEuBttDG88Y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10Teq(h94f;4YO)Wtz4C z6U6%V?Hfufa2N7nnvJ^w_au05aDYn*?oqGT&(6+f6pO+g3U=U<5Z(LK|5L19uZLF^ zfD7&&5+4?eWJD4K6B8m8OWwpfJv~Lu4kqGKECn76S6H|L(?G@2znXgm9t>BwWME2a zwc3NrS^lmIQ@rMmStfw2xj2# zHLX9yYBrm=MqmaSjmEv>TYifr=Aj^f3-_KL{uWEhZsTBK93CFt{o{WE3;;yWX1fOH RDy0Ab002ovPDHLkV1i*(hs*!~ literal 0 HcmV?d00001 diff --git a/includes/classes/admin/admin.php b/includes/classes/admin/admin.php index 20e56487..95269883 100644 --- a/includes/classes/admin/admin.php +++ b/includes/classes/admin/admin.php @@ -405,7 +405,7 @@ public function api_setup_complete_cb() { $data['avatar'] = ! empty( $data['avatar'] ) ? 'https://gathercontent-production-avatars.s3-us-west-2.amazonaws.com/' . $data['avatar'] - : 'https://app.gathercontent.com/assets/img/avatar.png'; + : GATHERCONTENT_URL . 'images/avatar.png'; if ( $this->set_my_account() ) { diff --git a/readme.txt b/readme.txt index 0ef820a9..a8197d07 100644 --- a/readme.txt +++ b/readme.txt @@ -50,6 +50,9 @@ Below the text box is a button that will allow you to simply save all of that in **Note:** This information contains potentially senstive data. Please be careful with where you post it. Do not post it in the WordPress support forums. += What external services do we communicate to? = +We only ping the Content Workflow API to fetch and push data. We do not send any data to any other services. We shall also be pulling your avatar from your account to display in the plugin. + = If you need help = * Please [visit our support documentation](https://support.bynder.com/hc/en-us/articles/14786938909458-Content-Workflow-Integrations#wordpress-integration).