Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update/themes url to wpadmin #41376

Draft
wants to merge 4 commits into
base: trunk
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: minor
Type: changed

Update Themes page URL to go to WPAdmin view
Original file line number Diff line number Diff line change
Expand Up @@ -294,10 +294,7 @@
$default_customize_background_slug_1 => add_query_arg( array( 'autofocus' => array( 'section' => 'colors_manager_tool' ) ), $customize_url ),
$default_customize_background_slug_2 => add_query_arg( array( 'autofocus' => array( 'section' => 'colors_manager_tool' ) ), $customize_url ),
);

Check failure on line 297 in projects/packages/masterbar/src/admin-menu/class-admin-menu.php

View workflow job for this annotation

GitHub Actions / PHP Code Sniffer (non-excluded files only)

Multiple empty lines should not exist in a row; found 2 consecutive empty lines (MediaWiki.WhiteSpace.MultipleEmptyLines.MultipleEmptyLines)
if ( self::DEFAULT_VIEW === $this->get_preferred_view( 'themes.php' ) ) {
$submenus_to_update['themes.php'] = 'https://wordpress.com/themes/' . $this->domain;
}

$this->update_submenus( 'themes.php', $submenus_to_update );

Expand Down Expand Up @@ -499,15 +496,15 @@
<div class="upsell_banner">
<div class="banner__info">
<div class="banner__title">
<?php echo wp_kses( $nudge['content'], array() ); ?>
<?php echo wp_kses( $nudge['content'], array() ); ?>
</div>
</div>
<div class="banner__action">
<button type="button" class="button">
<?php echo wp_kses( $nudge['cta'], array() ); ?>
<?php echo wp_kses( $nudge['cta'], array() ); ?>
</button>
</div>
<?php if ( $nudge['dismissible'] ) : ?>
<?php if ( $nudge['dismissible'] ) : ?>
<svg xmlns="http://www.w3.org/2000/svg" data-feature_class="<?php echo esc_attr( $nudge['feature_class'] ); ?>" data-feature_id="<?php echo esc_attr( $nudge['id'] ); ?>" viewBox="0 0 24 24" class="gridicon gridicons-cross dismissible-card__close-icon" height="24" width="24"><g><path d="M18.36 19.78L12 13.41l-6.36 6.37-1.42-1.42L10.59 12 4.22 5.64l1.42-1.42L12 10.59l6.36-6.36 1.41 1.41L13.41 12l6.36 6.36z"></path></g></svg>
<?php endif; ?>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: minor
Type: enhancement

Changed Themes URL to be WPAdmin
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: minor
Type: changed

Updates Themes URL to point to WPAdmin
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: minor
Type: changed

Updates Themes URL to point to WPAdmin
Loading