Changeset 3286656
- Timestamp:
- 05/03/2025 07:44:30 AM (10 months ago)
- Location:
- th23-specials/tags/6.0.3
- Files:
-
- 2 edited
- 10 copied
-
. (copied) (copied from th23-specials/trunk)
-
img (copied) (copied from th23-specials/trunk/img)
-
inc (copied) (copied from th23-specials/trunk/inc)
-
inc/th23-admin-class.css (modified) (1 diff)
-
inc/th23-admin-class.php (modified) (3 diffs)
-
lang (copied) (copied from th23-specials/trunk/lang)
-
readme.txt (copied) (copied from th23-specials/trunk/readme.txt) (7 diffs)
-
th23-specials-admin.php (copied) (copied from th23-specials/trunk/th23-specials-admin.php) (5 diffs)
-
th23-specials-block-edit.js (copied) (copied from th23-specials/trunk/th23-specials-block-edit.js)
-
th23-specials-post-edit.js (copied) (copied from th23-specials/trunk/th23-specials-post-edit.js)
-
th23-specials-post-list.js (copied) (copied from th23-specials/trunk/th23-specials-post-list.js)
-
th23-specials.php (copied) (copied from th23-specials/trunk/th23-specials.php) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
th23-specials/tags/6.0.3/inc/th23-admin-class.css
r3286407 r3286656 100 100 margin-left: 64px; 101 101 } 102 @media screen and (min-width: 782px) { 103 div.th23-admin-about .floating-right { 104 float: right; 105 } 106 div.th23-admin-about .floating-right .separator-left { 107 display: none; 108 } 109 } 110 div.th23-admin-about .update-url { 111 cursor: pointer; 112 } 102 113 div.th23-admin-about a { 103 114 text-decoration: none; -
th23-specials/tags/6.0.3/inc/th23-admin-class.php
r3286407 r3286656 3 3 th23 Admin 4 4 Basic admin functionality 5 Version: 1. 6.05 Version: 1.7.0 6 6 7 7 Coded 2024-2025 by Thorsten Hartmann (th23) … … 16 16 } 17 17 18 if(!class_exists('th23_admin_v1 60')) {19 class th23_admin_v1 60 {18 if(!class_exists('th23_admin_v170')) { 19 class th23_admin_v170 { 20 20 21 21 private $parent; … … 152 152 return $res; 153 153 } 154 // attempt to get, defaults back to WP.org repository if own repository is unreachable by returning $res154 // note: returning $res defaults to WP.org repo, if exists and alternative is unreachable - nevertheless return error message, as versions might differ 155 155 if(empty($remote = $this->update_request()) || !is_array($remote)) { 156 $res = new stdClass(); 157 $res->slug = $this->parent->plugin['slug']; 158 $res->name = $this->parent->plugin['data']['Name']; 159 /* translators: parses in plugin information source url */ 160 $res->sections = array('other_notes' => '<div class="notice notice-error"><p>' . sprintf($this->__('Failed to load plugin information from %s'), '<code>' . $this->parent->plugin['update_url'] . '</code>') . '</p></div>'); 156 161 return $res; 157 162 } -
th23-specials/tags/6.0.3/readme.txt
r3286407 r3286656 5 5 Requires at least: 4.2 6 6 Tested up to: 6.8 7 Stable tag: 6.0. 07 Stable tag: 6.0.3 8 8 Requires PHP: 8.0 9 9 License: GPL-3.0 … … 11 11 12 12 13 Essentials to customize Word Press via simple settings, SMTP, title highlight, category selection, more separator, sticky posts, remove clutter, ...13 Essentials to customize Wordpress via simple settings, SMTP, title highlight, category selection, more separator, sticky posts, remove clutter, ... 14 14 15 15 16 16 == Description == 17 17 18 Customize your Word Press website even more to your needs via **simple admin settings** instead of code modifications.18 Customize your Wordpress website even more to your needs via **simple admin settings** instead of code modifications. 19 19 20 20 Setting up new websites from time to time I realized, that I keep using **similar sets of modifications over and over again**. This plugin gives you a wide range of modifications at hand **without any core or theme code changes** - making them persistent across updates or switching to another theme. … … 40 40 = NOTE = 41 41 42 Some options change important core functionality of Word Press - make sure you **properly test your website** before usage in production environment!42 Some options change important core functionality of Wordpress - make sure you **properly test your website** before usage in production environment! 43 43 44 44 … … 52 52 == Frequently Asked Questions == 53 53 54 = Is there a way to identify **existing posts / pages that do not comply**with the one category only requirement or that are missing the "read more" block / tag? =54 = Is there a way to identify existing posts / pages that do not comply with the one category only requirement or that are missing the "read more" block / tag? = 55 55 56 56 Yes, there are links in the descriptions on the th23 Specials settings page, **next to the respective option** to search for "non-compliant" posts / pages. … … 58 58 Upon a click on this link you will see all currently non-compliant posts / pages. You can modify these by clicking on their titles, which loads them into your default editor. 59 59 60 = Some **settings seem to have no effect**- eg oEmbed features are still active depsite deactivated? =60 = Some settings seem to have no effect - eg oEmbed features are still active depsite deactivated? = 61 61 62 62 This might be happening as **some options can be "overruled"** by settings by your theme. For settings that might be affected, please see the description on the settings page. … … 74 74 == Changelog == 75 75 76 = v6.0.3 = 77 78 * fix: upgrade to th23 Admin class 1.7.0, removing some inconsistencies 79 80 = v6.0.2 = 81 82 * enhancement: upgrade to th23 Plugin Info class 1.0.0 83 * fix: upgrade to th23 Admin class 1.6.2 84 85 = v6.0.1 = 86 87 * fix: update th23 Admin class to v1.6.1 88 * fix: typos and wording adjustments 89 76 90 = v6.0.0 = 77 91 … … 81 95 == Upgrade Notice == 82 96 83 = v6.0. 0=97 = v6.0.3 = 84 98 85 99 * n/a 100 101 = v6.0.2 = 102 103 * n/a 104 105 = v6.0.1 = 106 107 * n/a -
th23-specials/tags/6.0.3/th23-specials-admin.php
r3286407 r3286656 1 1 <?php 2 /*3 th23 Specials4 Admin area5 6 Coded 2014-2025 by Thorsten Hartmann (th23)7 https://th23.net/8 */9 2 10 3 // Security - exit if accessed directly … … 29 22 'permission' => 'manage_options', 30 23 ); 31 // icon : "square" 48 x 48px (footer) /"horizontal" 36px height (header, width irrelevant) / both (resized if larger)24 // icons "square" 48 x 48px (footer) and "horizontal" 36px height (header, width irrelevant) / both (resized if larger) 32 25 $this->plugin['icon'] = array('square' => 'img/icon-square.png', 'horizontal' => 'img/icon-horizontal.png'); 33 26 $this->plugin['support_url'] = 'https://github.com/th23x/th23-specials/issues'; 27 $this->plugin['requirement_notices'] = array(); 34 28 35 29 // Load and setup required th23 Admin class 36 30 if(file_exists($this->plugin['dir_path'] . '/inc/th23-admin-class.php')) { 37 31 require($this->plugin['dir_path'] . '/inc/th23-admin-class.php'); 38 $this->admin = new th23_admin_v1 60($this);32 $this->admin = new th23_admin_v170($this); 39 33 } 40 34 if(!empty($this->admin)) { 41 35 add_action('init', array(&$this, 'setup_admin_class')); 36 // alternative update source for non-WP.org hosted plugin 37 // important: remove following two lines for WP.org-hosted plugin 38 $this->plugin['update_url'] = 'https://github.com/th23x/th23-specials/releases/latest/download/update.json'; 39 add_filter('site_transient_update_plugins', array(&$this->admin, 'update_download')); 42 40 } 43 41 else { … … 98 96 // note: need to populate $this->i18n earliest at init hook to get user locale 99 97 $this->i18n = array( 98 'Plugin' => __('Plugin', 'th23-specials'), 100 99 'Settings' => __('Settings', 'th23-specials'), 101 100 /* translators: parses in plugin version number */ … … 111 110 /* translators: parses in plugin author name / link */ 112 111 'By %s' => __('By %s', 'th23-specials'), 112 'View details' => __('View details', 'th23-specials'), 113 113 'Visit plugin site' => __('Visit plugin site', 'th23-specials'), 114 114 'Error' => __('Error', 'th23-specials'), … … 302 302 // disable_categories 303 303 304 $description = __('Specified categories are not available for posts to be assigned in editor - list of respective IDs, separated by comma, empty for no restrictions', 'th23-specials');305 $description .= '<br />' . __('Note: See notes for option above', 'th23-specials');306 304 $this->plugin['options']['disable_categories'] = array( 307 305 'render' => function() { return '<div>' . __('Disabled categories for posts', 'th23-specials') . '</div>'; }, 308 306 'default' => '', 309 'description' => $description,307 'description' => __('Specified categories are not available for posts to be assigned in editor - list of respective IDs, separated by comma, empty for no restrictions', 'th23-specials') . '<br />' . __('Note: See notes for option above', 'th23-specials'), 310 308 ); 311 309 -
th23-specials/tags/6.0.3/th23-specials.php
r3286407 r3286656 2 2 /* 3 3 Plugin Name: th23 Specials 4 Description: Adjust WordPress behaviour to own needs 5 Version: 6.0.0 6 Author: Thorsten Hartmann (th23) 7 Author URI: https://th23.net 8 License: GPL-3.0-or-later 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html 4 Description: Essentials to customize Wordpress via simple settings, SMTP, title highlight, category selection, more separator, sticky posts, remove clutter, ... 5 Plugin URI: https://github.com/th23x/th23-specials 6 7 Author: Thorsten (th23) 8 Author URI: https://thorstenhartmann.de 9 Author IMG: https://thorstenhartmann.de/avatar.png 10 11 License: GPL-3.0 12 License URI: https://github.com/th23x/th23-specials/blob/main/LICENSE 13 14 Version: 6.0.3 15 16 Requires at least: 4.2 17 Tested up to: 6.8 18 Requires PHP: 8.0 19 10 20 Text Domain: th23-specials 11 21 Domain Path: /lang 12 13 Coded 2014-2025 by Thorsten Hartmann (th23)14 https://th23.net/15 22 */ 16 23 … … 34 41 $this->plugin['basename'] = plugin_basename($this->plugin['file']); 35 42 $this->plugin['dir_url'] = plugin_dir_url($this->plugin['file']); 36 $this->plugin['version'] = '6.0. 0';43 $this->plugin['version'] = '6.0.3'; 37 44 38 45 // Load plugin options
Note: See TracChangeset
for help on using the changeset viewer.