Skip to content

Commit 3b81884

Browse files
committed
Update file permissions and improve readme parsing
- Changed file permissions for ParsedownModern.php and PucReadmeParser.php to executable (755). - Updated regex patterns in PucReadmeParser.php to use English terms instead of German for better compatibility. - Enhanced the sanitize_text function to use wp_strip_all_tags if available. - Updated contributor information in readme.txt to reflect the correct name (PSOURCE).
1 parent c753f5b commit 3b81884

File tree

127 files changed

+3632
-2436
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

127 files changed

+3632
-2436
lines changed

default-theme.php

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
Version: 1.0.5
55
Plugin URI: https://n3rds.work/piestingtal_source/standard-theme-plugin/
66
Description: Ermöglicht die einfache Auswahl eines neuen Standardthemes für neue Blog-Anmeldungen
7-
Author: WMS N@W
8-
Author URI: https://n3rds.work
7+
Author: PSOURCE
8+
Author URI: https://github.com/cp-psource
99
Network: true
1010
*/
1111

1212
/*
13-
Copyright 2020 WMS N@W (https://n3rds.work)
13+
Copyright 2020-2025 PSOURCE (https://github.com/cp-psource)
1414
Developer: Aaron Edwards
1515
1616
This program is free software; you can redistribute it and/or modify
@@ -27,12 +27,24 @@
2727
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
2828
*/
2929

30-
require 'psource/psource-plugin-update/psource-plugin-updater.php';
31-
$MyUpdateChecker = Puc_v4_Factory::buildUpdateChecker(
32-
'https://n3rds.work//wp-update-server/?action=get_metadata&slug=default-theme',
33-
__FILE__,
34-
'default-theme'
30+
/**
31+
* @@@@@@@@@@@@@@@@@ PS UPDATER 1.3 @@@@@@@@@@@
32+
**/
33+
require 'psource/psource-plugin-update/plugin-update-checker.php';
34+
use YahnisElsts\PluginUpdateChecker\v5\PucFactory;
35+
36+
$myUpdateChecker = PucFactory::buildUpdateChecker(
37+
'https://github.com/cp-psource/default-theme',
38+
__FILE__,
39+
'default-theme'
3540
);
41+
42+
//Set the branch that contains the stable release.
43+
$myUpdateChecker->setBranch('main');
44+
45+
/**
46+
* @@@@@@@@@@@@@@@@@ ENDE PS UPDATER 1.3 @@@@@@@@@@@
47+
**/
3648

3749
//force multisite
3850
if ( ! is_multisite() ) {
@@ -113,7 +125,3 @@ function default_theme_site_admin_options() {
113125
</table>
114126
<?php
115127
}
116-
117-
global $wpmudev_notices;
118-
$wpmudev_notices[] = array( 'id' => 48, 'name' => 'Standard Theme', 'screens' => array( 'settings-network' ) );
119-

psource/psource-plugin-update/.editorconfig

100644100755
File mode changed.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build export-ignore
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Created by .ignore support plugin (hsz.mobi)
2+
### JetBrains template
3+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
4+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
5+
6+
# The entire IDEA/PhpStorm directory
7+
.idea/
8+
9+
# CMake
10+
cmake-build-*/
11+
12+
# Mongo Explorer plugin
13+
.idea/**/mongoSettings.xml
14+
15+
# File-based project format
16+
*.iws
17+
18+
# IntelliJ
19+
out/
20+
21+
# mpeltonen/sbt-idea plugin
22+
.idea_modules/
23+
24+
# JIRA plugin
25+
atlassian-ide-plugin.xml
26+
27+
# Cursive Clojure plugin
28+
.idea/replstate.xml
29+
30+
# Crashlytics plugin (for Android Studio and IntelliJ)
31+
com_crashlytics_export_strings.xml
32+
crashlytics.properties
33+
crashlytics-build.properties
34+
fabric.properties
35+
36+
# Editor-based Rest Client
37+
.idea/httpRequests
38+
39+
# Android studio 3.1+ serialized cache file
40+
.idea/caches/build_file_checksums.ser

psource/psource-plugin-update/Puc/v4/Factory.php

Lines changed: 0 additions & 6 deletions
This file was deleted.

psource/psource-plugin-update/Puc/v4p10/Autoloader.php

Lines changed: 0 additions & 63 deletions
This file was deleted.

psource/psource-plugin-update/Puc/v4p10/DebugBar/PluginExtension.php

Lines changed: 0 additions & 33 deletions
This file was deleted.

psource/psource-plugin-update/Puc/v4p10/Vcs/ThemeUpdateChecker.php

Lines changed: 0 additions & 118 deletions
This file was deleted.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
3+
namespace YahnisElsts\PluginUpdateChecker\v5;
4+
5+
if ( !class_exists(PucFactory::class, false) ):
6+
7+
class PucFactory extends \YahnisElsts\PluginUpdateChecker\v5p3\PucFactory {
8+
}
9+
10+
endif;

0 commit comments

Comments
 (0)