10up / simple-page-ordering

Order your pages and other hierarchical post types with simple drag and drop right from the standard page list.
https://wordpress.org/plugins/simple-page-ordering/
GNU General Public License v2.0
141 stars 22 forks source link

Embedded git repository #169

Closed theamnesic closed 8 months ago

theamnesic commented 8 months ago

Describe the bug

Hi!

Since the last update, when I git add . on my project, this warning appears:


warning: adding embedded git repository: wp-content/plugins/simple-page-ordering/10up-lib/wp-compat-validation-tool
hint: You've added another git repository inside your current repository.
hint: Clones of the outer repository will not contain the contents of
hint: the embedded repository and will not know how to obtain it.
hint: If you meant to add a submodule, use:
hint: 
hint:   git submodule add <url> wp-content/plugins/simple-page-ordering/10up-lib/wp-compat-validation-tool
hint: 
hint: If you added this path by mistake, you can remove it from the
hint: index with:
hint: 
hint:   git rm --cached wp-content/plugins/simple-page-ordering/10up-lib/wp-compat-validation-tool
hint: 
hint: See "git help submodule" for more information.

Steps to Reproduce

Install last update and git add ..

Screenshots, screen recording, code snippet

No response

Environment information

WordPress 6.3.2 Simple Page Ordering 2.6.0

WordPress information

No response

Code of Conduct

mjot commented 8 months ago

We have the same problem, all our wordpress projects are managed via git, so we now have the error everywhere.

jeffpaul commented 8 months ago

@Sidsector9 is this another one related to the wp compat tool?

Sidsector9 commented 8 months ago

@jeffpaul that's correct. I'll release a new version with the fix today.

Sidsector9 commented 8 months ago

Version 2.6.1 released which fixes this issue. Closing as resolved.