值得一提的是,如果您正在实现自己的$_POST/GET
变量,确保避免与内置WordPress变量冲突:
array(
\'m\',
\'p\',
\'posts\',
\'w\',
\'cat\',
\'withcomments\',
\'withoutcomments\',
\'s\',
\'search\',
\'exact\',
\'sentence\',
\'calendar\',
\'page\',
\'paged\',
\'more\',
\'tb\',
\'pb\',
\'author\',
\'order\',
\'orderby\',
\'year\',
\'monthnum\',
\'day\',
\'hour\',
\'minute\',
\'second\',
\'name\',
\'category_name\',
\'tag\',
\'feed\',
\'author_name\',
\'static\',
\'pagename\',
\'page_id\',
\'error\',
\'comments_popup\',
\'attachment\',
\'attachment_id\',
\'subpost\',
\'subpost_id\',
\'preview\',
\'robots\',
\'taxonomy\',
\'term\',
\'cpage\',
\'post_type\',
\'post_format\',
)