| Current Path : /home/x/b/o/xbodynamge/namtation/wp-content/ |
| Current File : /home/x/b/o/xbodynamge/namtation/wp-content/author-not-built-exception.php.tar |
www/wp-content/plugins/wordpress-seo/src/exceptions/indexable/author-not-built-exception.php 0000644 00000003243 15112124443 0031615 0 ustar 00 home/xbodynamge <?php
namespace Yoast\WP\SEO\Exceptions\Indexable;
/**
* For when an author indexable is not being built.
*/
class Author_Not_Built_Exception extends Not_Built_Exception {
/**
* Named constructor for creating an Author_Not_Built_Exception
* when author archives are disabled for users without posts.
*
* @param string $user_id The user id.
*
* @return Author_Not_Built_Exception The exception.
*/
public static function author_archives_are_not_indexed_for_users_without_posts( $user_id ) {
return new Author_Not_Built_Exception(
'Indexable for author with id ' . $user_id . ' is not being built, since author archives are not indexed for users without posts.'
);
}
/**
* Named constructor for creating an Author_Not_Built_Exception
* when author archives are disabled.
*
* @param string $user_id The user id.
*
* @return Author_Not_Built_Exception The exception.
*/
public static function author_archives_are_disabled( $user_id ) {
return new Author_Not_Built_Exception(
'Indexable for author with id ' . $user_id . ' is not being built, since author archives are disabled.'
);
}
/**
* Named constructor for creating an Author_Not_Build_Exception
* when an author is excluded because of the `'wpseo_should_build_and_save_user_indexable'` filter.
*
* @param string $user_id The user id.
*
* @return Author_Not_Built_Exception The exception.
*/
public static function author_not_built_because_of_filter( $user_id ) {
return new Author_Not_Built_Exception(
'Indexable for author with id ' . $user_id . ' is not being built, since it is excluded because of the \'wpseo_should_build_and_save_user_indexable\' filter.'
);
}
}
wp-content/plugins/wordpress-seo/src/exceptions/indexable/author-not-built-exception.php 0000644 00000003243 15114077562 0033671 0 ustar 00 home/xbodynamge/crosstraining <?php
namespace Yoast\WP\SEO\Exceptions\Indexable;
/**
* For when an author indexable is not being built.
*/
class Author_Not_Built_Exception extends Not_Built_Exception {
/**
* Named constructor for creating an Author_Not_Built_Exception
* when author archives are disabled for users without posts.
*
* @param string $user_id The user id.
*
* @return Author_Not_Built_Exception The exception.
*/
public static function author_archives_are_not_indexed_for_users_without_posts( $user_id ) {
return new Author_Not_Built_Exception(
'Indexable for author with id ' . $user_id . ' is not being built, since author archives are not indexed for users without posts.'
);
}
/**
* Named constructor for creating an Author_Not_Built_Exception
* when author archives are disabled.
*
* @param string $user_id The user id.
*
* @return Author_Not_Built_Exception The exception.
*/
public static function author_archives_are_disabled( $user_id ) {
return new Author_Not_Built_Exception(
'Indexable for author with id ' . $user_id . ' is not being built, since author archives are disabled.'
);
}
/**
* Named constructor for creating an Author_Not_Build_Exception
* when an author is excluded because of the `'wpseo_should_build_and_save_user_indexable'` filter.
*
* @param string $user_id The user id.
*
* @return Author_Not_Built_Exception The exception.
*/
public static function author_not_built_because_of_filter( $user_id ) {
return new Author_Not_Built_Exception(
'Indexable for author with id ' . $user_id . ' is not being built, since it is excluded because of the \'wpseo_should_build_and_save_user_indexable\' filter.'
);
}
}
wp-content/plugins/wordpress-seo/src/exceptions/indexable/author-not-built-exception.php 0000644 00000003243 15114251152 0033451 0 ustar 00 home/xbodynamge/lebauwcentre <?php
namespace Yoast\WP\SEO\Exceptions\Indexable;
/**
* For when an author indexable is not being built.
*/
class Author_Not_Built_Exception extends Not_Built_Exception {
/**
* Named constructor for creating an Author_Not_Built_Exception
* when author archives are disabled for users without posts.
*
* @param string $user_id The user id.
*
* @return Author_Not_Built_Exception The exception.
*/
public static function author_archives_are_not_indexed_for_users_without_posts( $user_id ) {
return new Author_Not_Built_Exception(
'Indexable for author with id ' . $user_id . ' is not being built, since author archives are not indexed for users without posts.'
);
}
/**
* Named constructor for creating an Author_Not_Built_Exception
* when author archives are disabled.
*
* @param string $user_id The user id.
*
* @return Author_Not_Built_Exception The exception.
*/
public static function author_archives_are_disabled( $user_id ) {
return new Author_Not_Built_Exception(
'Indexable for author with id ' . $user_id . ' is not being built, since author archives are disabled.'
);
}
/**
* Named constructor for creating an Author_Not_Build_Exception
* when an author is excluded because of the `'wpseo_should_build_and_save_user_indexable'` filter.
*
* @param string $user_id The user id.
*
* @return Author_Not_Built_Exception The exception.
*/
public static function author_not_built_because_of_filter( $user_id ) {
return new Author_Not_Built_Exception(
'Indexable for author with id ' . $user_id . ' is not being built, since it is excluded because of the \'wpseo_should_build_and_save_user_indexable\' filter.'
);
}
}
namtation/wp-content/plugins/wordpress-seo/src/exceptions/indexable/author-not-built-exception.php 0000644 00000003243 15114415071 0032765 0 ustar 00 home/xbodynamge <?php
namespace Yoast\WP\SEO\Exceptions\Indexable;
/**
* For when an author indexable is not being built.
*/
class Author_Not_Built_Exception extends Not_Built_Exception {
/**
* Named constructor for creating an Author_Not_Built_Exception
* when author archives are disabled for users without posts.
*
* @param string $user_id The user id.
*
* @return Author_Not_Built_Exception The exception.
*/
public static function author_archives_are_not_indexed_for_users_without_posts( $user_id ) {
return new Author_Not_Built_Exception(
'Indexable for author with id ' . $user_id . ' is not being built, since author archives are not indexed for users without posts.'
);
}
/**
* Named constructor for creating an Author_Not_Built_Exception
* when author archives are disabled.
*
* @param string $user_id The user id.
*
* @return Author_Not_Built_Exception The exception.
*/
public static function author_archives_are_disabled( $user_id ) {
return new Author_Not_Built_Exception(
'Indexable for author with id ' . $user_id . ' is not being built, since author archives are disabled.'
);
}
/**
* Named constructor for creating an Author_Not_Build_Exception
* when an author is excluded because of the `'wpseo_should_build_and_save_user_indexable'` filter.
*
* @param string $user_id The user id.
*
* @return Author_Not_Built_Exception The exception.
*/
public static function author_not_built_because_of_filter( $user_id ) {
return new Author_Not_Built_Exception(
'Indexable for author with id ' . $user_id . ' is not being built, since it is excluded because of the \'wpseo_should_build_and_save_user_indexable\' filter.'
);
}
}