Skip to content

Commit

Permalink
Merge pull request #220 from wordpress-parsi/5.1.1
Browse files Browse the repository at this point in the history
Fix: The posting time of posts in the block editor
Fix: Users can move or disable the "WP ParsiDate" widget
  • Loading branch information
hamidrezayazdani authored Nov 16, 2024
2 parents fb48c8f + 40f77c2 commit 2c883ce
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 22 deletions.
13 changes: 0 additions & 13 deletions assets/css/dashboard.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
/* Dashboard WordPress news */
#wpp_dashboard_primary .hndle.ui-sortable-handle {
cursor: no-drop;
pointer-events: none;
}

#wpp_dashboard_primary .handle-actions {
display: none;
}

#wpp_dashboard_primary .inside {
margin: 0;
padding: 0;
Expand Down Expand Up @@ -55,10 +46,6 @@
font-weight: 400;
}

label[for="wpp_dashboard_primary-hide"] {
display: none !important;
}

#wpp_sponsorship_placeholder {
padding: 10px;
background: #e1e1e1;
Expand Down
2 changes: 1 addition & 1 deletion assets/css/dashboard.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions assets/js/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -644,11 +644,9 @@ jQuery(function ($) {
const slidesContainer = document.getElementById('wpp_sponsorship');
const sponsorshipGuid = document.getElementById('sponsorship-guide');
const wppsPlaceholder = document.getElementById('wpp_sponsorship_placeholder');
const wppWidgetOption = document.querySelector('label[for="wpp_dashboard_primary-hide"]');
const wppsQuestion = document.querySelector('#sponsorship-guide .question');
const sponsorshipUl = document.querySelector('#sponsorship-guide ul');

wppWidgetOption.remove();

async function wppInitSponsors() {
try {
Expand Down
Loading

0 comments on commit 2c883ce

Please sign in to comment.