Initial commit
This commit is contained in:
.gitignore
wp-content
index.phpchangelog.txtclass-conditions.phpclass-elements-helper.phpclass-hero.phpclass-hooks.phpclass-layout.phpclass-metabox.phpclass-post-type.phpelements.phpgenerate-menu-plus.phpgenerate-page-header.phpgenerate-spacing.phpwoocommerce.phpwpml-config.xmlindex.phpreadme.txtloco.xmlreadme.txtSiteHealth.phpUpgrade.phpWP.phpuninstall.php
mu-plugins
LICENSE.mdREADME.mdVERSIONVagrantfilebuild.xmlcomposer.jsondocker-compose.yml
dockersetup
langs
phpunit.travis.xmlphpunit.xml.distreadme.txtscreenshot-1.pngscreenshot-2.pngscreenshot-3.pngscreenshot-4.pngsrc
tests
view
plugins
activitypub
LICENSEactivitypub.php
includes
class-activity-dispatcher.phpclass-activitypub.phpclass-admin.phpclass-debug.phpclass-hashtag.phpclass-health-check.phpclass-signature.phpfunctions.php
model
peer
rest
class-followers.phpclass-following.phpclass-inbox.phpclass-nodeinfo.phpclass-ostatus.phpclass-outbox.phpclass-server.phpclass-webfinger.php
table
languages
readme.txttemplates
authLdap-2.3.1
.ci
50-init.ldif
.gitignore.rsyncIgnore.svnAccess.dist.travis.after.sh.travis.install.sh.travis.ymlLICENSE.mdREADME.mdVERSIONVagrantfileauthLdap.cssauthLdap.phpbuild.xmlcomposer.jsondocker-compose.ymlOpenLDAP
OpenLDAP_run.shldif
example.com.ldifexamplespace.com.ldifmanager.example.com.ldiftest.example.com.ldifuser1.example.com.ldifuser2.example.com.ldifuser3.example.com.ldifuser4.example.com.ldifuser5.example.com.ldif
load_fixtures.shphp.inidockersetup
ldap.phpphpunit.travis.xmlphpunit.xml.distreadme.txtsrc
tests
view
disable-wordpress-core-update
gitium
functions.phpgitium-webhook.phpgitium.php
img
inc
class-git-wrapper.phpclass-gitium-admin.phpclass-gitium-help.phpclass-gitium-menu-bubble.phpclass-gitium-menu.phpclass-gitium-requirements.phpclass-gitium-submenu-commits.phpclass-gitium-submenu-configure.phpclass-gitium-submenu-settings.phpclass-gitium-submenu-status.phpssh-git
languages
readme.txtgp-premium
backgrounds
blog
functions
generate-blog.phpcolors
functions
generate-colors.phpcopyright
disable-elements
elements
assets
admin
js
general
gp-premium.phphooks
import-export
inc
langs
gp-premium-cs_CZ.mogp-premium-cs_CZ.pogp-premium-da_DK.mogp-premium-da_DK.pogp-premium-de_DE.mogp-premium-de_De.pogp-premium-fr_FR.mogp-premium-fr_FR.pogp-premium-it_IT.mogp-premium-it_IT.pogp-premium-pl_PL.mogp-premium-pl_PL.pogp-premium-pt_BR.mogp-premium-pt_BR.pogp-premium-pt_PT.mogp-premium-pt_PT.pogp-premium-ru_RU.mogp-premium-ru_RU.pogp-premium-sk_SK.mogp-premium-sk_SK.pogp-premium-sv_SE.mogp-premium-sv_SE.pogp-premium-zh_CN.mogp-premium-zh_CN.pogp-premium.pot
library
EDD_SL_Plugin_Updater.php
batch-processing
class-make-css.phpcustomizer-helpers.phpcustomizer
active-callbacks.php
controls
class-action-button-control.phpclass-alpha-color-control.phpclass-backgrounds-control.phpclass-control-toggle.phpclass-copyright-control.phpclass-deprecated.phpclass-information-control.phpclass-range-slider-control.phpclass-refresh-button-control.phpclass-section-shortcuts-control.phpclass-spacing-control.phpclass-title-control.phpclass-typography-control.php
deprecated.phpsanitize.phpcss
alpha-color-picker.csscontrol-toggle-customizer.csssection-shortcuts.cssselectWoo.min.cssslider-customizer.cssspacing-customizer.csstitle-customizer.csstransparency-grid.pngtypography-customizer.css
js
image-processing-queue
image-processing-queue.php
includes
select2
menu-plus
functions
css
menu-logo.cssmenu-logo.min.cssnavigation-branding.cssnavigation-branding.min.cssoffside.cssoffside.min.csssticky.csssticky.min.css
generate-menu-plus.phpjs
page-header
functions
css
functions.phpglobal-locations.phpjs
full-height.jsfull-height.min.jsjquery.vide.min.jslc_switch.jsmetabox.jsparallax.jsparallax.min.jswp-color-picker-alpha.min.js
metabox.phppage-header.phppost-image.phppost-type.phpsecondary-nav
functions
generate-secondary-nav.phpsections
functions
generate-sections.phpsites
assets
classes
class-beaver-builder-batch-processing.phpclass-content-importer.phpclass-site-helper.phpclass-site-import-image.phpclass-site-restore.phpclass-site-widget-importer.phpclass-site.phpclass-sites-background-process.php
libs
sites.phpspacing
functions
customizer
content-spacing.phpfooter-spacing.phpheader-spacing.php
functions.phpmigration.phpjs
navigation-spacing.phpsecondary-nav-spacing.phpsidebar-spacing.phptop-bar-spacing.phptypography
functions
functions.phpgoogle-fonts.json
generate-fonts.phpjs
migration.phpsecondary-nav-fonts.phpslideout-nav-fonts.phpwoocommerce-fonts.phpwoocommerce
functions
css
woocommerce-mobile.csswoocommerce-mobile.min.csswoocommerce-tablet.csswoocommerce-tablet.min.csswoocommerce.csswoocommerce.min.css
customizer
functions.phpjs
menu-icons
CHANGELOG.mdLICENSE
assets
banner-1544x500.jpgbanner-772x250.jpgscreenshot-1.pngscreenshot-2.pngscreenshot-3.pngscreenshot-4.pngscreenshot-5.pngscreenshot-6.pngscreenshot-7.pngscreenshot-8.png
css
includes
js
languages
mailin.phpmenu-icons.phpreadme.mdreadme.txtvendor
autoload.php
codeinwp
icon-picker
LICENSE
assets
css
icon-picker.cssicon-picker.min.css
icon-picker.phptypes
Elusive-Icons.eotElusive-Icons.svgElusive-Icons.ttfElusive-Icons.woffGenericons.eotGenericons.svgGenericons.ttfGenericons.woffelusive.csselusive.min.cssfont-awesome.cssfont-awesome.min.cssfontawesome-webfont.eotfontawesome-webfont.svgfontawesome-webfont.ttffontawesome-webfont.wofffontawesome-webfont.woff2foundation-icons.cssfoundation-icons.eotfoundation-icons.min.cssfoundation-icons.svgfoundation-icons.ttffoundation-icons.woffgenericons.cssgenericons.min.css
includes
js
languages
phpcs.ruleset.xmlreadme.mdreadme.txtmenu-item-custom-fields
themeisle-sdk
composer
simple-local-avatars
readme.txtscreenshot-1.pngsimple-local-avatars.dev.jssimple-local-avatars.jssimple-local-avatars.php
static-html-output-plugin
languages
static-html-output-plugin-ja_UTF.mostatic-html-output-plugin-ja_UTF.postatic-html-output-plugin-sp_UTF.mostatic-html-output-plugin-sp_UTF.postatic-html-output-plugin.pot
plugin
CSSParser
FTP
URL2
WP2Static.phpWP2Static
Archive.phpArchiveProcessor.phpCSSProcessor.phpDBSettings.phpDeployer.phpDispatcher.phpExporter.phpFileCopier.phpFileWriter.phpFilesHelper.phpHTMLProcessor.phpMimeTypes.phpOptions.phpPostSettings.phpProgressLog.phpRequest.phpSiteCrawler.phpSitePublisher.phpTXTProcessor.phpTemplateHelper.phpView.phpWP2Static.phpWPSite.phpWsLog.php
deployers
wp2static-wp-cli-commands.phpviews
bitbucket_settings_block.phtmlbunnycdn_settings_block.phtmlfolder_settings_block.phtmlftp_settings_block.phtmlgithub_settings_block.phtmlgitlab_settings_block.phtmlmessage.phtmlnetlify_settings_block.phtmloptions-page-js.phtmloptions-page.phtmls3_settings_block.phtmltab_advanced.phtmltab_crawling.phtmltab_export.phtmltab_help.phtmltab_logs.phtmltab_love.phtmltab_processing.phtmlzip_settings_block.phtml
wp2static.csswp2static.phpwp-mail-smtp
assets
css
images
about
icon-full.svgicon-none.svgicon-partial.svgplugin-mi.pngplugin-om.pngplugin-rp.pngplugin-wpf.pngteam.jpg
control
email
logo.svglogs
menu-icon.svgproviders
aws.svggoogle.svgmailgun.svgmicrosoft.svgpepipost-smtp.pngpepipost.pngphp.svgsendgrid.svgsendinblue.svgsmtp.svg
recommended.svgjs
jquery.matchHeight.jsjquery.matchHeight.min.jssmtp-about.jssmtp-about.min.jssmtp-admin.jssmtp-admin.min.js
languages
libs
src
Admin
Conflicts.phpCore.phpDebug.phpGeo.phpMailCatcher.phpMigration.phpOptions.phpProcessor.phpProviders
AmazonSES
AuthAbstract.phpAuthInterface.phpGmail
Loader.phpMail
MailerAbstract.phpMailerInterface.phpMailgun
OptionsAbstract.phpOptionsInterface.phpOutlook
Pepipost
PepipostAPI
SMTP
Sendgrid
Sendinblue
vendor
autoload.php
wp-mail-smtp-0.11.2.phpwp-mail-smtp.phpwp_mail_smtp.phpcomposer
ClassLoader.phpautoload_classmap.phpautoload_files.phpautoload_namespaces.phpautoload_psr4.phpautoload_real.phpautoload_static.php
google
apiclient-services
LICENSE
src
Google
Service
Gmail.php
Gmail
AutoForwarding.phpBatchDeleteMessagesRequest.phpBatchModifyMessagesRequest.phpDelegate.phpDraft.phpFilter.phpFilterAction.phpFilterCriteria.phpForwardingAddress.phpHistory.phpHistoryLabelAdded.phpHistoryLabelRemoved.phpHistoryMessageAdded.phpHistoryMessageDeleted.phpImapSettings.phpLabel.phpLabelColor.phpLanguageSettings.phpListDelegatesResponse.phpListDraftsResponse.phpListFiltersResponse.phpListForwardingAddressesResponse.phpListHistoryResponse.phpListLabelsResponse.phpListMessagesResponse.phpListSendAsResponse.phpListSmimeInfoResponse.phpListThreadsResponse.phpMessage.phpMessagePart.phpMessagePartBody.phpMessagePartHeader.phpModifyMessageRequest.phpModifyThreadRequest.phpPopSettings.phpProfile.php
Resource
Users.phpUsersDrafts.phpUsersHistory.phpUsersLabels.phpUsersMessages.phpUsersMessagesAttachments.phpUsersSettings.phpUsersSettingsDelegates.phpUsersSettingsFilters.phpUsersSettingsForwardingAddresses.phpUsersSettingsSendAs.phpUsersSettingsSendAsSmimeInfo.phpUsersThreads.php
SendAs.phpSmimeInfo.phpSmtpMsa.phpThread.phpVacationSettings.phpWatchRequest.phpWatchResponse.phpapiclient
LICENSE
src
Google
AccessToken
AuthHandler
Client.phpCollection.phpException.phpHttp
Model.phpService.phpService
Task
Utils
autoload.phpauth
COPYINGLICENSEautoload.php
src
AccessToken.phpApplicationDefaultCredentials.php
Cache
CacheTrait.phpCredentials
AppIdentityCredentials.phpGCECredentials.phpIAMCredentials.phpInsecureCredentials.phpServiceAccountCredentials.phpServiceAccountJwtAccessCredentials.phpUserRefreshCredentials.php
CredentialsLoader.phpFetchAuthTokenCache.phpFetchAuthTokenInterface.phpHttpHandler
Iam.phpMiddleware
OAuth2.phpServiceAccountSignerTrait.phpSignBlobInterface.phpSubscriber
guzzlehttp
guzzle
DockerfileLICENSE
src
Client.phpClientInterface.php
Cookie
Exception
BadResponseException.phpClientException.phpConnectException.phpGuzzleException.phpInvalidArgumentException.phpRequestException.phpSeekException.phpServerException.phpTooManyRedirectsException.phpTransferException.php
Handler
CurlFactory.phpCurlFactoryInterface.phpCurlHandler.phpCurlMultiHandler.phpEasyHandle.phpMockHandler.phpProxy.phpStreamHandler.php
HandlerStack.phpMessageFormatter.phpMiddleware.phpPool.phpPrepareBodyMiddleware.phpRedirectMiddleware.phpRequestOptions.phpRetryMiddleware.phpTransferStats.phpUriTemplate.phpfunctions.phpfunctions_include.phppromises
LICENSE
src
psr7
LICENSE
src
AppendStream.phpBufferStream.phpCachingStream.phpDroppingStream.phpFnStream.phpInflateStream.phpLazyOpenStream.phpLimitStream.phpMessageTrait.phpMultipartStream.phpNoSeekStream.phpPumpStream.phpRequest.phpResponse.phpRfc7230.phpServerRequest.phpStream.phpStreamDecoratorTrait.phpStreamWrapper.phpUploadedFile.phpUri.phpUriNormalizer.phpUriResolver.phpfunctions.phpfunctions_include.php
monolog
monolog
LICENSE
src
Monolog
ErrorHandler.php
Formatter
ChromePHPFormatter.phpElasticaFormatter.phpFlowdockFormatter.phpFluentdFormatter.phpFormatterInterface.phpGelfMessageFormatter.phpHtmlFormatter.phpJsonFormatter.phpLineFormatter.phpLogglyFormatter.phpLogstashFormatter.phpMongoDBFormatter.phpNormalizerFormatter.phpScalarFormatter.phpWildfireFormatter.php
Handler
AbstractHandler.phpAbstractProcessingHandler.phpAbstractSyslogHandler.phpAmqpHandler.phpBrowserConsoleHandler.phpBufferHandler.phpChromePHPHandler.phpCouchDBHandler.phpCubeHandler.php
Logger.phpCurl
DeduplicationHandler.phpDoctrineCouchDBHandler.phpDynamoDbHandler.phpElasticSearchHandler.phpErrorLogHandler.phpFilterHandler.phpFingersCrossed
FingersCrossedHandler.phpFirePHPHandler.phpFleepHookHandler.phpFlowdockHandler.phpFormattableHandlerInterface.phpFormattableHandlerTrait.phpGelfHandler.phpGroupHandler.phpHandlerInterface.phpHandlerWrapper.phpHipChatHandler.phpIFTTTHandler.phpInsightOpsHandler.phpLogEntriesHandler.phpLogglyHandler.phpMailHandler.phpMandrillHandler.phpMissingExtensionException.phpMongoDBHandler.phpNativeMailerHandler.phpNewRelicHandler.phpNullHandler.phpPHPConsoleHandler.phpProcessableHandlerInterface.phpProcessableHandlerTrait.phpPsrHandler.phpPushoverHandler.phpRavenHandler.phpRedisHandler.phpRollbarHandler.phpRotatingFileHandler.phpSamplingHandler.phpSlack
SlackHandler.phpSlackWebhookHandler.phpSlackbotHandler.phpSocketHandler.phpStreamHandler.phpSwiftMailerHandler.phpSyslogHandler.phpSyslogUdp
SyslogUdpHandler.phpTestHandler.phpWhatFailureGroupHandler.phpZendMonitorHandler.phpProcessor
GitProcessor.phpIntrospectionProcessor.phpMemoryPeakUsageProcessor.phpMemoryProcessor.phpMemoryUsageProcessor.phpMercurialProcessor.phpProcessIdProcessor.phpProcessorInterface.phpPsrLogMessageProcessor.phpTagProcessor.phpUidProcessor.phpWebProcessor.php
Registry.phpResettableInterface.phpSignalHandler.phpUtils.phpphpseclib
phpseclib
psr
ralouphie
getallheaders
sendinblue
api-v3-sdk
lib
Api
AccountApi.phpAttributesApi.phpContactsApi.phpEmailCampaignsApi.phpFoldersApi.phpListsApi.phpProcessApi.phpResellerApi.phpSMSCampaignsApi.phpSMTPApi.phpSendersApi.phpTransactionalSMSApi.phpWebhooksApi.php
ApiException.phpConfiguration.phpHeaderSelector.phpModel
AddChildDomain.phpAddContactToList.phpAddCredits.phpCreateAttribute.phpCreateAttributeEnumeration.phpCreateChild.phpCreateContact.phpCreateEmailCampaign.phpCreateEmailCampaignRecipients.phpCreateEmailCampaignSender.phpCreateList.phpCreateModel.phpCreateReseller.phpCreateSender.phpCreateSenderIps.phpCreateSenderModel.phpCreateSmsCampaign.phpCreateSmsCampaignRecipients.phpCreateSmtpEmail.phpCreateSmtpTemplate.phpCreateSmtpTemplateSender.phpCreateUpdateContactModel.phpCreateUpdateFolder.phpCreateWebhook.phpCreatedProcessId.phpDeleteHardbounces.phpEmailExportRecipients.phpErrorModel.phpGetAccount.phpGetAccountMarketingAutomation.phpGetAccountPlan.phpGetAccountRelay.phpGetAccountRelayData.phpGetAggregatedReport.phpGetAttributes.phpGetAttributesAttributes.phpGetAttributesEnumeration.phpGetCampaignOverview.phpGetCampaignRecipients.phpGetCampaignStats.phpGetChildDomain.phpGetChildDomains.phpGetChildInfo.phpGetChildInfoApiKeys.phpGetChildInfoApiKeysV2.phpGetChildInfoApiKeysV3.phpGetChildInfoCredits.phpGetChildInfoStatistics.phpGetChildrenList.phpGetClient.phpGetContactCampaignStats.phpGetContactCampaignStatsClicked.phpGetContactCampaignStatsOpened.phpGetContactCampaignStatsTransacAttributes.phpGetContactCampaignStatsUnsubscriptions.phpGetContactDetails.phpGetContacts.phpGetEmailCampaign.phpGetEmailCampaigns.phpGetEmailEventReport.phpGetEmailEventReportEvents.phpGetExtendedCampaignOverview.phpGetExtendedCampaignOverviewSender.phpGetExtendedCampaignStats.phpGetExtendedClient.phpGetExtendedClientAddress.phpGetExtendedContactDetails.phpGetExtendedContactDetailsStatistics.phpGetExtendedContactDetailsStatisticsClicked.phpGetExtendedContactDetailsStatisticsLinks.phpGetExtendedContactDetailsStatisticsMessagesSent.phpGetExtendedContactDetailsStatisticsOpened.phpGetExtendedContactDetailsStatisticsUnsubscriptions.phpGetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.phpGetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.phpGetExtendedList.phpGetExtendedListCampaignStats.phpGetFolder.phpGetFolderLists.phpGetFolders.phpGetIp.phpGetIpFromSender.phpGetIps.phpGetIpsFromSender.phpGetList.phpGetLists.phpGetProcess.phpGetProcesses.phpGetReports.phpGetReportsReports.phpGetSendersList.phpGetSendersListIps.phpGetSendersListSenders.phpGetSmsCampaign.phpGetSmsCampaignOverview.phpGetSmsCampaignStats.phpGetSmsCampaigns.phpGetSmsEventReport.phpGetSmsEventReportEvents.phpGetSmtpTemplateOverview.phpGetSmtpTemplateOverviewSender.phpGetSmtpTemplates.phpGetSsoToken.phpGetStatsByDomain.phpGetTransacAggregatedSmsReport.phpGetTransacSmsReport.phpGetTransacSmsReportReports.phpGetWebhook.phpGetWebhooks.phpManageIp.phpModelInterface.phpPostContactInfo.phpPostContactInfoContacts.phpPostSendFailed.phpPostSendSmsTestFailed.phpRemainingCreditModel.phpRemainingCreditModelChild.phpRemainingCreditModelReseller.phpRemoveContactFromList.phpRemoveCredits.phpRequestContactExport.phpRequestContactImport.phpRequestContactImportNewList.phpRequestSMSRecipientExport.phpSendEmail.phpSendEmailAttachment.phpSendReport.phpSendReportEmail.phpSendSms.phpSendSmtpEmail.phpSendSmtpEmailAttachment.phpSendSmtpEmailBcc.phpSendSmtpEmailCc.phpSendSmtpEmailReplyTo.phpSendSmtpEmailSender.phpSendSmtpEmailTo.phpSendTemplateEmail.phpSendTestEmail.phpSendTestSms.phpSendTransacSms.phpUpdateAttribute.phpUpdateAttributeEnumeration.phpUpdateCampaignStatus.phpUpdateChild.phpUpdateChildAccountStatus.phpUpdateChildDomain.phpUpdateContact.phpUpdateEmailCampaign.phpUpdateEmailCampaignRecipients.phpUpdateEmailCampaignSender.phpUpdateList.phpUpdateSender.phpUpdateSmsCampaign.phpUpdateSmtpTemplate.phpUpdateSmtpTemplateSender.phpUpdateWebhook.php
ObjectSerializer.phpwp-piwik
LICENSEREADME.mdbitcoin.png
classes
WP_Piwik.php
config.phpWP_Piwik
Admin.php
Admin
Logger.phpLogger
Request.phpRequest
Settings.phpShortcode.phpTemplate.phpTemplate
TrackingCode.phpWidget.phpWidget
css
gpl-3.0.htmlindex.phpjs
index.php
jqplot
IMPORTANT_NOTICE.txtMIT-LICENSE.txtREADME.txtchanges.txtcopyright.txtexcanvas.min.jsgpl-2.0.txtindex.phpjquery.jqplot.min.cssjquery.jqplot.min.js
plugins
usage.txtwp-piwik.jqplot.jssparkline
wp-piwik.jslanguages
.tx
update.shwp-piwik-az_AZ.mowp-piwik-az_AZ.powp-piwik-be_BY.mowp-piwik-be_BY.powp-piwik-cs_CZ.mowp-piwik-cs_CZ.powp-piwik-de_CH.mowp-piwik-de_CH.powp-piwik-de_DE.mowp-piwik-de_DE.powp-piwik-el.mowp-piwik-el.powp-piwik-el_GR.mowp-piwik-el_GR.powp-piwik-es_ES.mowp-piwik-es_ES.powp-piwik-fa_IR.mowp-piwik-fa_IR.powp-piwik-fr_FR.mowp-piwik-fr_FR.powp-piwik-hi.mowp-piwik-hi.powp-piwik-hu_HU.mowp-piwik-hu_HU.powp-piwik-id.mowp-piwik-id.powp-piwik-it_IT.mowp-piwik-it_IT.powp-piwik-lb.mowp-piwik-lb.powp-piwik-lt_LT.mowp-piwik-lt_LT.powp-piwik-nb_NO.mowp-piwik-nb_NO.powp-piwik-nl_NL.mowp-piwik-nl_NL.powp-piwik-pl_PL.mowp-piwik-pl_PL.powp-piwik-pt_BR.mowp-piwik-pt_BR.powp-piwik-ro_RO.mowp-piwik-ro_RO.powp-piwik-ru_RU.mowp-piwik-ru_RU.powp-piwik-sl_SI.mowp-piwik-sl_SI.powp-piwik-sq.mowp-piwik-sq.powp-piwik-sv_SE.mowp-piwik-sv_SE.powp-piwik-tr_TR.mowp-piwik-tr_TR.powp-piwik-ua_UA.mowp-piwik-ua_UA.powp-piwik-uk_UA.mowp-piwik-uk_UA.powp-piwik-zh_CN.mowp-piwik-zh_CN.powp-piwik.potproxy
readme.txtscreenshot-1.gifscreenshot-2.gifscreenshot-3.gifscreenshot-4.gifscreenshot-5.gifuninstall.phpupdate
wp-piwik.phpwpml-config.xmlthemes
generatepress
404.phparchive.phpcomments.phpcontent-link.phpcontent-page.phpcontent-single.phpcontent.php
index.phpcss
admin
all.min.cssfont-awesome.cssfont-awesome.min.cssmobile.cssmobile.min.cssunsemantic-grid-lite.cssunsemantic-grid-lite.min.cssunsemantic-grid.cssunsemantic-grid.min.cssfonts
FontAwesome.otffontawesome-webfont.eotfontawesome-webfont.svgfontawesome-webfont.ttffontawesome-webfont.wofffontawesome-webfont.woff2generatepress.eotgeneratepress.svggeneratepress.ttfgeneratepress.woffgeneratepress.woff2
footer.phpfunctions.phpheader.phpinc
block-editor.phpclass-css.phpcss-output.phpcustomizer.phpdashboard.phpdefaults.phpdeprecated.phpgeneral.phpmarkup.phpmeta-box.phpmigrate.phpplugin-compat.php
index.phpcustomizer
controls
class-deprecated.phpclass-range-control.phpclass-typography-control.phpclass-upsell-control.phpclass-upsell-section.php
customizer-helpers.phpdeprecated.phphelpers.phpcss
js
structure
archives.phpcomments.phpfeatured-images.phpfooter.phpheader.phpnavigation.phppost-meta.phpsidebars.php
theme-functions.phptypography.phpjs
a11y.jsa11y.min.js
no-results.phppage.phpreadme.txtrtl.cssscreenshot.pngsearch.phpsearchform.phpsidebar-left.phpsidebar.phpsingle.phpstyle.cssstyle.min.cssadmin
back-to-top.jsback-to-top.min.jsclassList.jsclassList.min.jsdropdown-click.jsdropdown-click.min.jsmenu.jsmenu.min.jsnavigation-search.jsnavigation-search.min.jstwentynineteen
404.phparchive.php
classes
comments.phpfonts
footer.phpfunctions.phpheader.phpimage.phpinc
back-compat.phpcolor-patterns.phpcustomizer.phphelper-functions.phpicon-functions.phptemplate-functions.phptemplate-tags.php
index.phpjs
customize-controls.jscustomize-preview.jspriority-menu.jsskip-link-focus-fix.jstouch-keyboard-navigation.js
package-lock.jsonpackage.jsonpage.phppostcss.config.jsprint.cssprint.scssreadme.txtsass
_normalize.scss
screenshot.pngsearch.phpsingle.phpstyle-editor-customizer.cssstyle-editor-customizer.scssstyle-editor.cssstyle-editor.scssstyle-rtl.cssstyle.cssstyle.scssblocks
elements
forms
layout
media
mixins
modules
navigation
_links.scss_menu-footer-navigation.scss_menu-main-navigation.scss_menu-social-navigation.scss_navigation.scss_next-previous.scss
site
typography
variables-site
template-parts
twentyseventeen
404.phparchive.phpcomments.phpfooter.phpfront-page.phpfunctions.phpheader.php
assets
css
images
js
inc
back-compat.phpcolor-patterns.phpcustom-header.phpcustomizer.phpicon-functions.phptemplate-functions.phptemplate-tags.php
index.phppage.phpreadme.txtrtl.cssscreenshot.pngsearch.phpsearchform.phpsidebar.phpsingle.phpstyle.csstemplate-parts
twentysixteen
404.phparchive.phpcomments.php
css
footer.phpfunctions.phpgenericons
COPYING.txtGenericons.eotGenericons.svgGenericons.ttfGenericons.woffLICENSE.txtREADME.mdgenericons.css
header.phpimage.phpinc
index.phpjs
color-scheme-control.jscustomize-preview.jsfunctions.jshtml5.jskeyboard-image-navigation.jsskip-link-focus-fix.js
page.phpreadme.txtrtl.cssscreenshot.pngsearch.phpsearchform.phpsidebar-content-bottom.phpsidebar.phpsingle.phpstyle.csstemplate-parts
346
wp-content/plugins/wp-mail-smtp/vendor/guzzlehttp/guzzle/src/functions.php
vendored
Normal file
346
wp-content/plugins/wp-mail-smtp/vendor/guzzlehttp/guzzle/src/functions.php
vendored
Normal file
@ -0,0 +1,346 @@
|
||||
<?php
|
||||
namespace GuzzleHttp;
|
||||
|
||||
use GuzzleHttp\Handler\CurlHandler;
|
||||
use GuzzleHttp\Handler\CurlMultiHandler;
|
||||
use GuzzleHttp\Handler\Proxy;
|
||||
use GuzzleHttp\Handler\StreamHandler;
|
||||
|
||||
/**
|
||||
* Expands a URI template
|
||||
*
|
||||
* @param string $template URI template
|
||||
* @param array $variables Template variables
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function uri_template($template, array $variables)
|
||||
{
|
||||
if (extension_loaded('uri_template')) {
|
||||
// @codeCoverageIgnoreStart
|
||||
return \uri_template($template, $variables);
|
||||
// @codeCoverageIgnoreEnd
|
||||
}
|
||||
|
||||
static $uriTemplate;
|
||||
if (!$uriTemplate) {
|
||||
$uriTemplate = new UriTemplate();
|
||||
}
|
||||
|
||||
return $uriTemplate->expand($template, $variables);
|
||||
}
|
||||
|
||||
/**
|
||||
* Debug function used to describe the provided value type and class.
|
||||
*
|
||||
* @param mixed $input
|
||||
*
|
||||
* @return string Returns a string containing the type of the variable and
|
||||
* if a class is provided, the class name.
|
||||
*/
|
||||
function describe_type($input)
|
||||
{
|
||||
switch (gettype($input)) {
|
||||
case 'object':
|
||||
return 'object(' . get_class($input) . ')';
|
||||
case 'array':
|
||||
return 'array(' . count($input) . ')';
|
||||
default:
|
||||
ob_start();
|
||||
var_dump($input);
|
||||
// normalize float vs double
|
||||
return str_replace('double(', 'float(', rtrim(ob_get_clean()));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Parses an array of header lines into an associative array of headers.
|
||||
*
|
||||
* @param array $lines Header lines array of strings in the following
|
||||
* format: "Name: Value"
|
||||
* @return array
|
||||
*/
|
||||
function headers_from_lines($lines)
|
||||
{
|
||||
$headers = [];
|
||||
|
||||
foreach ($lines as $line) {
|
||||
$parts = explode(':', $line, 2);
|
||||
$headers[trim($parts[0])][] = isset($parts[1])
|
||||
? trim($parts[1])
|
||||
: null;
|
||||
}
|
||||
|
||||
return $headers;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a debug stream based on the provided variable.
|
||||
*
|
||||
* @param mixed $value Optional value
|
||||
*
|
||||
* @return resource
|
||||
*/
|
||||
function debug_resource($value = null)
|
||||
{
|
||||
if (is_resource($value)) {
|
||||
return $value;
|
||||
} elseif (defined('STDOUT')) {
|
||||
return STDOUT;
|
||||
}
|
||||
|
||||
return fopen('php://output', 'w');
|
||||
}
|
||||
|
||||
/**
|
||||
* Chooses and creates a default handler to use based on the environment.
|
||||
*
|
||||
* The returned handler is not wrapped by any default middlewares.
|
||||
*
|
||||
* @throws \RuntimeException if no viable Handler is available.
|
||||
* @return callable Returns the best handler for the given system.
|
||||
*/
|
||||
function choose_handler()
|
||||
{
|
||||
$handler = null;
|
||||
if (function_exists('curl_multi_exec') && function_exists('curl_exec')) {
|
||||
$handler = Proxy::wrapSync(new CurlMultiHandler(), new CurlHandler());
|
||||
} elseif (function_exists('curl_exec')) {
|
||||
$handler = new CurlHandler();
|
||||
} elseif (function_exists('curl_multi_exec')) {
|
||||
$handler = new CurlMultiHandler();
|
||||
}
|
||||
|
||||
if (ini_get('allow_url_fopen')) {
|
||||
$handler = $handler
|
||||
? Proxy::wrapStreaming($handler, new StreamHandler())
|
||||
: new StreamHandler();
|
||||
} elseif (!$handler) {
|
||||
throw new \RuntimeException('GuzzleHttp requires cURL, the '
|
||||
. 'allow_url_fopen ini setting, or a custom HTTP handler.');
|
||||
}
|
||||
|
||||
return $handler;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the default User-Agent string to use with Guzzle
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function default_user_agent()
|
||||
{
|
||||
static $defaultAgent = '';
|
||||
|
||||
if (!$defaultAgent) {
|
||||
$defaultAgent = 'GuzzleHttp/' . Client::VERSION;
|
||||
if (extension_loaded('curl') && function_exists('curl_version')) {
|
||||
$defaultAgent .= ' curl/' . \curl_version()['version'];
|
||||
}
|
||||
$defaultAgent .= ' PHP/' . PHP_VERSION;
|
||||
}
|
||||
|
||||
return $defaultAgent;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the default cacert bundle for the current system.
|
||||
*
|
||||
* First, the openssl.cafile and curl.cainfo php.ini settings are checked.
|
||||
* If those settings are not configured, then the common locations for
|
||||
* bundles found on Red Hat, CentOS, Fedora, Ubuntu, Debian, FreeBSD, OS X
|
||||
* and Windows are checked. If any of these file locations are found on
|
||||
* disk, they will be utilized.
|
||||
*
|
||||
* Note: the result of this function is cached for subsequent calls.
|
||||
*
|
||||
* @return string
|
||||
* @throws \RuntimeException if no bundle can be found.
|
||||
*/
|
||||
function default_ca_bundle()
|
||||
{
|
||||
static $cached = null;
|
||||
static $cafiles = [
|
||||
// Red Hat, CentOS, Fedora (provided by the ca-certificates package)
|
||||
'/etc/pki/tls/certs/ca-bundle.crt',
|
||||
// Ubuntu, Debian (provided by the ca-certificates package)
|
||||
'/etc/ssl/certs/ca-certificates.crt',
|
||||
// FreeBSD (provided by the ca_root_nss package)
|
||||
'/usr/local/share/certs/ca-root-nss.crt',
|
||||
// SLES 12 (provided by the ca-certificates package)
|
||||
'/var/lib/ca-certificates/ca-bundle.pem',
|
||||
// OS X provided by homebrew (using the default path)
|
||||
'/usr/local/etc/openssl/cert.pem',
|
||||
// Google app engine
|
||||
'/etc/ca-certificates.crt',
|
||||
// Windows?
|
||||
'C:\\windows\\system32\\curl-ca-bundle.crt',
|
||||
'C:\\windows\\curl-ca-bundle.crt',
|
||||
];
|
||||
|
||||
if ($cached) {
|
||||
return $cached;
|
||||
}
|
||||
|
||||
if ($ca = ini_get('openssl.cafile')) {
|
||||
return $cached = $ca;
|
||||
}
|
||||
|
||||
if ($ca = ini_get('curl.cainfo')) {
|
||||
return $cached = $ca;
|
||||
}
|
||||
|
||||
foreach ($cafiles as $filename) {
|
||||
if (file_exists($filename)) {
|
||||
return $cached = $filename;
|
||||
}
|
||||
}
|
||||
|
||||
throw new \RuntimeException(
|
||||
<<< EOT
|
||||
No system CA bundle could be found in any of the the common system locations.
|
||||
PHP versions earlier than 5.6 are not properly configured to use the system's
|
||||
CA bundle by default. In order to verify peer certificates, you will need to
|
||||
supply the path on disk to a certificate bundle to the 'verify' request
|
||||
option: http://docs.guzzlephp.org/en/latest/clients.html#verify. If you do not
|
||||
need a specific certificate bundle, then Mozilla provides a commonly used CA
|
||||
bundle which can be downloaded here (provided by the maintainer of cURL):
|
||||
https://raw.githubusercontent.com/bagder/ca-bundle/master/ca-bundle.crt. Once
|
||||
you have a CA bundle available on disk, you can set the 'openssl.cafile' PHP
|
||||
ini setting to point to the path to the file, allowing you to omit the 'verify'
|
||||
request option. See http://curl.haxx.se/docs/sslcerts.html for more
|
||||
information.
|
||||
EOT
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates an associative array of lowercase header names to the actual
|
||||
* header casing.
|
||||
*
|
||||
* @param array $headers
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
function normalize_header_keys(array $headers)
|
||||
{
|
||||
$result = [];
|
||||
foreach (array_keys($headers) as $key) {
|
||||
$result[strtolower($key)] = $key;
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if the provided host matches any of the no proxy areas.
|
||||
*
|
||||
* This method will strip a port from the host if it is present. Each pattern
|
||||
* can be matched with an exact match (e.g., "foo.com" == "foo.com") or a
|
||||
* partial match: (e.g., "foo.com" == "baz.foo.com" and ".foo.com" ==
|
||||
* "baz.foo.com", but ".foo.com" != "foo.com").
|
||||
*
|
||||
* Areas are matched in the following cases:
|
||||
* 1. "*" (without quotes) always matches any hosts.
|
||||
* 2. An exact match.
|
||||
* 3. The area starts with "." and the area is the last part of the host. e.g.
|
||||
* '.mit.edu' will match any host that ends with '.mit.edu'.
|
||||
*
|
||||
* @param string $host Host to check against the patterns.
|
||||
* @param array $noProxyArray An array of host patterns.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
function is_host_in_noproxy($host, array $noProxyArray)
|
||||
{
|
||||
if (strlen($host) === 0) {
|
||||
throw new \InvalidArgumentException('Empty host provided');
|
||||
}
|
||||
|
||||
// Strip port if present.
|
||||
if (strpos($host, ':')) {
|
||||
$host = explode($host, ':', 2)[0];
|
||||
}
|
||||
|
||||
foreach ($noProxyArray as $area) {
|
||||
// Always match on wildcards.
|
||||
if ($area === '*') {
|
||||
return true;
|
||||
} elseif (empty($area)) {
|
||||
// Don't match on empty values.
|
||||
continue;
|
||||
} elseif ($area === $host) {
|
||||
// Exact matches.
|
||||
return true;
|
||||
} else {
|
||||
// Special match if the area when prefixed with ".". Remove any
|
||||
// existing leading "." and add a new leading ".".
|
||||
$area = '.' . ltrim($area, '.');
|
||||
if (substr($host, -(strlen($area))) === $area) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Wrapper for json_decode that throws when an error occurs.
|
||||
*
|
||||
* @param string $json JSON data to parse
|
||||
* @param bool $assoc When true, returned objects will be converted
|
||||
* into associative arrays.
|
||||
* @param int $depth User specified recursion depth.
|
||||
* @param int $options Bitmask of JSON decode options.
|
||||
*
|
||||
* @return mixed
|
||||
* @throws Exception\InvalidArgumentException if the JSON cannot be decoded.
|
||||
* @link http://www.php.net/manual/en/function.json-decode.php
|
||||
*/
|
||||
function json_decode($json, $assoc = false, $depth = 512, $options = 0)
|
||||
{
|
||||
$data = \json_decode($json, $assoc, $depth, $options);
|
||||
if (JSON_ERROR_NONE !== json_last_error()) {
|
||||
throw new Exception\InvalidArgumentException(
|
||||
'json_decode error: ' . json_last_error_msg()
|
||||
);
|
||||
}
|
||||
|
||||
return $data;
|
||||
}
|
||||
|
||||
/**
|
||||
* Wrapper for JSON encoding that throws when an error occurs.
|
||||
*
|
||||
* @param mixed $value The value being encoded
|
||||
* @param int $options JSON encode option bitmask
|
||||
* @param int $depth Set the maximum depth. Must be greater than zero.
|
||||
*
|
||||
* @return string
|
||||
* @throws Exception\InvalidArgumentException if the JSON cannot be encoded.
|
||||
* @link http://www.php.net/manual/en/function.json-encode.php
|
||||
*/
|
||||
function json_encode($value, $options = 0, $depth = 512)
|
||||
{
|
||||
$json = \json_encode($value, $options, $depth);
|
||||
if (JSON_ERROR_NONE !== json_last_error()) {
|
||||
throw new Exception\InvalidArgumentException(
|
||||
'json_encode error: ' . json_last_error_msg()
|
||||
);
|
||||
}
|
||||
|
||||
return $json;
|
||||
}
|
||||
|
||||
/**
|
||||
* Wrapper for the hrtime() or microtime() functions
|
||||
* (depending on the PHP version, one of the two is used)
|
||||
*
|
||||
* @return float|mixed UNIX timestamp
|
||||
* @internal
|
||||
*/
|
||||
function _current_time()
|
||||
{
|
||||
return function_exists('hrtime') ? hrtime(true) / 1e9 : microtime(true);
|
||||
}
|
Reference in New Issue
Block a user