Changeset 3318512
- Timestamp:
- 06/26/2025 09:22:03 PM (9 months ago)
- Location:
- wp-vgwort
- Files:
-
- 1 deleted
- 34 edited
- 42 copied
-
tags/3.26.1 (copied) (copied from wp-vgwort/trunk)
-
tags/3.26.1/.php-cs-fixer.cache (deleted)
-
tags/3.26.1/css/admin.css (copied) (copied from wp-vgwort/trunk/css/admin.css)
-
tags/3.26.1/includes/admin-views-manager.php (copied) (copied from wp-vgwort/trunk/includes/admin-views-manager.php) (1 diff)
-
tags/3.26.1/includes/cache.php (copied) (copied from wp-vgwort/trunk/includes/cache.php) (1 diff)
-
tags/3.26.1/includes/database-data-retriever.php (copied) (copied from wp-vgwort/trunk/includes/database-data-retriever.php) (1 diff)
-
tags/3.26.1/includes/helper.php (copied) (copied from wp-vgwort/trunk/includes/helper.php) (1 diff)
-
tags/3.26.1/includes/long-task.php (copied) (copied from wp-vgwort/trunk/includes/long-task.php) (1 diff)
-
tags/3.26.1/includes/markers-manager.php (copied) (copied from wp-vgwort/trunk/includes/markers-manager.php) (1 diff)
-
tags/3.26.1/includes/mysql-limit-select.php (copied) (copied from wp-vgwort/trunk/includes/mysql-limit-select.php) (1 diff)
-
tags/3.26.1/includes/options-base.php (copied) (copied from wp-vgwort/trunk/includes/options-base.php) (1 diff)
-
tags/3.26.1/includes/options.php (copied) (copied from wp-vgwort/trunk/includes/options.php) (1 diff)
-
tags/3.26.1/includes/posts-extras.php (copied) (copied from wp-vgwort/trunk/includes/posts-extras.php) (1 diff)
-
tags/3.26.1/includes/shortcodes.php (copied) (copied from wp-vgwort/trunk/includes/shortcodes.php) (1 diff)
-
tags/3.26.1/includes/uncached-wp-query.php (copied) (copied from wp-vgwort/trunk/includes/uncached-wp-query.php) (1 diff)
-
tags/3.26.1/includes/user-options.php (copied) (copied from wp-vgwort/trunk/includes/user-options.php) (1 diff)
-
tags/3.26.1/includes/users-extras.php (copied) (copied from wp-vgwort/trunk/includes/users-extras.php) (1 diff)
-
tags/3.26.1/js/views/admin/configuration-admin-view.js (copied) (copied from wp-vgwort/trunk/js/views/admin/configuration-admin-view.js)
-
tags/3.26.1/js/views/admin/markers-admin-view.js (copied) (copied from wp-vgwort/trunk/js/views/admin/markers-admin-view.js)
-
tags/3.26.1/js/views/admin/operations-admin-view.js (copied) (copied from wp-vgwort/trunk/js/views/admin/operations-admin-view.js)
-
tags/3.26.1/js/views/post-view.js (copied) (copied from wp-vgwort/trunk/js/views/post-view.js)
-
tags/3.26.1/js/views/user-table-view.js (copied) (copied from wp-vgwort/trunk/js/views/user-table-view.js)
-
tags/3.26.1/js/views/user-view.js (copied) (copied from wp-vgwort/trunk/js/views/user-view.js)
-
tags/3.26.1/main.php (copied) (copied from wp-vgwort/trunk/main.php) (3 diffs)
-
tags/3.26.1/plugin-extensions/advanced-custom-fields-plugin-extension.php (copied) (copied from wp-vgwort/trunk/plugin-extensions/advanced-custom-fields-plugin-extension.php) (1 diff)
-
tags/3.26.1/plugin-extensions/plugin-extension.php (copied) (copied from wp-vgwort/trunk/plugin-extensions/plugin-extension.php) (1 diff)
-
tags/3.26.1/readme.txt (copied) (copied from wp-vgwort/trunk/readme.txt) (3 diffs)
-
tags/3.26.1/rest-api/rest-api.php (copied) (copied from wp-vgwort/trunk/rest-api/rest-api.php) (1 diff)
-
tags/3.26.1/views/admin/about-admin-view.php (copied) (copied from wp-vgwort/trunk/views/admin/about-admin-view.php) (1 diff)
-
tags/3.26.1/views/admin/admin-view-base.php (copied) (copied from wp-vgwort/trunk/views/admin/admin-view-base.php) (1 diff)
-
tags/3.26.1/views/admin/configuration-admin-view.php (copied) (copied from wp-vgwort/trunk/views/admin/configuration-admin-view.php) (1 diff)
-
tags/3.26.1/views/admin/data-privacy-admin-view.php (copied) (copied from wp-vgwort/trunk/views/admin/data-privacy-admin-view.php) (1 diff)
-
tags/3.26.1/views/admin/import-admin-view.php (copied) (copied from wp-vgwort/trunk/views/admin/import-admin-view.php) (1 diff)
-
tags/3.26.1/views/admin/markers-admin-view.php (copied) (copied from wp-vgwort/trunk/views/admin/markers-admin-view.php) (1 diff)
-
tags/3.26.1/views/admin/operations-admin-view.php (copied) (copied from wp-vgwort/trunk/views/admin/operations-admin-view.php) (1 diff)
-
tags/3.26.1/views/admin/support-admin-view.php (copied) (copied from wp-vgwort/trunk/views/admin/support-admin-view.php) (1 diff)
-
tags/3.26.1/views/markers-table.php (copied) (copied from wp-vgwort/trunk/views/markers-table.php) (1 diff)
-
tags/3.26.1/views/post-table-view.php (copied) (copied from wp-vgwort/trunk/views/post-table-view.php) (1 diff)
-
tags/3.26.1/views/post-view.php (copied) (copied from wp-vgwort/trunk/views/post-view.php) (1 diff)
-
tags/3.26.1/views/user-table-view.php (copied) (copied from wp-vgwort/trunk/views/user-table-view.php) (2 diffs)
-
tags/3.26.1/views/user-view.php (copied) (copied from wp-vgwort/trunk/views/user-view.php) (1 diff)
-
tags/3.26.1/views/view-base.php (copied) (copied from wp-vgwort/trunk/views/view-base.php) (1 diff)
-
tags/3.26.1/wp-vgwort.php (copied) (copied from wp-vgwort/trunk/wp-vgwort.php) (3 diffs)
-
trunk/includes/admin-views-manager.php (modified) (1 diff)
-
trunk/includes/cache.php (modified) (1 diff)
-
trunk/includes/database-data-retriever.php (modified) (1 diff)
-
trunk/includes/helper.php (modified) (1 diff)
-
trunk/includes/long-task.php (modified) (1 diff)
-
trunk/includes/markers-manager.php (modified) (1 diff)
-
trunk/includes/mysql-limit-select.php (modified) (1 diff)
-
trunk/includes/options-base.php (modified) (1 diff)
-
trunk/includes/options.php (modified) (1 diff)
-
trunk/includes/posts-extras.php (modified) (1 diff)
-
trunk/includes/shortcodes.php (modified) (1 diff)
-
trunk/includes/uncached-wp-query.php (modified) (1 diff)
-
trunk/includes/user-options.php (modified) (1 diff)
-
trunk/includes/users-extras.php (modified) (1 diff)
-
trunk/main.php (modified) (3 diffs)
-
trunk/plugin-extensions/advanced-custom-fields-plugin-extension.php (modified) (1 diff)
-
trunk/plugin-extensions/plugin-extension.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/rest-api/rest-api.php (modified) (1 diff)
-
trunk/views/admin/about-admin-view.php (modified) (1 diff)
-
trunk/views/admin/admin-view-base.php (modified) (1 diff)
-
trunk/views/admin/configuration-admin-view.php (modified) (1 diff)
-
trunk/views/admin/data-privacy-admin-view.php (modified) (1 diff)
-
trunk/views/admin/import-admin-view.php (modified) (1 diff)
-
trunk/views/admin/markers-admin-view.php (modified) (1 diff)
-
trunk/views/admin/operations-admin-view.php (modified) (1 diff)
-
trunk/views/admin/support-admin-view.php (modified) (1 diff)
-
trunk/views/markers-table.php (modified) (1 diff)
-
trunk/views/post-table-view.php (modified) (1 diff)
-
trunk/views/post-view.php (modified) (1 diff)
-
trunk/views/user-table-view.php (modified) (2 diffs)
-
trunk/views/user-view.php (modified) (1 diff)
-
trunk/views/view-base.php (modified) (1 diff)
-
trunk/wp-vgwort.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-vgwort/tags/3.26.1/includes/admin-views-manager.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_AdminViewsManger 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_AdminViewsManger 10 12 { 11 13 private $views; -
wp-vgwort/tags/3.26.1/includes/cache.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_Cache 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_Cache 10 12 { 11 13 private $markersManager; -
wp-vgwort/tags/3.26.1/includes/database-data-retriever.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_DatabaseDataRetriever 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_DatabaseDataRetriever 10 12 { 11 13 private $markersManager; -
wp-vgwort/tags/3.26.1/includes/helper.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_Helper 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_Helper 10 12 { 11 13 public static $shortcodeRegex = '/(?<!\[)\[[^\[\]]+\](?!\])/i'; -
wp-vgwort/tags/3.26.1/includes/long-task.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_LongTask 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_LongTask 10 12 { 11 13 private const AJAX_NONCE_STRING = WPVGW . '-ajax-nonce-task-window'; -
wp-vgwort/tags/3.26.1/includes/markers-manager.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_MarkersManager 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_MarkersManager 10 12 { 11 13 private $markersTableName; -
wp-vgwort/tags/3.26.1/includes/mysql-limit-select.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_MySqlLimitSelect 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_MySqlLimitSelect 10 12 { 11 13 private $query; -
wp-vgwort/tags/3.26.1/includes/options-base.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 abstract class WPVGW_OptionsBase 9 if (!defined('ABSPATH')) { 10 exit; 11 } abstract class WPVGW_OptionsBase 10 12 { 11 13 protected $options; -
wp-vgwort/tags/3.26.1/includes/options.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_Options extends WPVGW_OptionsBase 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_Options extends WPVGW_OptionsBase 10 12 { 11 13 private static $allowedPostTypes = 'allowed_post_types'; -
wp-vgwort/tags/3.26.1/includes/posts-extras.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_PostsExtras 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_PostsExtras 10 12 { 11 13 private $postExtrasTableName; -
wp-vgwort/tags/3.26.1/includes/shortcodes.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_Shortcodes 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_Shortcodes 10 12 { 11 13 private static $instance; -
wp-vgwort/tags/3.26.1/includes/uncached-wp-query.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_Uncached_WP_Query 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_Uncached_WP_Query 10 12 { 11 13 private $queryParameters; -
wp-vgwort/tags/3.26.1/includes/user-options.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_UserOptions extends WPVGW_OptionsBase 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_UserOptions extends WPVGW_OptionsBase 10 12 { 11 13 private static $markersAdminViewAdminMessages = 'markers_admin_view_admin_messages'; -
wp-vgwort/tags/3.26.1/includes/users-extras.php
r3318409 r3318512 1 1 2 2 <?php 3 class WPVGW_UsersExtras 3 if (!defined('ABSPATH')) { 4 exit; 5 } class WPVGW_UsersExtras 4 6 { 5 7 private $usersExtrasTableName; -
wp-vgwort/tags/3.26.1/main.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_Main 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_Main 10 12 { 11 13 private $options; … … 574 576 } 575 577 } 576 } $mediaUrlsAndMarkerStringsJs = implode(', ', array_map(static function ($mediaUrlAndMarkerString) { return '["' . addslashes($mediaUrlAndMarkerString['url']) . '", "' . addslashes($mediaUrlAndMarkerString['marker-string']) . '"]'; }, $mediaUrlsAndMarkerStrings));577 return sprintf( <<<HTML578 } $mediaUrlsAndMarkerStringsJs = implode(', ', array_map(static function ($mediaUrlAndMarkerString) { return sprintf('["%s", "%s"]', addslashes($mediaUrlAndMarkerString['url']), addslashes($mediaUrlAndMarkerString['marker-string'])); }, $mediaUrlsAndMarkerStrings)); 579 return sprintf(' 578 580 <script type="text/javascript"> 579 581 //<![CDATA[ 580 582 document.addEventListener("DOMContentLoaded", function () { 581 const mediaUrlsAndMarkerStrings = [ {$mediaUrlsAndMarkerStringsJs}];583 const mediaUrlsAndMarkerStrings = [%s]; 582 584 for (let i = 0, l = mediaUrlsAndMarkerStrings.length; i < l; i++) { 583 585 const url = mediaUrlsAndMarkerStrings[i][0]; 584 586 const markerString = mediaUrlsAndMarkerStrings[i][1]; 585 587 586 const aElement = document.querySelector("a[href= '" + url + "']");588 const aElement = document.querySelector("a[href=\'" + url + "\']"); 587 589 if (aElement === null) 588 590 continue; … … 597 599 //]]> 598 600 </script> 599 HTML 600 ); 601 ', $mediaUrlsAndMarkerStringsJs); 601 602 } public function get_marker_data(?WP_Post $post = null) 602 603 { -
wp-vgwort/tags/3.26.1/plugin-extensions/advanced-custom-fields-plugin-extension.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_Advanced_Custom_Fields_Plugin_Extension extends WPVGW_Plugin_Extension 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_Advanced_Custom_Fields_Plugin_Extension extends WPVGW_Plugin_Extension 10 12 { 11 13 public static function is_active() -
wp-vgwort/tags/3.26.1/plugin-extensions/plugin-extension.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 abstract class WPVGW_Plugin_Extension 9 if (!defined('ABSPATH')) { 10 exit; 11 } abstract class WPVGW_Plugin_Extension 10 12 { 11 13 abstract public static function is_active(); -
wp-vgwort/tags/3.26.1/readme.txt
r3318409 r3318512 6 6 Tested up to: 6.8 7 7 Requires PHP: 8.1 8 Stable tag: 3.26. 08 Stable tag: 3.26.1 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html … … 159 159 == Changelog == 160 160 161 = 3.26.1 = 162 * Sicherheitsrelevante Härtung verbessert. 163 161 164 = 3.26.0 = 162 165 … … 640 643 == Upgrade Notice == 641 644 645 = 3.26.1 = 646 Verbesserungen. 647 642 648 = 3.26.0 = 643 649 Neue Funktionen. Verbesserungen. Fehlerbehebungen. -
wp-vgwort/tags/3.26.1/rest-api/rest-api.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_MarkersRestRoute extends WP_REST_Controller 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_MarkersRestRoute extends WP_REST_Controller 10 12 { 11 13 private const API_KEY_LENGTH = 20; -
wp-vgwort/tags/3.26.1/views/admin/about-admin-view.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_AboutAdminView extends WPVGW_AdminViewBase 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_AboutAdminView extends WPVGW_AdminViewBase 10 12 { 11 13 public static function get_slug_static() -
wp-vgwort/tags/3.26.1/views/admin/admin-view-base.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 abstract class WPVGW_AdminViewBase extends WPVGW_ViewBase 9 if (!defined('ABSPATH')) { 10 exit; 11 } abstract class WPVGW_AdminViewBase extends WPVGW_ViewBase 10 12 { 11 13 protected $adminMessages = array(); -
wp-vgwort/tags/3.26.1/views/admin/configuration-admin-view.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_ConfigurationAdminView extends WPVGW_AdminViewBase 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_ConfigurationAdminView extends WPVGW_AdminViewBase 10 12 { 11 13 protected $markersManager; -
wp-vgwort/tags/3.26.1/views/admin/data-privacy-admin-view.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_DataPrivacyAdminView extends WPVGW_AdminViewBase 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_DataPrivacyAdminView extends WPVGW_AdminViewBase 10 12 { 11 13 protected $options; -
wp-vgwort/tags/3.26.1/views/admin/import-admin-view.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_ImportAdminView extends WPVGW_AdminViewBase 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_ImportAdminView extends WPVGW_AdminViewBase 10 12 { 11 13 private const AJAX_NONCE_STRING = WPVGW . '-ajax-nonce-import-admin-view'; -
wp-vgwort/tags/3.26.1/views/admin/markers-admin-view.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_MarkersAdminView extends WPVGW_AdminViewBase 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_MarkersAdminView extends WPVGW_AdminViewBase 10 12 { 11 13 private const AJAX_NONCE_STRING = WPVGW . '-ajax-nonce-markers-admin-view'; -
wp-vgwort/tags/3.26.1/views/admin/operations-admin-view.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_OperationsAdminView extends WPVGW_AdminViewBase 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_OperationsAdminView extends WPVGW_AdminViewBase 10 12 { 11 13 protected $markersManager; -
wp-vgwort/tags/3.26.1/views/admin/support-admin-view.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_SupportAdminView extends WPVGW_AdminViewBase 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_SupportAdminView extends WPVGW_AdminViewBase 10 12 { 11 13 public static function get_slug_static() -
wp-vgwort/tags/3.26.1/views/markers-table.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 require_once(ABSPATH . 'wp-admin/includes/class-wp-list-table.php'); 9 if (!defined('ABSPATH')) { 10 exit; 11 } require_once(ABSPATH . 'wp-admin/includes/class-wp-list-table.php'); 10 12 class WPVGW_MarkersListTable extends WP_List_Table 11 13 { -
wp-vgwort/tags/3.26.1/views/post-table-view.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_PostTableView extends WPVGW_ViewBase 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_PostTableView extends WPVGW_ViewBase 10 12 { 11 13 protected $markersManager; -
wp-vgwort/tags/3.26.1/views/post-view.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_PostView extends WPVGW_ViewBase 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_PostView extends WPVGW_ViewBase 10 12 { 11 13 private const AJAX_NONCE_STRING = WPVGW . '-ajax-nonce-post-view'; -
wp-vgwort/tags/3.26.1/views/user-table-view.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_UserTableView extends WPVGW_ViewBase 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_UserTableView extends WPVGW_ViewBase 10 12 { 11 13 protected $usersExtras; … … 112 114 return WPVGW_Helper::null_data_text(); 113 115 } $userExtras = $this->usersIdMap[$user_id]; 114 $outputTemplate = <<<HTML 115 <abbr title="%s">%s</abbr>: %s<br/> 116 <abbr title="%s">%s</abbr>: %s<br/> 117 HTML; 118 return sprintf($outputTemplate, __('VG-WORT-Karteinummer', 'wp-vgwort'), __('K.Nr.', 'wp-vgwort'), esc_html(WPVGW_Helper::null_data_text($userExtras['vg_wort_card_number'])), __('Autor für Zählmarken zugelassen', 'wp-vgwort'), __('Zuge.', 'wp-vgwort'), $userExtras['is_allowed'] ? __('ja', 'wp-vgwort') : __('nein', 'wp-vgwort')); 116 return sprintf('<abbr title="%s">%s</abbr>: %s<br/><abbr title="%s">%s</abbr>: %s<br/>', esc_attr__('VG-WORT-Karteinummer', 'wp-vgwort'), esc_html__('K.Nr.', 'wp-vgwort'), esc_html(WPVGW_Helper::null_data_text($userExtras['vg_wort_card_number'])), esc_attr__('Autor für Zählmarken zugelassen', 'wp-vgwort'), esc_html__('Zuge.', 'wp-vgwort'), $userExtras['is_allowed'] ? esc_html__('ja', 'wp-vgwort') : esc_html__('nein', 'wp-vgwort')); 119 117 } private function column_number_of_free_markers($user_id) 120 118 { -
wp-vgwort/tags/3.26.1/views/user-view.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_UserView extends WPVGW_ViewBase 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_UserView extends WPVGW_ViewBase 10 12 { 11 13 private const AJAX_NONCE_STRING = WPVGW . '-ajax-nonce-users-view'; -
wp-vgwort/tags/3.26.1/views/view-base.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 abstract class WPVGW_ViewBase 9 if (!defined('ABSPATH')) { 10 exit; 11 } abstract class WPVGW_ViewBase 10 12 { 11 13 private $isInit = false; -
wp-vgwort/tags/3.26.1/wp-vgwort.php
r3318409 r3318512 4 4 * Plugin URI: https://wordpress.org/plugins/wp-vgwort/ 5 5 * Description: Verdienen Sie mit Ihren Beiträgen/Texten Geld durch die Integration von Zählmarken der VG WORT. 6 * Version: 3.26. 06 * Version: 3.26.1 7 7 * Author: Prosodia – Verlag für Musik und Literatur 8 8 * Author URI: https://prosodia.de/ … … 21 21 22 22 23 // exit if file is accessed directly (outside from WordPress) 24 if ( !defined( 'ABSPATH' ) ) exit; 23 // exit if accessed directly 24 if ( !defined( 'ABSPATH' ) ) 25 exit; 25 26 26 27 … … 33 34 * The global plugin version. 34 35 */ 35 define( 'WPVGW_VERSION', '3.26. 0' );36 define( 'WPVGW_VERSION', '3.26.1' ); 36 37 37 38 /** -
wp-vgwort/trunk/includes/admin-views-manager.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_AdminViewsManger 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_AdminViewsManger 10 12 { 11 13 private $views; -
wp-vgwort/trunk/includes/cache.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_Cache 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_Cache 10 12 { 11 13 private $markersManager; -
wp-vgwort/trunk/includes/database-data-retriever.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_DatabaseDataRetriever 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_DatabaseDataRetriever 10 12 { 11 13 private $markersManager; -
wp-vgwort/trunk/includes/helper.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_Helper 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_Helper 10 12 { 11 13 public static $shortcodeRegex = '/(?<!\[)\[[^\[\]]+\](?!\])/i'; -
wp-vgwort/trunk/includes/long-task.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_LongTask 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_LongTask 10 12 { 11 13 private const AJAX_NONCE_STRING = WPVGW . '-ajax-nonce-task-window'; -
wp-vgwort/trunk/includes/markers-manager.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_MarkersManager 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_MarkersManager 10 12 { 11 13 private $markersTableName; -
wp-vgwort/trunk/includes/mysql-limit-select.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_MySqlLimitSelect 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_MySqlLimitSelect 10 12 { 11 13 private $query; -
wp-vgwort/trunk/includes/options-base.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 abstract class WPVGW_OptionsBase 9 if (!defined('ABSPATH')) { 10 exit; 11 } abstract class WPVGW_OptionsBase 10 12 { 11 13 protected $options; -
wp-vgwort/trunk/includes/options.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_Options extends WPVGW_OptionsBase 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_Options extends WPVGW_OptionsBase 10 12 { 11 13 private static $allowedPostTypes = 'allowed_post_types'; -
wp-vgwort/trunk/includes/posts-extras.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_PostsExtras 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_PostsExtras 10 12 { 11 13 private $postExtrasTableName; -
wp-vgwort/trunk/includes/shortcodes.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_Shortcodes 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_Shortcodes 10 12 { 11 13 private static $instance; -
wp-vgwort/trunk/includes/uncached-wp-query.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_Uncached_WP_Query 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_Uncached_WP_Query 10 12 { 11 13 private $queryParameters; -
wp-vgwort/trunk/includes/user-options.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_UserOptions extends WPVGW_OptionsBase 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_UserOptions extends WPVGW_OptionsBase 10 12 { 11 13 private static $markersAdminViewAdminMessages = 'markers_admin_view_admin_messages'; -
wp-vgwort/trunk/includes/users-extras.php
r3318409 r3318512 1 1 2 2 <?php 3 class WPVGW_UsersExtras 3 if (!defined('ABSPATH')) { 4 exit; 5 } class WPVGW_UsersExtras 4 6 { 5 7 private $usersExtrasTableName; -
wp-vgwort/trunk/main.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_Main 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_Main 10 12 { 11 13 private $options; … … 574 576 } 575 577 } 576 } $mediaUrlsAndMarkerStringsJs = implode(', ', array_map(static function ($mediaUrlAndMarkerString) { return '["' . addslashes($mediaUrlAndMarkerString['url']) . '", "' . addslashes($mediaUrlAndMarkerString['marker-string']) . '"]'; }, $mediaUrlsAndMarkerStrings));577 return sprintf( <<<HTML578 } $mediaUrlsAndMarkerStringsJs = implode(', ', array_map(static function ($mediaUrlAndMarkerString) { return sprintf('["%s", "%s"]', addslashes($mediaUrlAndMarkerString['url']), addslashes($mediaUrlAndMarkerString['marker-string'])); }, $mediaUrlsAndMarkerStrings)); 579 return sprintf(' 578 580 <script type="text/javascript"> 579 581 //<![CDATA[ 580 582 document.addEventListener("DOMContentLoaded", function () { 581 const mediaUrlsAndMarkerStrings = [ {$mediaUrlsAndMarkerStringsJs}];583 const mediaUrlsAndMarkerStrings = [%s]; 582 584 for (let i = 0, l = mediaUrlsAndMarkerStrings.length; i < l; i++) { 583 585 const url = mediaUrlsAndMarkerStrings[i][0]; 584 586 const markerString = mediaUrlsAndMarkerStrings[i][1]; 585 587 586 const aElement = document.querySelector("a[href= '" + url + "']");588 const aElement = document.querySelector("a[href=\'" + url + "\']"); 587 589 if (aElement === null) 588 590 continue; … … 597 599 //]]> 598 600 </script> 599 HTML 600 ); 601 ', $mediaUrlsAndMarkerStringsJs); 601 602 } public function get_marker_data(?WP_Post $post = null) 602 603 { -
wp-vgwort/trunk/plugin-extensions/advanced-custom-fields-plugin-extension.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_Advanced_Custom_Fields_Plugin_Extension extends WPVGW_Plugin_Extension 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_Advanced_Custom_Fields_Plugin_Extension extends WPVGW_Plugin_Extension 10 12 { 11 13 public static function is_active() -
wp-vgwort/trunk/plugin-extensions/plugin-extension.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 abstract class WPVGW_Plugin_Extension 9 if (!defined('ABSPATH')) { 10 exit; 11 } abstract class WPVGW_Plugin_Extension 10 12 { 11 13 abstract public static function is_active(); -
wp-vgwort/trunk/readme.txt
r3318409 r3318512 6 6 Tested up to: 6.8 7 7 Requires PHP: 8.1 8 Stable tag: 3.26. 08 Stable tag: 3.26.1 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html … … 159 159 == Changelog == 160 160 161 = 3.26.1 = 162 * Sicherheitsrelevante Härtung verbessert. 163 161 164 = 3.26.0 = 162 165 … … 640 643 == Upgrade Notice == 641 644 645 = 3.26.1 = 646 Verbesserungen. 647 642 648 = 3.26.0 = 643 649 Neue Funktionen. Verbesserungen. Fehlerbehebungen. -
wp-vgwort/trunk/rest-api/rest-api.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_MarkersRestRoute extends WP_REST_Controller 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_MarkersRestRoute extends WP_REST_Controller 10 12 { 11 13 private const API_KEY_LENGTH = 20; -
wp-vgwort/trunk/views/admin/about-admin-view.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_AboutAdminView extends WPVGW_AdminViewBase 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_AboutAdminView extends WPVGW_AdminViewBase 10 12 { 11 13 public static function get_slug_static() -
wp-vgwort/trunk/views/admin/admin-view-base.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 abstract class WPVGW_AdminViewBase extends WPVGW_ViewBase 9 if (!defined('ABSPATH')) { 10 exit; 11 } abstract class WPVGW_AdminViewBase extends WPVGW_ViewBase 10 12 { 11 13 protected $adminMessages = array(); -
wp-vgwort/trunk/views/admin/configuration-admin-view.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_ConfigurationAdminView extends WPVGW_AdminViewBase 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_ConfigurationAdminView extends WPVGW_AdminViewBase 10 12 { 11 13 protected $markersManager; -
wp-vgwort/trunk/views/admin/data-privacy-admin-view.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_DataPrivacyAdminView extends WPVGW_AdminViewBase 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_DataPrivacyAdminView extends WPVGW_AdminViewBase 10 12 { 11 13 protected $options; -
wp-vgwort/trunk/views/admin/import-admin-view.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_ImportAdminView extends WPVGW_AdminViewBase 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_ImportAdminView extends WPVGW_AdminViewBase 10 12 { 11 13 private const AJAX_NONCE_STRING = WPVGW . '-ajax-nonce-import-admin-view'; -
wp-vgwort/trunk/views/admin/markers-admin-view.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_MarkersAdminView extends WPVGW_AdminViewBase 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_MarkersAdminView extends WPVGW_AdminViewBase 10 12 { 11 13 private const AJAX_NONCE_STRING = WPVGW . '-ajax-nonce-markers-admin-view'; -
wp-vgwort/trunk/views/admin/operations-admin-view.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_OperationsAdminView extends WPVGW_AdminViewBase 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_OperationsAdminView extends WPVGW_AdminViewBase 10 12 { 11 13 protected $markersManager; -
wp-vgwort/trunk/views/admin/support-admin-view.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_SupportAdminView extends WPVGW_AdminViewBase 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_SupportAdminView extends WPVGW_AdminViewBase 10 12 { 11 13 public static function get_slug_static() -
wp-vgwort/trunk/views/markers-table.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 require_once(ABSPATH . 'wp-admin/includes/class-wp-list-table.php'); 9 if (!defined('ABSPATH')) { 10 exit; 11 } require_once(ABSPATH . 'wp-admin/includes/class-wp-list-table.php'); 10 12 class WPVGW_MarkersListTable extends WP_List_Table 11 13 { -
wp-vgwort/trunk/views/post-table-view.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_PostTableView extends WPVGW_ViewBase 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_PostTableView extends WPVGW_ViewBase 10 12 { 11 13 protected $markersManager; -
wp-vgwort/trunk/views/post-view.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_PostView extends WPVGW_ViewBase 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_PostView extends WPVGW_ViewBase 10 12 { 11 13 private const AJAX_NONCE_STRING = WPVGW . '-ajax-nonce-post-view'; -
wp-vgwort/trunk/views/user-table-view.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_UserTableView extends WPVGW_ViewBase 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_UserTableView extends WPVGW_ViewBase 10 12 { 11 13 protected $usersExtras; … … 112 114 return WPVGW_Helper::null_data_text(); 113 115 } $userExtras = $this->usersIdMap[$user_id]; 114 $outputTemplate = <<<HTML 115 <abbr title="%s">%s</abbr>: %s<br/> 116 <abbr title="%s">%s</abbr>: %s<br/> 117 HTML; 118 return sprintf($outputTemplate, __('VG-WORT-Karteinummer', 'wp-vgwort'), __('K.Nr.', 'wp-vgwort'), esc_html(WPVGW_Helper::null_data_text($userExtras['vg_wort_card_number'])), __('Autor für Zählmarken zugelassen', 'wp-vgwort'), __('Zuge.', 'wp-vgwort'), $userExtras['is_allowed'] ? __('ja', 'wp-vgwort') : __('nein', 'wp-vgwort')); 116 return sprintf('<abbr title="%s">%s</abbr>: %s<br/><abbr title="%s">%s</abbr>: %s<br/>', esc_attr__('VG-WORT-Karteinummer', 'wp-vgwort'), esc_html__('K.Nr.', 'wp-vgwort'), esc_html(WPVGW_Helper::null_data_text($userExtras['vg_wort_card_number'])), esc_attr__('Autor für Zählmarken zugelassen', 'wp-vgwort'), esc_html__('Zuge.', 'wp-vgwort'), $userExtras['is_allowed'] ? esc_html__('ja', 'wp-vgwort') : esc_html__('nein', 'wp-vgwort')); 119 117 } private function column_number_of_free_markers($user_id) 120 118 { -
wp-vgwort/trunk/views/user-view.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 class WPVGW_UserView extends WPVGW_ViewBase 9 if (!defined('ABSPATH')) { 10 exit; 11 } class WPVGW_UserView extends WPVGW_ViewBase 10 12 { 11 13 private const AJAX_NONCE_STRING = WPVGW . '-ajax-nonce-users-view'; -
wp-vgwort/trunk/views/view-base.php
r3318409 r3318512 7 7 * License: GPLv2 or later 8 8 */ 9 abstract class WPVGW_ViewBase 9 if (!defined('ABSPATH')) { 10 exit; 11 } abstract class WPVGW_ViewBase 10 12 { 11 13 private $isInit = false; -
wp-vgwort/trunk/wp-vgwort.php
r3318409 r3318512 4 4 * Plugin URI: https://wordpress.org/plugins/wp-vgwort/ 5 5 * Description: Verdienen Sie mit Ihren Beiträgen/Texten Geld durch die Integration von Zählmarken der VG WORT. 6 * Version: 3.26. 06 * Version: 3.26.1 7 7 * Author: Prosodia – Verlag für Musik und Literatur 8 8 * Author URI: https://prosodia.de/ … … 21 21 22 22 23 // exit if file is accessed directly (outside from WordPress) 24 if ( !defined( 'ABSPATH' ) ) exit; 23 // exit if accessed directly 24 if ( !defined( 'ABSPATH' ) ) 25 exit; 25 26 26 27 … … 33 34 * The global plugin version. 34 35 */ 35 define( 'WPVGW_VERSION', '3.26. 0' );36 define( 'WPVGW_VERSION', '3.26.1' ); 36 37 37 38 /**
Note: See TracChangeset
for help on using the changeset viewer.