סקירה
מדריך זה עוסק ב־אבטחת וורדפרס ומספק פתרון מלא.
קוד PHP
// Disable XML-RPC
קוד JavaScript להדגמה
document.addEventListener('click',function(e){
if(e.target.classList.contains('copy-btn')){
const id=e.target.dataset.target;
const txt=document.getElementById(id).innerText;
navigator.clipboard.writeText(txt).then(()=>{
e.target.textContent='הועתק!';
setTimeout(()=>e.target.textContent='העתק קוד',1500);
});
}
});
שלבים
- הדבק את קוד ה‑PHP בפלאגין קסטום.
- טען את
copy-code.jsלפי ההנחיות. - נקה מטמון וודא שהשינוי פעיל.
כלים מומלצים
📊 נתוני צפיות
סה"כ צפיות: 18
מבקרים ייחודיים: 18
- 🧍 172.68.245.164 (
United States) - 🧍 162.158.187.34 (
United States) - 🧍 172.70.134.106 (
United States) - 🧍 104.23.211.174 (
United States) - 🧍 172.71.195.27 (
United States) - 🧍 172.70.206.216 (
United States) - 🧍 172.71.194.66 (
United States) - 🧍 108.162.245.123 (
United States) - 🧍 172.70.39.68 (
United States) - 🧍 104.23.170.167 (
Netherlands) - 🧍 172.69.214.159 (
Canada) - 🧍 172.71.190.21 (
United States) - 🧍 172.71.222.124 (
United States) - 🧍 172.70.42.207 (
United States) - 🧍 172.68.245.4 (
United States) - 🧍 104.23.209.47 (
United States) - 🧍 172.71.223.67 (
United States) - 🧍 172.71.254.14 (
United States)
United States)
Netherlands)
Canada)