Skip to content

Commit

Permalink
v1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Mineslu committed Oct 26, 2023
1 parent 9b73348 commit dacd4a3
Showing 1 changed file with 3 additions and 28 deletions.
31 changes: 3 additions & 28 deletions yam.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,16 @@

/**
* Plugin Name: Yam
* Plugin URI: http://thimpress.com/learnpress
* Plugin URI: http://aulaideal.com
* Description: LearnPress is a WordPress complete solution for creating a Learning Management System (LMS). It can help you to create courses, lessons and quizzes.
* Author: ThimPress2
* Version: 1.8
* Version: 1.9
* Requires at least: 5.8
* Tested up to: 6.1.1
* Requires PHP: 7.0
* Text Domain:Yam
* Text Domain:yam
*/


require 'plugin-update-checker/plugin-update-checker.php';

use YahnisElsts\PluginUpdateChecker\v5\PucFactory;
Expand All @@ -27,25 +24,3 @@

//Set the branch that contains the stable release.
$myUpdateChecker->setBranch('main');



/* public function plugin_setup()
{
add_filter( 'upgrader_source_selection', array( $this, 'rename_github_zip' ), 1, 3);
}
public function rename_github_zip( $source, $remote_source, $thiz )
{
if( strpos( $source, 'github-plugin-for-wordpress') === false )
return $source;
$path_parts = pathinfo( $source );
$newsource = trailingslashit( $path_parts['dirname'] ) . trailingslashit( 'github-plugin-for-wordpress' );
rename( $source, $newsource );
return $newsource;
} */
?>

<h1>HOL</h1>

0 comments on commit dacd4a3

Please sign in to comment.