пŧї http://codex.wordthai.com/index.php?title=FAQ_Developer_Documentation&feed=atom&action=history FAQ Developer Documentation - āļ›āļĢāļ°āļ§āļąāļ•āļīāļāļēāļĢāļ›āļĢāļąāļšāļ›āļĢāļļāļ‡ 2024-03-29T10:09:17Z āļ›āļĢāļ°āļ§āļąāļ•āļīāļāļēāļĢāļ›āļĢāļąāļšāļ›āļĢāļļāļ‡āļ‚āļ­āļ‡āļŦāļ™āđ‰āļēāļ™āļĩāđ‰āđƒāļ™āļ§āļīāļāļī MediaWiki 1.13.2 http://codex.wordthai.com/index.php?title=FAQ_Developer_Documentation&diff=242&oldid=prev Kazama āđ€āļĄāļ·āđˆāļ­ 03:28, 7 āļ•āļļāļĨāļēāļ„āļĄ 2554 2011-10-07T03:28:03Z <p></p> <table style="background-color: white; color:black;"> <col class='diff-marker' /> <col class='diff-content' /> <col class='diff-marker' /> <col class='diff-content' /> <tr valign='top'> <td colspan='2' style="background-color: white; color:black;">←āļĢāļļāđˆāļ™āļāđˆāļ­āļ™āļŦāļ™āđ‰āļē</td> <td colspan='2' style="background-color: white; color:black;">āļāļēāļĢāļ›āļĢāļąāļšāļ›āļĢāļļāļ‡ āđ€āļĄāļ·āđˆāļ­ 03:28, 7 āļ•āļļāļĨāļēāļ„āļĄ 2554</td> </tr> <tr><td colspan="2" class="diff-lineno">āđāļ–āļ§ 1:</td> <td colspan="2" class="diff-lineno">āđāļ–āļ§ 1:</td></tr> <tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div>[[<del class="diffchange diffchange-inline">FAQ</del>|<del class="diffchange diffchange-inline">Back to </del>FAQ]]</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>[[<ins class="diffchange diffchange-inline">F_A_Q</ins>|<ins class="diffchange diffchange-inline">āļāļĨāļąāļšāđ„āļ›āļ—āļĩāđˆ </ins>FAQ]]</div></td></tr> <tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>__TOC__</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>__TOC__</div></td></tr> <tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr> <!-- diff generator: internal 2024-03-29 10:09:17 --> </table> Kazama http://codex.wordthai.com/index.php?title=FAQ_Developer_Documentation&diff=241&oldid=prev Kazama: āļŠāļĢāđ‰āļēāļ‡āļŦāļ™āđ‰āļēāđƒāļŦāļĄāđˆ: Back to FAQ __TOC__ This article lists common questions for WordPress core developers, as well as developers of WordPress plugins and themes, and re... 2011-10-07T03:26:58Z <p>āļŠāļĢāđ‰āļēāļ‡āļŦāļ™āđ‰āļēāđƒāļŦāļĄāđˆ: <a href="/FAQ" title="FAQ">Back to FAQ</a> __TOC__ This article lists common questions for WordPress core developers, as well as developers of WordPress plugins and themes, and re...</p> <p><b>āļŦāļ™āđ‰āļēāđƒāļŦāļĄāđˆ</b></p><div>[[FAQ|Back to FAQ]]<br /> __TOC__<br /> <br /> This article lists common questions for WordPress core developers, as well as developers of WordPress plugins and themes, and refers you to articles that contain the answers. There is also a list of resources at [[Developer Documentation]], which might be of help.<br /> <br /> ==How To Contribute to WordPress==<br /> <br /> ===Where do I sign up?===<br /> <br /> Check out [[Contributing to WordPress]] to find out what you can do and how to get involved.<br /> <br /> ===How do I submit a bug report?===<br /> <br /> See [[Reporting Bugs]].<br /> <br /> ===How does code make it into WordPress?===<br /> See [[How does code make it into WordPress]].<br /> <br /> ===Are there standards for the code in WordPress?===<br /> <br /> Yes. [[WordPress Coding Standards]] has a list of coding standards used by WordPress core developers, plugin developers, and theme authors.<br /> <br /> ===Can I help by translating WordPress?===<br /> Definitely! See [[WordPress in Your Language]] for information on existing translations, and [[Translating WordPress]] to find out how you can help if your language's translation is missing or needs improvement.<br /> <br /> ===What is Subversion?===<br /> Subversion is the online program used to track changes and upgrades to WordPress for developers. See [[Using Subversion]] for more information. There is also an [http://trac.wordpress.org/browser/ online browser for the WordPress Subversion repository].<br /> <br /> ==Plugins and Themes==<br /> <br /> ===How do I report a bug in a plugin?===<br /> Problems with plugins are best reported to the plugin author (visit the plugin's home page to find out how to contact the author). For plugins that are included in the [http://dev.wp-plugins.org/wiki/PluginDirectory wp-plugins.org Plugin Repository], you can also report bugs in the [http://dev.wp-plugins.org/wiki/TracTickets wp-plugins.org TrackTickets] site.<br /> <br /> ===Is there a list of plugins?===<br /> Yes, there are several. [[Plugins]] has the most comprehensive list of plugin repositories. <br /> <br /> ===How do I write a plugin?===<br /> Basic instructions on how to write a plugin for WordPress can be found in [[Writing a Plugin]]. The API of &quot;Hooks&quot; for plugins is described in [[Plugin API]]. There is also a comprehensive list of other plugin resources in [[Plugin Resources]].<br /> <br /> ===How do I create a theme?===<br /> See [[Theme Development]] for an introduction, and [[Templates]] for a list of resources. <br /> <br /> ==Other Developer Questions==<br /> <br /> ===Does WordPress use cookies?===<br /> Yes. See [[WordPress Cookies]].<br /> <br /> ===How does the fact that WordPress is GPL'd affects my freedom in licensing my plugin or theme?===<br /> <br /> Most plugin and theme authors choose to license their plugins and themes under the GPL. Also, keep in mind that if your theme or plugin incorporates code from another theme or plugin that uses the GPL, you will probably need to license your theme or plugin with the GPL as well. If your theme or plugin is completely independent of other WordPress code, themes, and plugins, then you can probably license it however you would like.<br /> <br /> ===Where can I find information about the WordPress database?===<br /> See [[Database Description]].<br /> <br /> ===Why does WordPress only support MySQL? What about DB abstraction?===<br /> <br /> While in theory supporting more databases is better than supporting one, in practice focusing on MySQL has a number of benefits.<br /> <br /> First, introducing support for databases other than MySQL would increase the testing load for all development quite a bit, as already the combinations of PHP versions, web servers like Apache, Lighttpd, and IIS, and Windows vs Linux cause a number of issues, multiplying that by an arbitrary number of database platforms is daunting.<br /> <br /> Early on in WordPress' history when DB abstraction was seriously considered we noticed packages like AdoDB were bigger than WordPress itself, which seemed like a lot of weight for little gain.<br /> <br /> DB independence also requires far more than just dropping in a DB abstraction class, as basic assumptions WP makes about things like primary keys, indicies, auto incrementing fields, LIMITs, and more vary more from DB to DB than a class could support without serious code changes.<br /> <br /> Finally, MySQL is ubiquitous and has shown to be fast enough and scalable enough for the highest traffic loads, so supporting other DBs would not improve the WordPress experience or our popularity much. As a feature request it comes up fairly infrequently.<br /> <br /> All that said, every query in WordPress goes through a class called wpdb and that class can be replaced with your own by putting a db.php file in wp-content. So far this has been used for mysqli support and an advanced enterprise DB class called HyperDB, but in theory you could use that, and some wicked regular expressions, to add support for a MySQL-like database without any core code modifications.<br /> <br /> ===Where can information on functions used in WordPress code be found?===<br /> Functions are listed in [[Function Reference]] and [http://codex.wordpress.org/Category:Functions Category:Functions].<br /> <br /> Hooks are provided at http://wphooks.flatearth.org<br /> <br /> A complete overview of all documented code can be found at [http://phpxref.com/xref/wordpress/ PHPXref.com]<br /> <br /> [[FAQ|Back to FAQ]]<br /> <br /> [[Category:WordPress Development]]<br /> [[Category:Advanced Topics]]<br /> [[Category:WordPress Help]]</div> Kazama