Plugins_url method in the development of WordPress plugin
I use the Plugins_url () method in a PHP file to say the undefined method
But in another PHP file is not a problem, two files are in the same directory,
'?> this is no problem. This file is mixed with HTML.
Another file is a plain PHP file with no HTML. Plugins_url ('/securimage/securimage.php ', __file__); that would be an error, an undefined
-atom.php documents, if not recently modified, can skip;
3, ditto, testing functions.php documents;
4, note that the feed is cached, after the modification is completed, send an article, so that WP program to rebuild the feed, so as to see the effect;
5, if still wrong, you can try to temporarily shut down all plug-ins, replacement theme, such as one by one exclude.
All the above documents have been modified, there is no clue. So I installed a plugin
Title: WordPress wp-autoyoutube plugin Blind SQL InjectionVulnerabilityAuthor: longrifle0x www.2cto.comSoftware: Wordpress: Http://wordpress.org/extend/plugins/wp-autoyoutube/Test Tool: SQLMAPOverviewWordpress plug-in wp-autoyoutube was found to have a blind injection ProblemFile:Wp-content/plugins/wp-autoyoutube/modules/index. phpTest method: id =-1; or 1 = if*
, ibid, detection functions.php documents;
4, note that the feed is cached, after the completion of the modification, send an article, so that WP program to reconstruct the feed, so as to see the effect;
5, if still wrong, you can try to temporarily close all plug-ins, change the theme, and so on one by one.
The above documents have been modified all over again, there is no clue. So installed a plug-in "Fix Rss Feeds", enabled after the repair is done. And after the repair to delete the
NextGEN Gallery is a famous album plugin in WordPress, unfortunately does not support Unicode characters such as Chinese, this article will describe how to convert a directory to Ruby (when adding an atlas).
Take NextGen 1.6.2 as an example:
The path to "New Atlas/Picture" is: admin.php?page=nggallery-add-gallery, we find in nextgen-gallery/admin/admin.php "Nggallery-add-gallery ”,
Copy Code code as
Brief description: A vulnerability is detected in the WordPress plugin BackWPup.1.6.1 attackers can execute local or remote code on the webpage.Server. Input to the component "wp_xml_export.php" throughThe "wpabs" variable allows inclusion and execution locally or remotelyPHP files, as long as the value of "_ nonce" is well known. Value in "_ nonce"Depends on a static constant, which is not defined in the s
Cos_cache_ob_callback ($buffer) {//Here is the output buffer from WP to get content ready to write to the static fileThe following a bunch of regular expressions, not for the average person, I am the average person, so do not readBut apparently in the process of commenting on the relevant information$buffer = Preg_replace ('/( $buffer = Preg_replace ('/( $buffer = Preg_replace ('/( $buffer = Preg_replace ('/( $buffer = Preg_replace ('/( $buffer = Preg_replace ('/(Not the average person to see t
Recently colleagues are playing WP, just in passing together to see the next. She says there's a plug-in that doesn't work. is a plugin called user Access ManagerThe specific performance is to fill in the background of the corresponding roles role, the point of submission will jump to a wrong pageIt's easy to see the solution,Open wordpress/wp-content/plugins/user-access-manager/tpl/admingroup.phpApproximat
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.