search
HomeBackend DevelopmentPHP Tutorial最近在玩WordPress,想把主题底部“自豪的采用WordPress去掉”?

回复内容:

首先,版权信息留着比删掉好。
下面回答问题
最近在玩WordPress,想把主题底部“自豪的采用WordPress去掉”?题主你保存了吗?
我找到了这个主题,注释掉这一句就没有这句信息了。

猜测没有保存成功,是不是文件权限有问题?
如果是用的云引擎,是需要重新上传文件部署应用才行,不然文件会被回滚。
//===
原作者在这里,你可以去问他
iMuFeng/maupassant · GitHub
github.com/iMuFeng 这么伟大的一个程序,别去掉啦 出于美观的目的去掉也无妨啊,其实只要代码里面保留了就好了。
出于安全的目的一般都是会去掉的。 这种事儿,没有对与错,是一个态度的问题。
在数年前,也就是我刚开始学编程的时候,常常用一些开源程序。每次拿到源代码的第一件事就是去掉他们的版权信息,然后换个模版,功能上做个修改,增删。那个时候应付别人要求做个网站就是这样。我需要让别人看到我是有这个能力的。而对于技术本身是很不自信的。
后来随着学习的深入,我发现我需要越来越多的用到别人的劳动成果,同时我也不断分享自己的代码。这是一个良性的循环,带给了我巨大的成长。这个时候更加注意的是我所做的工作对自己的成长到底有什么用?而对于版权声明信息也越发的觉得这是开发者无需说明也应该被尊重的。
开源,是精神。需要人与人之间的相互尊重。
题主所问的和抄袭文章并且不署名原作者一样不要脸。别说什么开源就不需要声明,只是在法律上不会追究而已。这是一种态度而已。 你去掉了,我还是一眼能看出来你用的是wordpress何必呢。。 我个人认为这个如果你确实需要界面干净,去掉无所谓,虽然wordpress是免费的,但你使用了你就是客户,你有权去掉它。
##后来发现大家都太能装X了,为什么这么说呢?题主只是想去掉自己网站的下边一个很小很小的一行字,不知为何引起大家的轩然大波,被各种指责下三滥,无耻,自黑,这就好比别人请人在院子里放了一座雕塑,雕塑底座上写着“XXX记”,人家自己看着不喜欢,就去掉了,管你毛事儿啊,你冲进去指手画脚,大肆宣讲你那套自己都不清楚的理论?省省吧。
再说,wordpress开源都没说什么,你一个看客反而义愤填膺,这不吃饱了撑的?! 留版权实在装十三。
如果不是商业用途,仅仅是自己好恶,就喜欢简洁的页面,去掉版权标记又何妨。
只要你真的爱 WP ,愿意学到技术,愿意创造有价值的内容。
对了,主要是自己能够开心。
试问,哪些保留版权的,是你内心如此,还是看到别人也这样?
试问,友情链接算不算保留,在解释页面提到算不算保留?
既然一眼能够看出,那干嘛还要使用默认的保留方式?
根本不需要保留,查看源码不是很清楚么?
WP 的开源精神都被你们理解成啥样了? 默认的主题版权信息是在PHP的foot.php或者index.html里面文件里很容易修改,像我懂一点php就行(如果我没有记错的话)
不同主题会有不成程度的保护措施,我用过一个主题,找到了那个版权信息,删了,结果其他的php文件有个验证措施,如果找不到这个版权信息就会出错,累及其他页面,而找到这个验证代码就是在纯php文件里面慢慢找了,firebug对这个没啥用,一个主题十几个php文件,不值当花那么多时间,而且很麻烦,那版权信息就索性留着吧。 vimgrep /❴footer-id❵/ ** 最近在玩typecho,看见footer里没有"由typecho强力驱动",自己改了加上去这句了
( •ิ_• ิ)
Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
What data can be stored in a PHP session?What data can be stored in a PHP session?May 02, 2025 am 12:17 AM

PHPsessionscanstorestrings,numbers,arrays,andobjects.1.Strings:textdatalikeusernames.2.Numbers:integersorfloatsforcounters.3.Arrays:listslikeshoppingcarts.4.Objects:complexstructuresthatareserialized.

How do you start a PHP session?How do you start a PHP session?May 02, 2025 am 12:16 AM

TostartaPHPsession,usesession_start()atthescript'sbeginning.1)Placeitbeforeanyoutputtosetthesessioncookie.2)Usesessionsforuserdatalikeloginstatusorshoppingcarts.3)RegeneratesessionIDstopreventfixationattacks.4)Considerusingadatabaseforsessionstoragei

What is session regeneration, and how does it improve security?What is session regeneration, and how does it improve security?May 02, 2025 am 12:15 AM

Session regeneration refers to generating a new session ID and invalidating the old ID when the user performs sensitive operations in case of session fixed attacks. The implementation steps include: 1. Detect sensitive operations, 2. Generate new session ID, 3. Destroy old session ID, 4. Update user-side session information.

What are some performance considerations when using PHP sessions?What are some performance considerations when using PHP sessions?May 02, 2025 am 12:11 AM

PHP sessions have a significant impact on application performance. Optimization methods include: 1. Use a database to store session data to improve response speed; 2. Reduce the use of session data and only store necessary information; 3. Use a non-blocking session processor to improve concurrency capabilities; 4. Adjust the session expiration time to balance user experience and server burden; 5. Use persistent sessions to reduce the number of data read and write times.

How do PHP sessions differ from cookies?How do PHP sessions differ from cookies?May 02, 2025 am 12:03 AM

PHPsessionsareserver-side,whilecookiesareclient-side.1)Sessionsstoredataontheserver,aremoresecure,andhandlelargerdata.2)Cookiesstoredataontheclient,arelesssecure,andlimitedinsize.Usesessionsforsensitivedataandcookiesfornon-sensitive,client-sidedata.

How does PHP identify a user's session?How does PHP identify a user's session?May 01, 2025 am 12:23 AM

PHPidentifiesauser'ssessionusingsessioncookiesandsessionIDs.1)Whensession_start()iscalled,PHPgeneratesauniquesessionIDstoredinacookienamedPHPSESSIDontheuser'sbrowser.2)ThisIDallowsPHPtoretrievesessiondatafromtheserver.

What are some best practices for securing PHP sessions?What are some best practices for securing PHP sessions?May 01, 2025 am 12:22 AM

The security of PHP sessions can be achieved through the following measures: 1. Use session_regenerate_id() to regenerate the session ID when the user logs in or is an important operation. 2. Encrypt the transmission session ID through the HTTPS protocol. 3. Use session_save_path() to specify the secure directory to store session data and set permissions correctly.

Where are PHP session files stored by default?Where are PHP session files stored by default?May 01, 2025 am 12:15 AM

PHPsessionfilesarestoredinthedirectoryspecifiedbysession.save_path,typically/tmponUnix-likesystemsorC:\Windows\TemponWindows.Tocustomizethis:1)Usesession_save_path()tosetacustomdirectory,ensuringit'swritable;2)Verifythecustomdirectoryexistsandiswrita

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.