Updated phpdoc for the theme preview code.

git-svn-id: http://svn.automattic.com/wordpress/trunk@11959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2009-09-22 07:16:19 +00:00
parent a131ad469e
commit 7b54e813b5
1 changed files with 9 additions and 3 deletions

View File

@ -872,7 +872,7 @@ function locale_stylesheet() {
* Will only preform task if the user has permissions and template and preview * Will only preform task if the user has permissions and template and preview
* query variables exist. * query variables exist.
* *
* @since 2.5.0 * @since 2.6.0
*/ */
function preview_theme() { function preview_theme() {
if ( ! (isset($_GET['template']) && isset($_GET['preview'])) ) if ( ! (isset($_GET['template']) && isset($_GET['preview'])) )
@ -905,6 +905,9 @@ add_action('setup_theme', 'preview_theme');
/** /**
* Private function to modify the current template when previewing a theme * Private function to modify the current template when previewing a theme
* *
* @since 2.9.0
* @access private
*
* @return string * @return string
*/ */
function _preview_theme_template_filter() { function _preview_theme_template_filter() {
@ -914,6 +917,9 @@ function _preview_theme_template_filter() {
/** /**
* Private function to modify the current stylesheet when previewing a theme * Private function to modify the current stylesheet when previewing a theme
* *
* @since 2.9.0
* @access private
*
* @return string * @return string
*/ */
function _preview_theme_stylesheet_filter() { function _preview_theme_stylesheet_filter() {
@ -923,7 +929,7 @@ function _preview_theme_stylesheet_filter() {
/** /**
* Callback function for ob_start() to capture all links in the theme. * Callback function for ob_start() to capture all links in the theme.
* *
* @since unknown * @since 2.6.0
* @access private * @access private
* *
* @param string $content * @param string $content
@ -938,7 +944,7 @@ function preview_theme_ob_filter( $content ) {
* *
* Callback function for preg_replace_callback() to accept and filter matches. * Callback function for preg_replace_callback() to accept and filter matches.
* *
* @since unknown * @since 2.6.0
* @access private * @access private
* *
* @param array $matches * @param array $matches