WPBones icon indicating copy to clipboard operation
WPBones copied to clipboard

sidebar menu entries disappears by changing namaspace through php bones rename command

Open dev-talha-anwar opened this issue 4 years ago • 10 comments

when we change namespace by php bones rename command the sidebar menu disappears once we undo the renaming (i.e. default namespace ) the menu appears again.

Steps to reproduce the behavior:

  1. install wp kirk demo version
  2. rename the plugin by php bones rename "some name"
  3. refresh the wp admin and menu is gone
  4. rename plugin back to default
  5. the menu appears again

Expected behavior rename commad should be fixed

image image

dev-talha-anwar avatar Aug 21 '21 02:08 dev-talha-anwar

Appears like dumping autoload after changing namespace makes the menu items reappear.

composer dumpautoload -o

abh1nash avatar Oct 11 '21 14:10 abh1nash

@dev-talha-anwar @abh1nash Hi there, please, could you retry with the latest version?

if you are able to download the new version of demo would be perfect. Otherwise run:

php bones update

and then retry the rename

gfazioli avatar Oct 15 '21 14:10 gfazioli

not able to check since bones command is not working

dev-talha-anwar avatar Apr 14 '22 14:04 dev-talha-anwar

maybe you have got an old version - did you try with the latest?

gfazioli avatar Apr 14 '22 15:04 gfazioli

I tried to run the command with latest version but now php bones command does not show any output

On Thu, Apr 14, 2022, 8:44 PM Giovambattista Fazioli < @.***> wrote:

maybe you have got an old version - did you try with the latest?

— Reply to this email directly, view it on GitHub https://github.com/wpbones/WPBones/issues/25#issuecomment-1099317118, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANLO5DOVXQSYZGI7BHBB3JLVFA4OZANCNFSM5CRLKAFQ . You are receiving this because you were mentioned.Message ID: @.***>

dev-talha-anwar avatar Apr 14 '22 16:04 dev-talha-anwar

Also bones commands are not working

On Thu, Apr 14, 2022, 9:21 PM Talha Anwar @.***> wrote:

I tried to run the command with latest version but now php bones command does not show any output

On Thu, Apr 14, 2022, 8:44 PM Giovambattista Fazioli < @.***> wrote:

maybe you have got an old version - did you try with the latest?

— Reply to this email directly, view it on GitHub https://github.com/wpbones/WPBones/issues/25#issuecomment-1099317118, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANLO5DOVXQSYZGI7BHBB3JLVFA4OZANCNFSM5CRLKAFQ . You are receiving this because you were mentioned.Message ID: @.***>

dev-talha-anwar avatar Apr 14 '22 16:04 dev-talha-anwar

command now works i am able to see the menu entries but changing the name does not change asset file name

dev-talha-anwar avatar Apr 17 '22 09:04 dev-talha-anwar

what do you mean by "asset file name" exactly? could you provide me with a complete example?

gfazioli avatar Jun 28 '22 10:06 gfazioli

@dev-talha-anwar hi, please, try to update to the latest version here https://wpbones.vercel.app/

gfazioli avatar Mar 25 '24 13:03 gfazioli

@dev-talha-anwar To participate more actively in discussions and stay updated on proposals and latest releases, I would be pleased if you joined the WP Bones community on Discord.

gfazioli avatar May 02 '24 11:05 gfazioli

@dev-talha-anwar this issue is fixed on v1.4.9

gfazioli avatar Jun 27 '24 13:06 gfazioli