diff --git a/CHANGELOG.md b/CHANGELOG.md index 72f9b6d..1139963 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,42 @@ # Changelog All notable changes to this project will be documented in this file. +## 1.8.5 +Release Date: January 5, 2023 + +* Fixed: PHP Error if the the global post object is undefined. +* Fixed: WooCommerce product modified date updated even if the option is disabled. +* Fixed: Update Locked posts was showing all posts in post list page. +* Fixed: Lock Modified Date option was not working properly. +* Fixed: Bulk Editing was not working. +* Tweak: Allow Toogle Disable Update Option for all post types and posts with future date. +* Imporved: Optimize codebase. +* Tested with WordPress v6.1. + +## 1.8.4 +Release Date: July 29, 2022 + +* Added: User Column Sorting. +* Fixed: Quick Edit HTML issue. +* Fixed: Default Post Type ordering was not working. +* Fixed: JS issue if Syntax Highlighting is disabled from User Profile. +* Fixed: PHP Warning: Undefined property. + +## 1.8.3 +Release Date: May 30, 2022 + +* Fixed: Bulk Editing is not working. +* Fixed: Dashbaord Widget Posts List Order was wrong on some cases. + +## 1.8.2 +Release Date: May 24, 2022 + +* Fixed: Block Editor JS Errors on some cases. +* Fixed: Dashboard Widget showing wrong timestamp. +* Fixed: Widget Editor is not loading some cases if this plugin is active. +* Fixed: Block Rendering issue if custom colors are specified in theme.json. +* Added: Nonce checking on Dashbaord Widget. + ## 1.8.1 Release Date: May 22, 2022 diff --git a/assets/css/admin.min.css b/assets/css/admin.min.css index d1d0a87..22c6f94 100644 --- a/assets/css/admin.min.css +++ b/assets/css/admin.min.css @@ -1 +1 @@ -#wpcontent .wplmi-admin-toolbar{margin-left:-20px;padding-left:20px}.wplmi-admin-toolbar{background:#fff;border-bottom:1px solid #ccd0d4;padding-top:10px;position:-webkit-sticky;position:sticky;z-index:99;top:32px}.wplmi-admin-toolbar h2{font-size:20px;display:inline-block;padding:5px 0;margin:0;letter-spacing:-0.02rem;text-transform:uppercase}.wplmi-admin-toolbar .title-count{top:-2px;font-size:11px;margin-left:12px;letter-spacing:0;text-transform:uppercase;padding:6px 12px !important;border-radius:5px;background-color:#615be7}.wplmi-admin-toolbar .title-count.premium{background:#2ca562}.wplmi-admin-toolbar .wplmi-tab{display:inline-block;font-size:.75rem;color:#707070;text-transform:uppercase;line-height:2.5714285714;padding:5px;margin:0 5px;text-decoration:none;border-bottom:#fff solid 3px;font-weight:500}.wplmi-admin-toolbar .wplmi-tab.is-active{border-bottom:#005ae0 solid 3px;padding-bottom:10px;color:#000}.wplmi-admin-toolbar .wplmi-tab:hover{color:#005ae0}.wplmi-admin-toolbar .wplmi-tab:focus{box-shadow:none}.wplmi-admin-toolbar .wplmi-upgrade .dashicons{vertical-align:middle;margin-top:-2px;margin-right:1px;font-size:18px}.wplmi-admin-toolbar .btn-upgrade{display:inline-flex;background:#dee3ff;border:1px solid #c6d3f8;box-sizing:border-box;border-radius:.25rem;padding:0 .7rem;vertical-align:middle;margin-top:-6px;margin-left:10px;text-decoration:none}.wplmi-admin-toolbar a.btn-upgrade{cursor:pointer}.wplmi-admin-toolbar .btn-upgrade .dashicons{margin-top:7px;color:#425fdd}.wplmi-admin-toolbar .btn-upgrade p{font-family:system-ui;font-weight:600;letter-spacing:.2;line-height:1;font-size:.695rem;text-transform:uppercase;color:#425fdd;margin-left:.4rem}.wplmi-form-control:not(.selectize-control):not(.selectize-dropdown):not(.wplmi-editor){width:40%;padding:6px 12px !important;border-color:#ccc}.wplmi-form-control:focus,.wplmi-form-control:hover{border-color:#ccc !important}.selectize-control{width:95% !important}input.wplmi-form-control:-moz-read-only{cursor:pointer}input.wplmi-form-control:read-only{cursor:pointer}textarea.wplmi-form-control:not(.selectize-control):not(.selectize-dropdown){width:95% !important}.wplmi-form-control.expand:not(.selectize-control){width:60% !important}.selectize-input{padding:8px 12px 5px !important}.selectize-input:not(.has-items){padding:13px 15px !important}select.wplmi-form-control{background-position:right 13px top 55% !important}.selectize-control.multi .selectize-input>div{padding:5px 25px 5px 12px !important}div.description{font-size:.79rem !important;margin:7px 0 0 !important;font-style:italic;color:dimgray;line-height:1.5}div.description div{margin-top:10px}div.description div.red{color:#bd4444}.dynamic-tags .dynamic-tags-label{margin:6px 0}code{line-height:1}code.click-to-copy{line-height:3.1;cursor:pointer;background:#f7f8fb;border:2px solid #e3eaf3;border-radius:2px;padding:8px 12px;font-style:normal;color:#828f9a;font-weight:600;text-transform:uppercase;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}h1.title .title-count{font-size:10px;padding:2px 8px;opacity:.7}.top-sharebar{position:absolute;right:20px;top:15px}.top-sharebar>*{vertical-align:middle;margin-left:10px;float:right}.share-text{font-size:10px;text-align:right;line-height:1.5;margin-right:5px;color:#838383}.share-btn{background:#333;color:#fff;text-decoration:none;padding:2px 10px 2px 8px;border-radius:5px;font-size:12px;line-height:2em}.share-btn:hover{opacity:.5;color:#fff}.share-btn:active,.share-btn:focus{color:#fff}.share-btn .dashicons{font-size:14px;margin:5px 2px 0 0;height:14px}.share-btn.twitter{background-color:#2196f3}.share-btn.donate{background-color:#009794}.share-btn.facebook{background-color:#3b5998}.share-btn.rate-btn .dashicons{color:#ff9800}@media(min-width: 320px)and (max-width: 640px){.coffee-box,.top-sharebar{display:none}}input,select,textarea{border-radius:3px}input,select{vertical-align:middle}#wplmi-settings-form .inside{margin:8px 8px 0 8px}#wplmi-settings-form .postbox p:not(.desc):not(.wplmi-metabox-description):not(#wplmi-post-age-help){margin:0;padding:20px;background-color:#f8f9fa;border-top:1px solid #ccd0d4}#wplmi-settings-form tr.d-none{display:none}#wplmi-settings-form th{width:25%}#wplmi-settings-form td:not(.social-td){width:75%}#wplmi-settings-form tbody tr{padding:5px 0;border-top:1px solid #dadfe4}#wplmi-settings-form tr:first-child{border-top:0}#wplmi-settings-form th,#wplmi-settings-form td{padding:25px 0}#wplmi-settings-form th{padding-right:20px}.wplmi-clear{margin:8px 0px !important}.wplmi-clear-area{margin:5px 0px !important}.postbox{margin-bottom:25px}.postbox h3.hndle{padding:10px 16px !important;border-bottom:1px solid #ccd0d4}.help-faq{margin:1.5em .8rem 1rem 1.6rem}.help-faq li{font-weight:600;font-style:italic;font-size:14px}.help-faq li p{text-align:justify;font-weight:400;font-style:normal}.my-plugins{margin:1.5em .8rem 1rem 1rem}.my-plugins h2{padding:0 15px 0 0 !important;font-weight:600 !important}.my-plugins li{font-size:13px}.my-plugins li a{font-weight:600}hr{margin:0 !important}.wp-core-ui .wplmi-wrap .postbox .button:not(.default):not(.button-small){font-size:14px;line-height:38px;height:auto;min-height:30px;padding:0 20px;transition:.25s all linear;border-radius:3px;background:#f8f9fa;box-shadow:none;color:#fff;border-color:#005ae0;background:#005ae0}.button.wplmi-add-social-account{float:right}.wplmi-wrap{margin-top:25px}.wplmi-wrap #poststuff{padding-top:0}.wplmi-wrap div[class*=notice]:not(.notice-alt){width:996px;padding-right:12px !important}.wplmi-wrap div[class*=notice]:not(.notice-alt):not(.fs-notice-body):not(.components-notice__content){margin-bottom:25px}#wplmi-settings-form,.metabox-holder{width:1024px;max-width:100%}.wplmi-metabox-holder{text-align:center;border-bottom:1px solid #ccd0d4;background-color:#f8f9fa;padding:10px;border-radius:6px 6px 0 0}.wplmi-metabox-holder .wplmi-metabox-title{font-size:22px;margin-bottom:0}.wplmi-metabox-holder .wplmi-metabox-description{font-size:13px;font-style:normal;color:#7f868d}.postbox.d-none{display:none}.jconfirm-box{text-align:center}.jconfirm-buttons{text-align:center !important}.settings_page_wp-last-modified-info #wpfooter{padding:15px 20px;border-top:1px solid #b5bfc9;background:#fff}.wplmi-footer{font-style:italic}.wplmi-footer a{text-decoration:none}.wplmi-tools-box{border-bottom:1px solid #ccd0d4;margin-bottom:15px;padding:0 0 10px;color:#646970}.wplmi-tools-box:last-child{margin-bottom:0;padding-bottom:0;border:0}.wplmi-tools-box span{font-size:17px;font-weight:600;color:#242628}#wplmi-form-area{background-color:#fff;border-top:solid 1px #fff;border-bottom:solid 1px #ccc;border-left:solid 1px #ccc;border-right:solid 1px #ccc}#wplmi-form{margin-left:22px;margin-right:22px}td{width:75%}input,select{vertical-align:middle}.switch{position:relative;display:inline-block;width:50px;height:24px}.switch input{display:none}.slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ea6262;border-radius:34px;transition:.4s;border:2px solid #ea6262}.slider:before{position:absolute;content:"";height:14px;width:14px;left:4px;bottom:3px;background-color:#fff;border-radius:50%;transition:.1s}input:checked+.slider{background-color:#3cb371;border-color:#3cb371}input:focus+.slider{box-shadow:0 0 1px #3cb371}input:checked+.slider:before{transform:translateX(24px)}.toggle-on,.toggle-off{position:absolute;top:6px;left:10px;box-sizing:border-box}.toggle-on{display:none;outline:1px solid rgba(0,0,0,0);outline-offset:-1px;background:#fff;fill:#fff;border:1px solid #fff;border-radius:2px}.toggle-off{color:#fff;fill:currentColor;right:6px;left:auto}input:checked+.slider .toggle-on{display:block}input:checked+.slider .toggle-off{display:none}.selectize-control{display:inline-block;vertical-align:middle}.active{color:#444;margin-bottom:-1px;box-shadow:none;background:#fff none repeat scroll 0 0;border-bottom:1px solid #fff}.donate{background-color:#ffa000;color:#fff}.progressModal,.successModal{display:block;position:fixed;top:50%;left:50%;height:auto;padding-top:5px;padding-right:30px;padding-bottom:5px;padding-left:30px;border:1px solid #3cb371;background-color:#fff;z-index:1000;overflow:auto;transform:translate(-50%, -50%);border-radius:15px;-moz-border-radius:15px;-webkit-border-radius:15px;box-shadow:5px 5px 10px #cfcfcf;-moz-box-shadow:5px 5px 10px #cfcfcf;-webkit-box-shadow:5px 5px 10px #cfcfcf}.selectize-control{display:inline-block;vertical-align:middle}.coffee-box{padding:15px 5px 15px 15px;border:1px solid #4caf50;padding-left:148px;background:url(../images/coffee.svg) no-repeat;border-radius:3px;background-position:30px center;margin:30px 0 15px 0;background-size:84px}.coffee-box .coffee-amt{width:120px;padding:5px;height:auto;font-size:1.5em}.coffee-amt-wrap{float:right;margin:0 30px}.coffee-heading{color:#23282d;font-size:1.3em;margin:1em 0;display:block;font-weight:600}h1.title .title-count{font-size:10px;padding:2px 8px;opacity:.7}.share-text{font-size:10px;text-align:right;line-height:1.5;margin-right:5px;color:#838383}.share-btn{background:#333;color:#fff;text-decoration:none;padding:2px 10px 2px 8px;border-radius:5px;font-size:12px;line-height:2em}.share-btn:hover{opacity:.5;color:#fff}.share-btn:active,.share-btn:focus{color:#fff}.share-btn .dashicons{font-size:14px;margin:5px 2px 0 0;height:14px}.share-btn.twitter{background-color:#2196f3}.share-btn.facebook{background-color:#3b5998}.share-btn.rate-btn .dashicons{color:#ff9800}@media(min-width: 320px)and (max-width: 480px){.coffee-box,.top-sharebar{display:none}}input,select,textarea{border-radius:3px}input,select,span.dashicon{vertical-align:middle}.wplmi_css_date_format,.wplmi_css_author_list,.wplmi_css_author_link,.wplmi_css_author_link_target{display:none}#wplmi-settings-form .CodeMirror{height:200px;width:95%}#wplmi-settings-form .CodeMirror.large{height:300px}#wplmi-settings-form .CodeMirror-scroll{border:1px solid #ddd;height:100%;height:calc(100% - 2px);padding-bottom:0;margin-right:0}#wplmi-settings-form .CodeMirror-scroll .CodeMirror-sizer{border-right-width:0 !important}#wplmi-settings-form .CodeMirror.disabled .CodeMirror-scroll{background-color:#eee}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:.1px;display:block;touch-action:none}.ui-resizable-s{cursor:s-resize;height:10px;width:100%;bottom:-5px;left:0}label.wplmi-invalid{font-size:12px;font-style:italic;color:red}.schema-text,.remove-info-text{font-size:12px;margin-top:6px;font-style:italic;line-height:1.45}small{line-height:2}small span.help-text{font-style:italic}code{font-style:normal}.help-container{padding-bottom:5px}div.help-container:last-child{padding-bottom:15px} \ No newline at end of file +#wpcontent .wplmi-admin-toolbar{margin-left:-20px;padding-left:20px}.wplmi-admin-toolbar{background:#fff;border-bottom:1px solid #ccd0d4;padding-top:10px;position:-webkit-sticky;position:sticky;z-index:99;top:32px}@media screen and (max-width: 782px){.wplmi-admin-toolbar{text-align:center}}.wplmi-admin-toolbar h2{font-size:20px;display:inline-block;padding:5px 0;margin:0;letter-spacing:-0.02rem;text-transform:uppercase}@media screen and (max-width: 782px){.wplmi-admin-toolbar h2{display:block}}.wplmi-admin-toolbar .title-count{top:-2px;font-size:11px;margin-left:12px;letter-spacing:0;text-transform:uppercase;padding:6px 12px !important;border-radius:5px;background-color:#615be7}.wplmi-admin-toolbar .title-count.premium{background:#2ca562}.wplmi-admin-toolbar .wplmi-tab{display:inline-block;font-size:.75rem;color:#707070;text-transform:uppercase;line-height:2.5714285714;padding:5px;margin:0 5px;text-decoration:none;border-bottom:#fff solid 3px;font-weight:500}.wplmi-admin-toolbar .wplmi-tab.is-active{border-bottom:#005ae0 solid 3px;padding-bottom:10px;color:#000}.wplmi-admin-toolbar .wplmi-tab:hover{color:#005ae0}.wplmi-admin-toolbar .wplmi-tab:focus{box-shadow:none}.wplmi-admin-toolbar .wplmi-upgrade .dashicons{vertical-align:middle;margin-top:-2px;margin-right:1px;font-size:18px}.wplmi-admin-toolbar .btn-upgrade{display:inline-flex;background:#dee3ff;border:1px solid #c6d3f8;box-sizing:border-box;border-radius:.25rem;padding:0 .7rem;vertical-align:middle;margin-top:-6px;margin-left:10px;text-decoration:none}.wplmi-admin-toolbar a.btn-upgrade{cursor:pointer}.wplmi-admin-toolbar .btn-upgrade .dashicons{margin-top:7px;color:#425fdd}.wplmi-admin-toolbar .btn-upgrade p{font-family:system-ui;font-weight:600;letter-spacing:.2;line-height:1;font-size:.695rem;text-transform:uppercase;color:#425fdd;margin-left:.4rem}.wplmi-form-control:not(.wplmi-editor){width:40%;padding:6px 12px !important;border-color:#ccc}@media screen and (max-width: 782px){.wplmi-form-control:not(.wplmi-editor){width:95% !important}}.wplmi-form-control:focus,.wplmi-form-control:hover{border-color:#ccc !important}.selectize-control{width:95% !important}input.wplmi-form-control:-moz-read-only{cursor:pointer}input.wplmi-form-control:read-only{cursor:pointer}textarea.wplmi-form-control:not(.selectize-control):not(.selectize-dropdown){width:95% !important}.wplmi-form-control.expand:not(.selectize-control){width:60% !important}.selectize-input{padding:8px 12px 5px !important}.selectize-input:not(.has-items){padding:13px 15px !important}select.wplmi-form-control{background-position:right 13px top 55% !important}.selectize-control.multi .selectize-input>div{padding:5px 25px 5px 12px !important}div.description{font-size:.79rem !important;margin:7px 0 0 !important;font-style:italic;color:dimgray;line-height:1.5}div.description div{margin-top:10px}div.description div.red{color:#bd4444}.dynamic-tags .dynamic-tags-label{margin:6px 0}code{line-height:1}code.click-to-copy{line-height:3.1;cursor:pointer;background:#f7f8fb;border:2px solid #e3eaf3;border-radius:2px;padding:8px 12px;font-style:normal;color:#828f9a;font-weight:600;text-transform:uppercase;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}h1.title .title-count{font-size:10px;padding:2px 8px;opacity:.7}.top-sharebar{position:absolute;right:20px;top:15px}@media screen and (max-width: 1300px){.top-sharebar{display:none}}.top-sharebar>*{vertical-align:middle;margin-left:10px;float:right}.share-text{font-size:10px;text-align:right;line-height:1.5;margin-right:5px;color:#838383}.share-btn{background:#333;color:#fff;text-decoration:none;padding:2px 10px 2px 8px;border-radius:5px;font-size:12px;line-height:2em}.share-btn:hover{opacity:.5;color:#fff}.share-btn:active,.share-btn:focus{color:#fff}.share-btn .dashicons{font-size:14px;margin:5px 2px 0 0;height:14px}.share-btn.twitter{background-color:#2196f3}.share-btn.donate{background-color:#009794}.share-btn.facebook{background-color:#3b5998}.share-btn.rate-btn .dashicons{color:#ff9800}@media(min-width: 320px)and (max-width: 640px){.coffee-box,.top-sharebar{display:none}}input,select,textarea{border-radius:3px}input,select{vertical-align:middle}#wplmi-settings-form .inside{margin:8px 8px 0 8px}#wplmi-settings-form .postbox p:not(.desc):not(.wplmi-metabox-description):not(#wplmi-post-age-help){margin:0;padding:20px;background-color:#f8f9fa;border-top:1px solid #ccd0d4}#wplmi-settings-form tr.d-none{display:none}#wplmi-settings-form th{width:25%}@media screen and (max-width: 782px){#wplmi-settings-form th{width:90%}}#wplmi-settings-form td{width:75%}@media screen and (max-width: 782px){#wplmi-settings-form td{display:table-cell}}#wplmi-settings-form tbody tr{padding:5px 0;border-top:1px solid #dadfe4}#wplmi-settings-form tr:first-child{border-top:0}#wplmi-settings-form th,#wplmi-settings-form td{padding:25px 0}#wplmi-settings-form th{padding-right:20px}.wplmi-clear{margin:8px 0px !important}.wplmi-clear-area{margin:5px 0px !important}.postbox{margin-bottom:25px}.postbox h3.hndle{padding:10px 16px !important;border-bottom:1px solid #ccd0d4}.help-faq{margin:1.5em .8rem 1rem 1.6rem}.help-faq li{font-weight:600;font-style:italic;font-size:14px}.help-faq li p{text-align:justify;font-weight:400;font-style:normal}.my-plugins{margin:1.5em .8rem 1rem 1rem}.my-plugins h2{padding:0 15px 0 0 !important;font-weight:600 !important}.my-plugins li{font-size:13px}.my-plugins li a{font-weight:600}hr{margin:0 !important}.wp-core-ui .wplmi-wrap .postbox .button:not(.default):not(.button-small){font-size:14px;line-height:38px;height:auto;min-height:30px;padding:0 20px;transition:.25s all linear;border-radius:3px;background:#f8f9fa;box-shadow:none;color:#fff;border-color:#005ae0;background:#005ae0}.button.wplmi-add-social-account{float:right}.wplmi-wrap{margin-top:25px;max-width:1200px}.wplmi-wrap #poststuff{padding-top:0}#wplmi-settings-form,.metabox-holder{max-width:100%}.wplmi-metabox-holder{text-align:center;border-bottom:1px solid #ccd0d4;background-color:#f8f9fa;padding:10px;border-radius:6px 6px 0 0}.wplmi-metabox-holder .wplmi-metabox-title{font-size:22px;margin-bottom:0}.wplmi-metabox-holder .wplmi-metabox-description{font-size:13px;font-style:normal;color:#7f868d}.postbox.d-none{display:none}.jconfirm-box{text-align:center}.jconfirm-buttons{text-align:center !important}.settings_page_wp-last-modified-info #wpfooter{padding:15px 20px;border-top:1px solid #b5bfc9;background:#fff}.wplmi-footer{font-style:italic}.wplmi-footer a{text-decoration:none}.wplmi-tools-box{border-bottom:1px solid #ccd0d4;margin-bottom:15px;padding:0 0 10px;color:#646970}.wplmi-tools-box:last-child{margin-bottom:0;padding-bottom:0;border:0}.wplmi-tools-box span{font-size:17px;font-weight:600;color:#242628}#wplmi-form-area{background-color:#fff;border-top:solid 1px #fff;border-bottom:solid 1px #ccc;border-left:solid 1px #ccc;border-right:solid 1px #ccc}#wplmi-form{margin-left:22px;margin-right:22px}td{width:75%}input,select{vertical-align:middle}.switch{position:relative;display:inline-block;width:50px;height:24px}.switch input{display:none}.slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ea6262;border-radius:34px;transition:.4s;border:2px solid #ea6262}.slider:before{position:absolute;content:"";height:14px;width:14px;left:4px;bottom:3px;background-color:#fff;border-radius:50%;transition:.1s}input:checked+.slider{background-color:#3cb371;border-color:#3cb371}input:focus+.slider{box-shadow:0 0 1px #3cb371}input:checked+.slider:before{transform:translateX(24px)}.toggle-on,.toggle-off{position:absolute;top:6px;left:10px;box-sizing:border-box}.toggle-on{display:none;outline:1px solid rgba(0,0,0,0);outline-offset:-1px;background:#fff;fill:#fff;border:1px solid #fff;border-radius:2px}.toggle-off{color:#fff;fill:currentColor;right:6px;left:auto}input:checked+.slider .toggle-on{display:block}input:checked+.slider .toggle-off{display:none}.selectize-control{display:inline-block;vertical-align:middle}.active{color:#444;margin-bottom:-1px;box-shadow:none;background:#fff none repeat scroll 0 0;border-bottom:1px solid #fff}.donate{background-color:#ffa000;color:#fff}.progressModal,.successModal{display:block;position:fixed;top:50%;left:50%;height:auto;padding-top:5px;padding-right:30px;padding-bottom:5px;padding-left:30px;border:1px solid #3cb371;background-color:#fff;z-index:1000;overflow:auto;transform:translate(-50%, -50%);border-radius:15px;-moz-border-radius:15px;-webkit-border-radius:15px;box-shadow:5px 5px 10px #cfcfcf;-moz-box-shadow:5px 5px 10px #cfcfcf;-webkit-box-shadow:5px 5px 10px #cfcfcf}.selectize-control{display:inline-block;vertical-align:middle}.coffee-box{padding:15px 5px 15px 15px;border:1px solid #4caf50;padding-left:148px;background:url(../images/coffee.svg) no-repeat;border-radius:3px;background-position:30px center;margin:30px 0 15px 0;background-size:84px}.coffee-box .coffee-amt{width:120px;padding:5px;height:auto;font-size:1.5em}.coffee-amt-wrap{float:right;margin:0 30px}.coffee-heading{color:#23282d;font-size:1.3em;margin:1em 0;display:block;font-weight:600}h1.title .title-count{font-size:10px;padding:2px 8px;opacity:.7}.share-text{font-size:10px;text-align:right;line-height:1.5;margin-right:5px;color:#838383}.share-btn{background:#333;color:#fff;text-decoration:none;padding:2px 10px 2px 8px;border-radius:5px;font-size:12px;line-height:2em}.share-btn:hover{opacity:.5;color:#fff}.share-btn:active,.share-btn:focus{color:#fff}.share-btn .dashicons{font-size:14px;margin:5px 2px 0 0;height:14px}.share-btn.twitter{background-color:#2196f3}.share-btn.facebook{background-color:#3b5998}.share-btn.rate-btn .dashicons{color:#ff9800}@media(min-width: 320px)and (max-width: 480px){.coffee-box,.top-sharebar{display:none}}input,select,textarea{border-radius:3px}input,select,span.dashicon{vertical-align:middle}.wplmi_css_date_format,.wplmi_css_author_list,.wplmi_css_author_link,.wplmi_css_author_link_target{display:none}#wplmi-settings-form .CodeMirror{height:200px;width:95%}#wplmi-settings-form .CodeMirror.large{height:300px}#wplmi-settings-form .CodeMirror-scroll{border:1px solid #ddd;height:100%;height:calc(100% - 2px);padding-bottom:0;margin-right:0}#wplmi-settings-form .CodeMirror-scroll .CodeMirror-sizer{border-right-width:0 !important}#wplmi-settings-form .CodeMirror.disabled .CodeMirror-scroll{background-color:#eee}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:.1px;display:block;touch-action:none}.ui-resizable-s{cursor:s-resize;height:10px;width:100%;bottom:-5px;left:0}label.wplmi-invalid{font-size:12px;font-style:italic;color:red}.schema-text,.remove-info-text{font-size:12px;margin-top:6px;font-style:italic;line-height:1.45}small{line-height:2}small span.help-text{font-style:italic}code{font-style:normal}.help-container{padding-bottom:5px}div.help-container:last-child{padding-bottom:15px} \ No newline at end of file diff --git a/assets/css/admin.sass b/assets/css/admin.sass index bf4e864..67a18fc 100644 --- a/assets/css/admin.sass +++ b/assets/css/admin.sass @@ -11,6 +11,9 @@ z-index: 99 top: 32px + @media screen and (max-width: 782px) + text-align: center + h2 font-size: 20px display: inline-block @@ -19,6 +22,9 @@ letter-spacing: -.02rem text-transform: uppercase + @media screen and (max-width: 782px) + display: block + .title-count top: -2px font-size: 11px @@ -92,11 +98,14 @@ margin-left: 0.4rem .wplmi-form-control - &:not(.selectize-control):not(.selectize-dropdown):not(.wplmi-editor) + &:not(.wplmi-editor) width: 40% padding: 6px 12px !important border-color: #ccc + @media screen and (max-width: 782px) + width: 95% !important + &:focus, &:hover border-color: #ccc !important @@ -173,6 +182,9 @@ h1.title .title-count top: 15px // padding-right: 20px + @media screen and (max-width: 1300px) + display: none + > * vertical-align: middle margin-left: 10px @@ -245,9 +257,15 @@ input, select th width: 25% - td:not(.social-td) + @media screen and (max-width: 782px) + width: 90% + + td width: 75% + @media screen and (max-width: 782px) + display: table-cell + tbody tr padding: 5px 0 border-top: 1px solid #dadfe4 @@ -332,20 +350,20 @@ hr .wplmi-wrap margin-top: 25px + max-width: 1200px #poststuff padding-top: 0 - div[class*="notice"]:not(.notice-alt) - //border-radius: 6px - width: 996px - padding-right: 12px !important + // div[class*="notice"]:not(.notice-alt) + // //border-radius: 6px + // width: 996px + // padding-right: 12px !important - &:not(.fs-notice-body):not(.components-notice__content) - margin-bottom: 25px + // &:not(.fs-notice-body):not(.components-notice__content) + // margin-bottom: 25px #wplmi-settings-form, .metabox-holder - width: 1024px max-width: 100% .wplmi-metabox-holder diff --git a/languages/wp-last-modified-info.pot b/languages/wp-last-modified-info.pot index 0f973f9..73a76b3 100644 --- a/languages/wp-last-modified-info.pot +++ b/languages/wp-last-modified-info.pot @@ -1,21 +1,21 @@ -# Copyright (C) 2022 Sayan Datta +# Copyright (C) 2023 Sayan Datta # This file is distributed under the GPLv3. msgid "" msgstr "" -"Project-Id-Version: WP Last Modified Info 1.8.3\n" +"Project-Id-Version: WP Last Modified Info 1.8.5\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-last-modified-info\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2022-05-30T13:57:38+00:00\n" +"POT-Creation-Date: 2023-01-05T15:15:42+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.5.0\n" "X-Domain: wp-last-modified-info\n" #. Plugin Name of the plugin -#: inc/Core/Elementor/Loader.php:45 +#: inc/Core/Elementor/Loader.php:46 #: inc/Pages/Dashboard.php:80 #: inc/Pages/Dashboard.php:81 msgid "WP Last Modified Info" @@ -251,7 +251,7 @@ msgid "Enable this if you do not want to show last updated info on plugins page. msgstr "" #: inc/Api/Callbacks/ManagerCallbacks.php:416 -msgid "Select the post sorting order in Admin Edit page in Backend." +msgid "Select the post sorting order on Admin Edit page in Backend." msgstr "" #: inc/Api/Callbacks/ManagerCallbacks.php:418 @@ -270,7 +270,7 @@ msgid "Modified Post Last" msgstr "" #: inc/Api/Callbacks/ManagerCallbacks.php:431 -msgid "Select the post sorting order in Admin Edit page in Frontend." +msgid "Select the post sorting order on Frontend." msgstr "" #: inc/Api/Callbacks/ManagerCallbacks.php:446 @@ -278,7 +278,7 @@ msgid "You can convert original post date to modified date or remove published d msgstr "" #: inc/Api/Callbacks/ManagerCallbacks.php:448 -msgid "Do Nothing" +msgid "Disable" msgstr "" #: inc/Api/Callbacks/ManagerCallbacks.php:449 @@ -386,7 +386,7 @@ msgid "Confirm" msgstr "" #: inc/Base/Enqueue.php:72 -#: inc/Core/Backend/EditScreen.php:127 +#: inc/Core/Backend/EditScreen.php:126 msgid "Cancel" msgstr "" @@ -430,22 +430,22 @@ msgstr "" msgid "Settings import failed: Please upload a file to import." msgstr "" -#: inc/Base/PluginTools.php:220 +#: inc/Base/PluginTools.php:210 msgid "Success! Plugin Settings has been imported successfully." msgstr "" #. translators: %1$s: Post Type Label, %2$s: Post Modified Date, %3$s: Post Modified Time, %4$s: POst Modified Author -#: inc/Core/AdminBar.php:63 +#: inc/Core/AdminBar.php:67 msgid "This %1$s was last updated on %2$s at %3$s by %4$s" msgstr "" #. translators: %s: date time info -#: inc/Core/AdminBar.php:82 +#: inc/Core/AdminBar.php:86 msgid "Updated on %1$s at %2$s" msgstr "" #. translators: %s: time diff -#: inc/Core/AdminBar.php:86 +#: inc/Core/AdminBar.php:90 msgid "Updated %s ago" msgstr "" @@ -462,7 +462,7 @@ msgid "Last Modified" msgstr "" #: inc/Core/Backend/DashboardWidget.php:42 -#: inc/Core/Backend/UserColumn.php:80 +#: inc/Core/Backend/UserColumn.php:82 msgid "Last Updated" msgstr "" @@ -474,92 +474,92 @@ msgstr "" msgid "Number of Posts to Display" msgstr "" -#: inc/Core/Backend/EditScreen.php:67 -#: inc/Core/Backend/EditScreen.php:69 +#: inc/Core/Backend/EditScreen.php:66 +#: inc/Core/Backend/EditScreen.php:68 msgid "Updated on:" msgstr "" -#: inc/Core/Backend/EditScreen.php:68 +#: inc/Core/Backend/EditScreen.php:67 msgid "Edit" msgstr "" -#: inc/Core/Backend/EditScreen.php:68 +#: inc/Core/Backend/EditScreen.php:67 msgid "Edit modified date and time" msgstr "" -#: inc/Core/Backend/EditScreen.php:69 -#: inc/Core/Backend/EditScreen.php:90 -#: inc/Core/Backend/EditScreen.php:170 -#: inc/Core/Backend/EditScreen.php:225 +#: inc/Core/Backend/EditScreen.php:68 +#: inc/Core/Backend/EditScreen.php:89 +#: inc/Core/Backend/EditScreen.php:169 +#: inc/Core/Backend/EditScreen.php:224 msgid "at" msgstr "" -#: inc/Core/Backend/EditScreen.php:70 +#: inc/Core/Backend/EditScreen.php:69 msgid "Last modified date and time" msgstr "" -#: inc/Core/Backend/EditScreen.php:73 -#: inc/Core/Backend/EditScreen.php:153 -#: inc/Core/Backend/EditScreen.php:207 +#: inc/Core/Backend/EditScreen.php:72 +#: inc/Core/Backend/EditScreen.php:152 +#: inc/Core/Backend/EditScreen.php:206 msgid "Month" msgstr "" -#: inc/Core/Backend/EditScreen.php:85 -#: inc/Core/Backend/EditScreen.php:165 +#: inc/Core/Backend/EditScreen.php:84 +#: inc/Core/Backend/EditScreen.php:164 +#: inc/Core/Backend/EditScreen.php:219 #: inc/Core/Backend/EditScreen.php:220 -#: inc/Core/Backend/EditScreen.php:221 msgid "Day" msgstr "" -#: inc/Core/Backend/EditScreen.php:88 -#: inc/Core/Backend/EditScreen.php:168 +#: inc/Core/Backend/EditScreen.php:87 +#: inc/Core/Backend/EditScreen.php:167 +#: inc/Core/Backend/EditScreen.php:222 #: inc/Core/Backend/EditScreen.php:223 -#: inc/Core/Backend/EditScreen.php:224 msgid "Year" msgstr "" -#: inc/Core/Backend/EditScreen.php:91 -#: inc/Core/Backend/EditScreen.php:171 +#: inc/Core/Backend/EditScreen.php:90 +#: inc/Core/Backend/EditScreen.php:170 +#: inc/Core/Backend/EditScreen.php:225 #: inc/Core/Backend/EditScreen.php:226 -#: inc/Core/Backend/EditScreen.php:227 msgid "Hour" msgstr "" -#: inc/Core/Backend/EditScreen.php:93 +#: inc/Core/Backend/EditScreen.php:92 msgid ":" msgstr "" -#: inc/Core/Backend/EditScreen.php:94 -#: inc/Core/Backend/EditScreen.php:174 -#: inc/Core/Backend/EditScreen.php:229 +#: inc/Core/Backend/EditScreen.php:93 +#: inc/Core/Backend/EditScreen.php:173 +#: inc/Core/Backend/EditScreen.php:228 msgid "Minute" msgstr "" -#: inc/Core/Backend/EditScreen.php:129 -#: inc/Core/Backend/EditScreen.php:178 -#: inc/Core/Backend/EditScreen.php:235 +#: inc/Core/Backend/EditScreen.php:128 +#: inc/Core/Backend/EditScreen.php:177 +#: inc/Core/Backend/EditScreen.php:234 msgid "Lock Modified Date" msgstr "" -#: inc/Core/Backend/EditScreen.php:150 -#: inc/Core/Backend/EditScreen.php:204 +#: inc/Core/Backend/EditScreen.php:149 +#: inc/Core/Backend/EditScreen.php:203 msgid "Modified" msgstr "" -#: inc/Core/Backend/EditScreen.php:209 -#: inc/Core/Backend/EditScreen.php:234 +#: inc/Core/Backend/EditScreen.php:208 +#: inc/Core/Backend/EditScreen.php:233 msgid "No Change" msgstr "" -#: inc/Core/Backend/EditScreen.php:230 +#: inc/Core/Backend/EditScreen.php:229 msgid "Min" msgstr "" -#: inc/Core/Backend/EditScreen.php:232 +#: inc/Core/Backend/EditScreen.php:231 msgid "Update Status" msgstr "" -#: inc/Core/Backend/EditScreen.php:236 +#: inc/Core/Backend/EditScreen.php:235 msgid "Un-Lock Modified Date" msgstr "" @@ -584,39 +584,39 @@ msgid "updated on" msgstr "" #. translators: %s: updated time -#: inc/Core/Backend/PluginsData.php:184 -#: inc/Core/Backend/PluginsData.php:187 +#: inc/Core/Backend/PluginsData.php:188 +#: inc/Core/Backend/PluginsData.php:191 msgid "Updated: %s" msgstr "" #. translators: %s: rating -#: inc/Core/Backend/PluginsData.php:193 +#: inc/Core/Backend/PluginsData.php:197 msgid "Ratings: %s" msgstr "" #. translators: %s: no. of reviews -#: inc/Core/Backend/PluginsData.php:198 +#: inc/Core/Backend/PluginsData.php:202 msgid "Reviews: %s" msgstr "" #. translators: %s: vertion number -#: inc/Core/Backend/PluginsData.php:203 +#: inc/Core/Backend/PluginsData.php:207 msgid "Requires at least: v%s" msgstr "" #. translators: %s: tested upto version -#: inc/Core/Backend/PluginsData.php:209 -#: inc/Core/Backend/PluginsData.php:212 +#: inc/Core/Backend/PluginsData.php:213 +#: inc/Core/Backend/PluginsData.php:216 msgid "Tested upto: %s" msgstr "" #. translators: %s: plugin info -#: inc/Core/Backend/PluginsData.php:219 +#: inc/Core/Backend/PluginsData.php:223 msgid "Status:" msgstr "" #. translators: %s: plugin info -#: inc/Core/Backend/PluginsData.php:219 +#: inc/Core/Backend/PluginsData.php:223 msgid "Available" msgstr "" @@ -624,7 +624,7 @@ msgstr "" msgid "Update Locked" msgstr "" -#: inc/Core/Backend/UserColumn.php:63 +#: inc/Core/Backend/UserColumn.php:65 msgid "Never" msgstr "" @@ -962,7 +962,7 @@ msgid "Help" msgstr "" #: templates/admin.php:24 -msgid "Please rate 5 stars if you like RevivePress" +msgid "Please rate 5 stars if you like WP Last Modified Info" msgstr "" #: templates/admin.php:24 @@ -1181,23 +1181,23 @@ msgid "Automatically republish you old evergreen content to grab better SEO and msgstr "" #: templates/admin.php:180 -msgid "Add any page extension like .html, .php, .aspx, .htm, .asp, .shtml only to WordPress pages very easily." +msgid "It alters the way that WordPress core runs cron events using the Action Scheduler Library." msgstr "" #: templates/admin.php:181 -msgid "Simple Posts Ticker is a small tool that shows your most recent posts in a marquee style." +msgid "Ultimate Facebook Comment Solution with instant email notification for any WordPress Website." msgstr "" #: templates/admin.php:182 -msgid "This is the Razorpay, a Indian Payment Gateway plugin for WooCommerce based on Razorpay Payment Links." +msgid "Add any page extension like .html, .php, .aspx, .htm, .asp, .shtml only to WordPress pages very easily." msgstr "" #: templates/admin.php:183 -msgid "Ultimate Facebook Comment Solution with instant email notification for any WordPress Website." +msgid "Simple Posts Ticker is a small tool that shows your most recent posts in a marquee style." msgstr "" #: templates/admin.php:184 -msgid "It alters the way that WordPress core runs cron events using the Action Scheduler Library." +msgid "This is the Razorpay, a Indian Payment Gateway plugin for WooCommerce based on Razorpay Payment Links." msgstr "" #: templates/admin.php:204 diff --git a/readme.txt b/readme.txt index 52c10cf..dfe6d76 100644 --- a/readme.txt +++ b/readme.txt @@ -2,8 +2,8 @@ Contributors: infosatech Tags: last modified, timestamp, modified time, post modified, sort by modified, time, date Requires at least: 4.7 -Tested up to: 6.0 -Stable tag: 1.8.4 +Tested up to: 6.1 +Stable tag: 1.8.5 Requires PHP: 5.6 Donate link: https://www.paypal.me/iamsayan/ License: GPLv3 @@ -165,7 +165,7 @@ Post detailed information about the issue in the [support forum](https://wordpre If you like WP Last Modified Info, please take a moment to [give a 5-star rating](https://wordpress.org/support/plugin/wp-last-modified-info/reviews/?rate=5#new-post). It helps to keep development and support going strong. Thank you! = 1.8.5 = -Release Date: +Release Date: January 5, 2023 * Fixed: PHP Error if the the global post object is undefined. * Fixed: WooCommerce product modified date updated even if the option is disabled. @@ -174,6 +174,7 @@ Release Date: * Fixed: Bulk Editing was not working. * Tweak: Allow Toogle Disable Update Option for all post types and posts with future date. * Imporved: Optimize codebase. +* Imporved: Dashboard styling. * Tested with WordPress v6.1. = 1.8.4 = diff --git a/templates/admin.php b/templates/admin.php index a9c08b6..a9d5a2c 100644 --- a/templates/admin.php +++ b/templates/admin.php @@ -21,7 +21,7 @@ @@ -176,7 +176,7 @@