This website requires JavaScript.
Explore
Help
Register
Sign In
sergiotarxz
/
Wordpress
Watch
1
Star
0
Fork
0
You've already forked Wordpress
Code
Issues
Pull Requests
Releases
Wiki
Activity
4f6eee8e72
Wordpress
/
tests
/
phpunit
/
data
/
themedir1
/
theme1
/
functions.php
8 lines
69 B
PHP
Raw
Normal View
History
Unescape
Escape
Initial import of unit-tests repository into develop.svn.wordpress.org. Imported from https://unit-tests.svn.wordpress.org/trunk@1337 see #24976. git-svn-id: https://develop.svn.wordpress.org/trunk@25002 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-07 08:38:38 +02:00
<
?
php
Docs: Improve inline comments per the documentation standards. Includes minor code layout fixes for better readability. See #48303. git-svn-id: https://develop.svn.wordpress.org/trunk@47122 602fd350-edb4-49c9-b593-d223f7449a82
2020-01-29 01:43:23 +01:00
// Dummy theme.
Initial import of unit-tests repository into develop.svn.wordpress.org. Imported from https://unit-tests.svn.wordpress.org/trunk@1337 see #24976. git-svn-id: https://develop.svn.wordpress.org/trunk@25002 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-07 08:38:38 +02:00
Code Modernization: Replace `dirname( __FILE__ )` calls with `__DIR__` magic constant. This avoids the performance overhead of the function call every time `dirname( __FILE__ )` was used instead of `__DIR__`. This commit also includes: * Removing unnecessary parentheses from `include`/`require` statements. These are language constructs, not function calls. * Replacing `include` statements for several files with `require_once`, for consistency: * `wp-admin/admin-header.php` * `wp-admin/admin-footer.php` * `wp-includes/version.php` Props ayeshrajans, desrosj, valentinbora, jrf, joostdevalk, netweb. Fixes #48082. git-svn-id: https://develop.svn.wordpress.org/trunk@47198 602fd350-edb4-49c9-b593-d223f7449a82
2020-02-06 07:31:22 +01:00
echo
__DIR__
.
'/'
.
basename
(
__FILE__
);
Initial import of unit-tests repository into develop.svn.wordpress.org. Imported from https://unit-tests.svn.wordpress.org/trunk@1337 see #24976. git-svn-id: https://develop.svn.wordpress.org/trunk@25002 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-07 08:38:38 +02:00
?>
Reference in New Issue
Copy Permalink