updated plugin Easy Digital Downloads
version 3.1.1.2
This commit is contained in:
wp-content/plugins/easy-digital-downloads
assets
css
admin
chosen
datepicker.scssdownloads
email-tags.scssextension-manager.scssforms
gateways
general
menu.scssnotifications
orders
promos
reports
style.scsstax-rates
upgrades
variables
vendor
images
icons
icon-automate.svgicon-bundle.svgicon-edd-heart.svgicon-email-marketing.svgicon-gateways.svgicon-install.svgicon-lead-magnets.svgicon-settings.svgicon-smiley.svgicon-subscriptions.svg
onboarding
js
admin
components
advanced-filters
chosen
date-picker
location
notifications
promos
sortable-list
taxonomies
tooltips
user-search
vertical-sections
customers
dashboard
discounts
downloads
index.jsnotes
notices
orders
index.jslist-table.js
order-details
order-overview
_refund.js
collections
index.jsmodels
views
actions.jsbase.jscopy-download-link.jsdialog.jsform-add-order-adjustment.jsform-add-order-discount.jsform-add-order-item.jsno-order-items.jsorder-adjustment.jsorder-adjustments.jsorder-credits.jsorder-discounts-fees.jsorder-item.jsorder-items.jsorder-refund.jsorder-refunds.jsorder-subtotal.jsorder-tax.jsorder-total.jsoverview.jssummary.js
payments
reports
settings
tools
upgrades
frontend
packages
paypal-checkout.jsutils
lite
includes
admin
add-ons.phpadmin-bar.phpadmin-deprecated-functions.phpadmin-pages.phpclass-edd-notices.php
ajax-functions.phpdownloads
import
payments
plugins.phppromos
reporting
export
class-batch-export-earnings-report.phpclass-batch-export-payments.phpclass-batch-export-sales.phpclass-batch-export-taxed-orders.php
reports-callbacks.phpreports.phpviews
settings
tools.phptracking.phpupgrades
blocks
build
buy-button
cart
checkout
confirmation
downloads
login
order-history
receipt
register
terms
user-downloads
includes
views
database
deprecated-functions.phpdiscount-functions.phpdownload-functions.phpemails
extensions
formatting.phpgateways
paypal-standard.phpedd-stripe.php
install.phpmisc-functions.phppaypal
stripe
assets
css
build
admin.min.cssadmin.min.css.mapapp.min.cssapp.min.css.mapcardelements.min.csscardelements.min.css.mappaymentelements.min.csspaymentelements.min.css.map
src
js
includes
admin
class-edd-stripe.phpcompat.phpdeprecated.phpelements
functions.phpgateway-filters.phpi18n.phpintegrations
payment-actions
payment-methods
scripts.phptemplate-functions.phpvendor
autoload.php
composer
stripe
stripe-php
CHANGELOG.mdMakefileREADME.mdVERSIONcomposer.jsoninit.php
lib
Account.php
phpstan-baseline.neonphpstan.neon.distupdate_certs.phpApiOperations
ApiRequestor.phpApiResource.phpApplicationFee.phpApplicationFeeRefund.phpBalance.phpBalanceTransaction.phpBankAccount.phpBaseStripeClient.phpBaseStripeClientInterface.phpBillingPortal
BitcoinReceiver.phpCapability.phpCard.phpCashBalance.phpCharge.phpCheckout
Collection.phpCoupon.phpCreditNote.phpCreditNoteLineItem.phpCustomer.phpDiscount.phpEphemeralKey.phpErrorObject.phpEvent.phpFile.phpFinancialConnections
FundingInstructions.phpHttpClient
Identity
Invoice.phpInvoiceItem.phpInvoiceLineItem.phpIssuing
LineItem.phpOrder.phpPaymentIntent.phpPaymentLink.phpPaymentMethod.phpPayout.phpPerson.phpPlan.phpPrice.phpProduct.phpPromotionCode.phpQuote.phpRadar
Recipient.phpRefund.phpReporting
Review.phpSKU.phpSearchResult.phpService
AbstractService.phpAccountService.phpApplePayDomainService.phpApplicationFeeService.phpBalanceTransactionService.php
SetupAttempt.phpSetupIntent.phpShippingRate.phpSingletonApiResource.phpSource.phpStripe.phpStripeClient.phpStripeClientInterface.phpStripeObject.phpStripeStreamingClientInterface.phpSubscription.phpSubscriptionItem.phpSubscriptionSchedule.phpTaxCode.phpTaxId.phpTaxRate.phpBillingPortal
ChargeService.phpCheckout
CoreServiceFactory.phpCountrySpecService.phpCouponService.phpCreditNoteService.phpCustomerService.phpDisputeService.phpEventService.phpExchangeRateService.phpFileLinkService.phpFileService.phpFinancialConnections
Identity
InvoiceItemService.phpInvoiceService.phpIssuing
AuthorizationService.phpCardService.phpCardholderService.phpDisputeService.phpTransactionService.php
OrderReturnService.phpOrderService.phpPaymentIntentService.phpPaymentLinkService.phpPaymentMethodService.phpPayoutService.phpPlanService.phpPriceService.phpProductService.phpPromotionCodeService.phpQuoteService.phpRadar
RefundService.phpReporting
ReviewService.phpSetupAttemptService.phpSetupIntentService.phpShippingRateService.phpSigma
SkuService.phpSubscriptionItemService.phpSubscriptionScheduleService.phpSubscriptionService.phpTaxCodeService.phpTaxRateService.phpTerminal
TestHelpers
TopupService.phpTransferService.phpWebhookEndpointService.phpTerminal
TestHelpers
Token.phpTopup.phpTransfer.phpTransferReversal.phpUtil
WebhookSignature.phporders
functions
payments
process-purchase.phpscripts.phpshortcodes.phptemplate-functions.phpuser-functions.phpusers
languages
readme.txtsrc
Admin
Downloads
Extensions
Card.phpDownloadURL.phpExtension.phpExtensionPage.phpExtension_Manager.phpExtensionsAPI.phpLegacy.phpMenu.phpProductData.php
Traits
Installers
Menu
Onboarding
PassHandler
Pass_Manager.phpPromos
Settings
Currency
Database
Downloads
EventManagement
Licensing
Lite
Models
Telemetry
Utils
templates
uninstall.phpvendor
@ -25,7 +25,7 @@ function edd_admin_header() {
|
||||
$current_page = ! empty( $_GET['page'] ) ? $_GET['page'] : '';
|
||||
$is_single_view = (bool) apply_filters( 'edd_admin_is_single_view', ! empty( $_GET['view'] ) );
|
||||
|
||||
$page_title = '';
|
||||
$page_title = __( 'Downloads', 'easy-digital-downloads' );
|
||||
switch( $current_page ) {
|
||||
case 'edd-settings':
|
||||
$page_title = __( 'Settings', 'easy-digital-downloads' );
|
||||
@ -45,18 +45,19 @@ function edd_admin_header() {
|
||||
case 'edd-tools':
|
||||
$page_title = __( 'Tools', 'easy-digital-downloads' );
|
||||
break;
|
||||
case 'edd-addons':
|
||||
$page_title = __( 'View Extensions', 'easy-digital-downloads' );
|
||||
if ( edd_is_pro() ) {
|
||||
$page_title = __( 'Manage Extensions', 'easy-digital-downloads' );
|
||||
}
|
||||
break;
|
||||
default:
|
||||
if ( ! empty( $_GET['page'] ) ) {
|
||||
$page_title = ucfirst( str_replace( array( 'edd-', 'fes-' ), '', $current_page ) );
|
||||
} else {
|
||||
if ( ! empty( $_GET['post_type'] ) ) {
|
||||
$post_type = get_post_type_object( $_GET['post_type'] );
|
||||
$page_title = $post_type->labels->name;
|
||||
} else {
|
||||
$page_title = __( 'Downloads', 'easy-digital-downloads' );
|
||||
}
|
||||
} elseif ( ! empty( $_GET['post_type'] ) ) {
|
||||
$post_type = get_post_type_object( $_GET['post_type'] );
|
||||
$page_title = $post_type->labels->name;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
@ -223,7 +224,11 @@ function edd_options_page_secondary_nav( $active_tab = '', $section = '', $secti
|
||||
|
||||
// Add to links array
|
||||
$links[ $section_id ] = '<li class="' . esc_attr( $class ) . '"><a class="' . esc_attr( $class ) . '" href="' . esc_url( $tab_url ) . '">' . esc_html( $section_name ) . '</a><li>';
|
||||
} ?>
|
||||
}
|
||||
if ( count( $links ) < 2 ) {
|
||||
return;
|
||||
}
|
||||
?>
|
||||
|
||||
<div class="wp-clearfix">
|
||||
<ul class="subsubsub edd-settings-sub-nav">
|
||||
|
Reference in New Issue
Block a user