diff --git a/includes/pager.inc b/includes/pager.inc
index 146033f..eb023a8 100644
--- a/includes/pager.inc
+++ b/includes/pager.inc
@@ -445,6 +445,8 @@ function theme_pager($variables) {
  *     one page.
  *   - parameters: An associative array of query string parameters to append to
  *     the pager links.
+ *   - attributes: An associative array of HTML attributes to apply to a pager
+ *     anchor tag.
  *
  * @ingroup themeable
  */
@@ -452,12 +454,13 @@ function theme_pager_first($variables) {
   $text = $variables['text'];
   $element = $variables['element'];
   $parameters = $variables['parameters'];
+  $attributes = $variables['attributes'];
   global $pager_page_array;
   $output = '';
 
   // If we are anywhere but the first page
   if ($pager_page_array[$element] > 0) {
-    $output = theme('pager_link', array('text' => $text, 'page_new' => pager_load_array(0, $element, $pager_page_array), 'element' => $element, 'parameters' => $parameters));
+    $output = theme('pager_link', array('text' => $text, 'page_new' => pager_load_array(0, $element, $pager_page_array), 'element' => $element, 'parameters' => $parameters, 'attributes' => $attributes));
   }
 
   return $output;
@@ -474,6 +477,8 @@ function theme_pager_first($variables) {
  *   - interval: The number of pages to move backward when the link is clicked.
  *   - parameters: An associative array of query string parameters to append to
  *     the pager links.
+ *   - attributes: An associative array of HTML attributes to apply to a pager
+ *     anchor tag.
  *
  * @ingroup themeable
  */
@@ -482,6 +487,7 @@ function theme_pager_previous($variables) {
   $element = $variables['element'];
   $interval = $variables['interval'];
   $parameters = $variables['parameters'];
+  $attributes = $variables['attributes'];
   global $pager_page_array;
   $output = '';
 
@@ -491,11 +497,11 @@ function theme_pager_previous($variables) {
 
     // If the previous page is the first page, mark the link as such.
     if ($page_new[$element] == 0) {
-      $output = theme('pager_first', array('text' => $text, 'element' => $element, 'parameters' => $parameters));
+      $output = theme('pager_first', array('text' => $text, 'element' => $element, 'parameters' => $parameters, 'attributes' => $attributes));
     }
     // The previous page is not the first page.
     else {
-      $output = theme('pager_link', array('text' => $text, 'page_new' => $page_new, 'element' => $element, 'parameters' => $parameters));
+      $output = theme('pager_link', array('text' => $text, 'page_new' => $page_new, 'element' => $element, 'parameters' => $parameters, 'attributes' => $attributes));
     }
   }
 
@@ -513,6 +519,8 @@ function theme_pager_previous($variables) {
  *   - interval: The number of pages to move forward when the link is clicked.
  *   - parameters: An associative array of query string parameters to append to
  *     the pager links.
+ *   - attributes: An associative array of HTML attributes to apply to a pager
+ *     anchor tag.
  *
  * @ingroup themeable
  */
@@ -521,6 +529,7 @@ function theme_pager_next($variables) {
   $element = $variables['element'];
   $interval = $variables['interval'];
   $parameters = $variables['parameters'];
+  $attributes = $variables['attributes'];
   global $pager_page_array, $pager_total;
   $output = '';
 
@@ -529,11 +538,11 @@ function theme_pager_next($variables) {
     $page_new = pager_load_array($pager_page_array[$element] + $interval, $element, $pager_page_array);
     // If the next page is the last page, mark the link as such.
     if ($page_new[$element] == ($pager_total[$element] - 1)) {
-      $output = theme('pager_last', array('text' => $text, 'element' => $element, 'parameters' => $parameters));
+      $output = theme('pager_last', array('text' => $text, 'element' => $element, 'parameters' => $parameters, 'attributes' => $attributes));
     }
     // The next page is not the last page.
     else {
-      $output = theme('pager_link', array('text' => $text, 'page_new' => $page_new, 'element' => $element, 'parameters' => $parameters));
+      $output = theme('pager_link', array('text' => $text, 'page_new' => $page_new, 'element' => $element, 'parameters' => $parameters, 'attributes' => $attributes));
     }
   }
 
@@ -550,6 +559,8 @@ function theme_pager_next($variables) {
  *     one page.
  *   - parameters: An associative array of query string parameters to append to
  *     the pager links.
+ *   - attributes: An associative array of HTML attributes to apply to a pager
+ *     anchor tag.
  *
  * @ingroup themeable
  */
@@ -557,12 +568,13 @@ function theme_pager_last($variables) {
   $text = $variables['text'];
   $element = $variables['element'];
   $parameters = $variables['parameters'];
+  $attributes = $variables['attributes'];
   global $pager_page_array, $pager_total;
   $output = '';
 
   // If we are anywhere but the last page
   if ($pager_page_array[$element] < ($pager_total[$element] - 1)) {
-    $output = theme('pager_link', array('text' => $text, 'page_new' => pager_load_array($pager_total[$element] - 1, $element, $pager_page_array), 'element' => $element, 'parameters' => $parameters));
+    $output = theme('pager_link', array('text' => $text, 'page_new' => pager_load_array($pager_total[$element] - 1, $element, $pager_page_array), 'element' => $element, 'parameters' => $parameters, 'attributes' => $attributes));
   }
 
   return $output;
