Skip to content

Commit

Permalink
Update code after composer files added
Browse files Browse the repository at this point in the history
  • Loading branch information
raftaar1191 committed Oct 20, 2023
1 parent a1adefb commit 761a272
Show file tree
Hide file tree
Showing 141 changed files with 12,493 additions and 1,619 deletions.
2 changes: 1 addition & 1 deletion .distignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ package.json
package-lock.json
README.md
webpack-config.js
.travis.yml
.travis.yml
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ tests/cli/vendor
/logs

# Composer
/vendor/
contributors.md
contributors.lock

# Packages
/packages/*
Expand Down
172 changes: 0 additions & 172 deletions admin/integration/acrosswp-menu.php

This file was deleted.

19 changes: 19 additions & 0 deletions admin/licenses-update/plugin-update-checker/main.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php
// Exit if accessed directly
defined( 'ABSPATH' ) || exit;

/**
* Add Github Plugin update checker into the AcrossWP Github Plugin Update Checker
*/
function post_anonymously_plugins_update_checker_github( $packages ) {

$packages[1000] = array(
'repo' => 'https://github.com/acrosswp/post-anonymously',
'file_path' => POST_ANONYMOUSLY_FILES,
'plugin_name_slug' => POST_ANONYMOUSLY_PLUGIN_PLUGIN_NAME_SLUG,
'release_branch' => 'main'
);

return $packages;
}
add_filter( 'acrosswp_plugins_update_checker_github', 'post_anonymously_plugins_update_checker_github', 100, 1 );
Loading

0 comments on commit 761a272

Please sign in to comment.