Add PSR HTTP Message Interfaces and Dependencies

- Implemented StreamInterface, UploadedFileInterface, and UriInterface as per PSR standards.
- Added getallheaders function to retrieve HTTP headers in a compatible manner.
- Included LICENSE files for ralouphie/getallheaders and symfony/deprecation-contracts.
- Introduced function for triggering deprecation notices in Symfony.
This commit is contained in:
2025-12-28 12:44:00 +01:00
parent cf600ae727
commit cd264483f8
410 changed files with 60841 additions and 16 deletions

View File

@@ -0,0 +1,22 @@
jQuery(document).ready(function($){
$('.cpt-dashboard-tab').click(function(){
var tab = $(this).data('tab');
$('.cpt-dashboard-table').hide();
$('#cpt-'+tab+'-table').show();
$('.cpt-dashboard-tab').removeClass('cpt-active');
$(this).addClass('cpt-active');
$('.cpt-dashboard-tables').find('table').hide();
$('#cpt-'+tab+'-table').show();
});
$('.atfpp-review-notice-dismiss button').click(function(){
var prefix = $(this).closest('.atfpp-review-notice-dismiss').data('prefix');
var nonce = $(this).closest('.atfpp-review-notice-dismiss').data('nonce');
$.post(ajaxurl, {action: 'atfpp_hide_review_notice', prefix: prefix, nonce: nonce}, (response)=>{
$(this).closest('.cpt-review-notice').slideUp();
});
});
});